Backup issues

xXKaasXx

New Member
Jan 3, 2017
28
0
1
30
Hi there

Output:
INFO: starting new backup job: vzdump 116 --remove 0 --mode snapshot --compress lzo --storage Backup --node main
INFO: Starting Backup of VM 116 (openvz)
INFO: CTID 116 exist mounted running
INFO: status = running
INFO: mode failure - unable to detect lvm volume group
INFO: trying 'suspend' mode instead
INFO: backup mode: suspend
INFO: ionice priority: 7
INFO: starting first sync /var/lib/vz/private/116/ to /mnt/pve/Backup/dump/vzdump-openvz-116-2017_01_16-12_19_12.tmp


The sync takes really many hours for a server which may only use 700mb of storage.

It does not matter if I store it on the NFS or locally, it takes ages for small stuff to happend.

I am not sure what to do about this. It takes ages to backup a small container.

Edit:
On the NFS server , I can confirm that I can see it writing. So it is writing however very, very slowly (And same if it backs up locally, which is why I am ripping off my hair.
 
Hi,

this is because you sync all twice to the nfs.
Set the tmpdir in the /etc/vzdump.conf to a local one.
 
Last edited:
Hi there.

This is the .conf file
# vzdump default settings

#tmpdir: DIR
#dumpdir: DIR
#storage: STORAGE_ID
#mode: snapshot|suspend|stop
#bwlimit: KBPS
#ionice: PRI
#lockwait: MINUTES
#stopwait: MINUTES
#size: MB
#maxfiles: N
#script: FILENAME
#exclude-path: PATHLIST


where should I put tmpdir?
 
edit

#tmpdir: DIR
to
tmpdir: <some local path with space for the hole container>