Greetings Rene,

looks like there is an ls command too much in the script. Try deleting the "ls -la $DUMPFILE" in line 174 of vzprestore. However, that should not break things. Could you give it a try deleting that line (or pulling from github) and try again? Let me know the output, please.

If it still dies, please send me the output of "sh -xv vzprestore.sh ARGS".

Regards,
Andreas



19. Oktober 2013 12:17
I was checking out the vzpbackup/restore scripts from
https://github.com/andreasfaerber but ran into some errors. Was
wondering if anyone else have noticed this:

First I ran the backup, apparently completed fine, and copied to a new
server where I ran the restore, but it died with this

.....
./dump/
./dump/{6373ae50-9805-4ebc-af4f-eb23d98c6c20}.ve.conf
./vzpbackup_snapshot
BACKUP_ID: 6373ae50-9805-4ebc-af4f-eb23d98c6c20
SRC VE CONF: dump/{6373ae50-9805-4ebc-af4f-eb23d98c6c20}.ve.conf
DUMPFILE: dump/{6373ae50-9805-4ebc-af4f-eb23d98c6c20}
ls: cannot access dump/{6373ae50-9805-4ebc-af4f-eb23d98c6c20}: No such
file or directory

The .tar backup file only has the
{6373ae50-9805-4ebc-af4f-eb23d98c6c20}.ve.conf file in the dump
directory.

Is this a bug or did I make a mistake somewhere? I essentially ran
the script as-is, with corrections for different path's used. Other
than this error I didnt' get any errors from the backup or restore
scripts.
_______________________________________________
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users
_______________________________________________
Users mailing list
Users@openvz.org
https://lists.openvz.org/mailman/listinfo/users

Reply via email to