snaaps
Verified User
Hello,
After a server crash I installed a new server and now I can not restore one account because a mysql problem:
Well, now i have extract the user.reseller.user.tar.gz and i have edit the
/bacup/user_database.sql file.
now i want to archive it again to user.reseller.user.tar.gz, but i dont no how?
i used:
tar cvf user.reseller.user.tar.gz /home/admin/admin_backups/backup_user/*
But, the user.reseller.user.tar.gz is verry big, and it can be extract, it will give the error:
How do retar it again so i can run the backup restore function in directadmin?
After a server crash I installed a new server and now I can not restore one account because a mysql problem:
PHP:
Unable to restore database user_databaseuser.sql to user_databse : ERROR 1064 (42000) at line 1234 in file: '/home/user/backups/backup/user_database.sql': You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'BTREE (`key_id`),
UNIQUE KEY `uniq_key` (`app_id`,`app_key`)
) ENGINE=MyISAM D' at line 10
Well, now i have extract the user.reseller.user.tar.gz and i have edit the
/bacup/user_database.sql file.
now i want to archive it again to user.reseller.user.tar.gz, but i dont no how?
i used:
tar cvf user.reseller.user.tar.gz /home/admin/admin_backups/backup_user/*
But, the user.reseller.user.tar.gz is verry big, and it can be extract, it will give the error:
PHP:
gzip: stdin: not in gzip format
/bin/tar: Child returned status 1
/bin/tar: Error exit delayed from previous errors
How do retar it again so i can run the backup restore function in directadmin?