Hi First of all excellent job I have been using this to back up for just over 1 month now and all has been well.
I needed to use it today after I made a silly command on my vps and had to reinstall. and its really saved my bacon!
Originally Posted by Nimarda
I have Debian Lenny, and when I try to restore a database i get:
./backup-res.sh: line 493: tar: No such file or directory
I execute the backup-res script like:
./backup-res.sh db c12manit 2010-07-04
When i execute the mysql command from de commandline:
mysql -u***** -p**** c12manit < tar -xvjf /backups/backupvps/2010-07/db-c12manit-2010-07-04.tar.bz2
I get the same error.
-bash: tar: No such file or directory
What i'm doing wrong?
And when restoring a directory, newly created files which are not in the backup, still be there when the restoring is completed.
Why is that?
I am also using debian lenny with ispconfig and got the same error even though tar is all ready installed. I tried editing the affected line with the full path to tar and then it failed with
mysql: unknown option '-x'
I have managed to restore my system by manually unpacking the .tar.bz2 and importing them into mysql manually so all is well although it would be nice to find out what the problem is and help to get it fixed.
./back-res dir all 2010-09-01 /
Extracting all dir's backup from date 2010-09-01 to /:
find: `//all': No such file or directory
although it worked just fine when I restored each dir one by one
edit: I am using 0.9.3 with the mail fix from http://www.howtoforge.com/forums/sho...6&postcount=48