OpenVZ Forum - RDF feed
type: channel
items: size of a backup
items: Re: size of a backup
items: FIXED: Re: size of a backup

size of a backup
type: item
description: Hi, when I do a "df -h" in a vz I get "4.7GB usage" Filesystem Size Used Avail Use% Mounted on /dev/simfs 63G 4.7G 55G 8% / tmpfs 503M 0 503M 0% /lib/init/rw tmpfs 503M 0 503M 0% /dev/shm But when I check the backup image file its "9.6GB" vzdump-110.tar (9679052800 bytes) How come the backup is so much bigger? Its a lvm backup vzdump --dumpdir /var --snapshot 110
creator: sander2930
date: 2008-06-10T12:31:53-00:00

Re: size of a backup
type: item
description: What is it you are backing up? /vz/private/{CTID} or is it including /vz/root too?
creator: dowdle
date: 2008-06-24T05:54:49-00:00

Re: size of a backup
type: item
description: This is only the private dir. I use the command: vzdump --dumpdir /var --snapshot 110 I've verified that it, by some mistake, doesn't include the root dir.
creator: sander2930
date: 2008-06-24T10:40:11-00:00

Re: size of a backup
type: item
description: I don't use vzdump so I'm not that familiar with it... BUT take a look at the backup. Do some du -sh commands on the directories and compare them to the original. Figure out where the extra used space is coming from.
creator: dowdle
date: 2008-06-24T15:05:07-00:00

Re: size of a backup
type: item
description: I noticed something strange. This is taken from within the VE: 6.1G /var/www/virtual/ Then I do "df -h": Filesystem Size Used Avail Use% Mounted on /dev/simfs 44G 5.1G 35G 13% / tmpfs 503M 0 503M 0% /lib/init/rw tmpfs 503M 0 503M 0% /dev/shm It looks like df doesn't give me the correct answer.
creator: sander2930
date: 2008-06-24T20:40:21-00:00

FIXED: Re: size of a backup
type: item
description: ok, I had to read some more: http://wiki.openvz.org/OpenVZ_disk_quota%2C_df_and_stat_weir d_behaviour vzquota drop 110 did the job. Thanks anyway for the support
creator: sander2930
date: 2008-06-24T20:52:28-00:00