Vzdump with exclude path

mklein

New Member
Sep 19, 2012
6
0
1
Hi everyone,

I want to backup my VM with vzdump with exclude any folders because loading time is too long.

Command :
vzdump --exclude-path "/home/.+" --dumpdir /var/vzbackup/ 100

When i start this command, tmp backup contains /home/.

Have you got idea ?
 
/home/ contains many files. These files will be saved directly from the container and not by vzdump
 
The backup is very long and host is very slow. During backup, i look tmp folder and /home/ folder exist with subfolder. I kill process backup after the end because my server is nearly saturated.

Command "exclude-path" exclude folders in the tar but not in the temporary folder ?
 
It is not optimized. What if for faster backups ? My VM of 50Gb take 8 hours to save.