[Users] vzpbackup.sh - vzprestore.sh - cannot access dump

Andreas Faerber openvz at maeh.org
Tue Oct 22 14:14:32 PDT 2013


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



> Rene C. <mailto:openvz at dokbua.com>
> 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 at openvz.org
> https://lists.openvz.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/users/attachments/20131022/df303d3a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compose-unknown-contact.jpg
Type: image/jpeg
Size: 770 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/users/attachments/20131022/df303d3a/attachment.jpg>


More information about the Users mailing list