OpenVZ Forum


Home » General » Support » Urgent/important vzdump error
Urgent/important vzdump error [message #37702] Mon, 12 October 2009 09:19 Go to next message
pilpelet is currently offline  pilpelet
Messages: 25
Registered: October 2006
Junior Member
Hi ,
We cant backup few VE's with this errors , some VE's backup ok it just those 2 VE's that thru the errors , it a big problem for us not beeing able to backup up those VE's :

Error example :

> vzdump --compress --dumpdir /mnt/backup/vds/virt3 201 --exclude-path /tmp/void/null/
INFO: starting backup for VPS 201 (/vz/private/201)
WARN: online backup without suspend/snapshot
WARN: this can lead to inconsistent data
INFO: Creating archive '/mnt/backup/vds/virt3/vzdump-201.tgz' (/vz/private/201)
tar: ./var/log/httpd/default.log.1255305600: file changed as we read it
tar: ./home/site/public_html/logs/defaultlog: file changed as we read it
Total bytes written: 11293521920 (11GiB, 8.8MiB/s)
ERROR: creating backup for VPS 201 failed (20.68 minutes): command '(cd /vz/private/201; find . '(' -type 's' -prune ')' -o '(' -regex './tmp/void/null/' -prune ')' -o -print0|tar czpf /mnt/backup/vds/virt3/vzdump-201.tgz --totals --numeric-owner --no-recursion --ignore-failed-read --null -T -)' failed with exit code 1 at /usr/bin/vzdump line 290.

Anyone has any idea ?

Thanks ,
Re: Urgent/important vzdump error [message #37726 is a reply to message #37702] Wed, 14 October 2009 16:52 Go to previous messageGo to next message
JimL is currently offline  JimL
Messages: 116
Registered: February 2007
Senior Member
I'm not an expert on vzdump, but it looks like the dump wrote a file and the errors you experienced were not serious unless of course the two files mentioned are very important, which I suspect is not true.

Did you inspect the tar file? e. g tar tzf /mnt/backup/vds/virt3/vzdump-201.tgz

You might consider using the snapshot option of vzdump.

vzdump --snapshot 201 --dumpdir ....

Jim.
Re: Urgent/important vzdump error [message #37731 is a reply to message #37726] Wed, 14 October 2009 20:41 Go to previous message
pilpelet is currently offline  pilpelet
Messages: 25
Registered: October 2006
Junior Member
Hi ,
I wasnt able to inspect /mnt/backup/vds/virt3/vzdump-201.tgz
seens vzdump delete the file if an error happen
so it finish taring the file then delete it .
I couldnt find sulotion so i had to alter vzdump a little so it wont delete the tars on error then checked the archive after the error wich is ok (the tar is fine)
so i guess my best option is to leave the vzdump altered .
I cant run vzdump --snapshot because its not on LVM .
Previous Topic: error /sbin/ip: 1: Syntax error: Unterminated quoted string
Next Topic: internet access to a VE
Goto Forum:
  


Current Time: Sat Jul 27 06:53:24 GMT 2024

Total time taken to generate the page: 0.02995 seconds