OpenVZ Forum


Home » General » Support » vzdump snapshot: archive file size 10KB (LVM snapshot doesn't make a complete backup)
vzdump snapshot: archive file size 10KB [message #41086] Sun, 14 November 2010 20:00 Go to next message
narcisgarcia is currently offline  narcisgarcia
Messages: 41
Registered: May 2009
Member
Software:
- Ubuntu 10.04 host OS
- Ubuntu 10.04 container OS
- vzdump version 1.2.4-2
root@machine:~$ sudo vzdump --dumpdir /tmp/ --snapshot 1011
INFO: starting new backup job: vzdump --dumpdir /tmp/ --snapshot 1011
INFO: Starting Backup of VM 1011 (openvz)
INFO: CTID 1011 exist mounted running
INFO: status = CTID 1011 exist mounted running
INFO: backup mode: snapshot
INFO: bandwidth limit: 10240 KB/s
INFO: creating lvm snapshot of /dev/mapper/gexterior-vz ('/dev/gexterior/vzsnap-machine-0')
INFO:   Logical volume "vzsnap-machine-0" created
INFO: creating archive '/tmp/vzdump-openvz-1011-2010_11_14-20_51_36.tar'
INFO: Total bytes written: 10240 (10KiB, 33MiB/s)
INFO: archive file size: 10KB
INFO: delete old backup '/tmp/vzdump-openvz-1011-2010_11_14-20_49_39.tar'
INFO:   Logical volume "vzsnap-machine-0" successfully removed
INFO: Finished Backup of VM 1011 (00:00:01)
INFO: Backup job finished successfuly

Total bytes written: 10240
archive file size: 10KB


root@machine:~$ sudo vzdump --dumpdir /tmp/ --suspend 1011
INFO: starting new backup job: vzdump --dumpdir /tmp/ --suspend 1011
INFO: Starting Backup of VM 1011 (openvz)
INFO: CTID 1011 exist mounted running
INFO: status = CTID 1011 exist mounted running
INFO: backup mode: suspend
INFO: bandwidth limit: 10240 KB/s
INFO: starting first sync /var/lib/vz/private/1011/ to /tmp/vzdump-openvz-1011-2010_11_14-20_52_08.tmp
INFO: Number of files: 21194
INFO: Number of files transferred: 17190
INFO: Total file size: 342321787 bytes
INFO: Total transferred file size: 316303936 bytes
INFO: Literal data: 316303936 bytes
INFO: Matched data: 0 bytes
INFO: File list size: 453833
INFO: File list generation time: 0.001 seconds
INFO: File list transfer time: 0.000 seconds
INFO: Total bytes sent: 317544522
INFO: Total bytes received: 345824
INFO: sent 317544522 bytes  received 345824 bytes  10091757.02 bytes/sec
INFO: total size is 342321787  speedup is 1.08
INFO: first sync finished (31 seconds)
INFO: suspend vm
INFO: Setting up checkpoint...
INFO: 	suspend...
INFO: 	get context...
INFO: Checkpointing completed succesfully
INFO: starting final sync /var/lib/vz/private/1011/ to /tmp/vzdump-openvz-1011-2010_11_14-20_52_08.tmp
INFO: Number of files: 21194
INFO: Number of files transferred: 0
INFO: Total file size: 342321787 bytes
INFO: Total transferred file size: 0 bytes
INFO: Literal data: 0 bytes
INFO: Matched data: 0 bytes
INFO: File list size: 453833
INFO: File list generation time: 0.001 seconds
INFO: File list transfer time: 0.000 seconds
INFO: Total bytes sent: 455485
INFO: Total bytes received: 1651
INFO: sent 455485 bytes  received 1651 bytes  914272.00 bytes/sec
INFO: total size is 342321787  speedup is 748.84
INFO: final sync finished (0 seconds)
INFO: resume vm
INFO: Resuming...
INFO: vm is online again after 0 seconds
INFO: creating archive '/tmp/vzdump-openvz-1011-2010_11_14-20_52_08.tar'
INFO: Total bytes written: 331632640 (317MiB, 11MiB/s)
INFO: archive file size: 316MB
INFO: delete old backup '/tmp/vzdump-openvz-1011-2010_11_14-20_51_36.tar'
INFO: Finished Backup of VM 1011 (00:01:03)
INFO: Backup job finished successfuly

Total bytes written: 331632640
archive file size: 316MB


Narcis Garcia
Re: vzdump snapshot: archive file size 10KB [message #42926 is a reply to message #41086] Sun, 19 June 2011 22:55 Go to previous message
hensoko is currently offline  hensoko
Messages: 3
Registered: January 2011
Junior Member
Hey,

i have the same problem in my setup. When I try to make vzdump --snapshot, I only get from stopped VEs a full backup. For startet VEs I only get the config file.

hensoko
Previous Topic: mysql on HM
Next Topic: Asking about how to create / change password
Goto Forum:
  


Current Time: Tue Nov 12 05:14:58 GMT 2024

Total time taken to generate the page: 0.03540 seconds