OpenVZ Forum


Home » International » French » Exclusion de dossiers vzdump
Re: Exclusion de dossiers vzdump [message #48293 is a reply to message #47881] Thu, 11 October 2012 21:16 Go to previous message
nyquist is currently offline  nyquist
Messages: 27
Registered: June 2010
Location: 44 - France
Junior Member
Peut etre te trompe tu dans ta REGEX
si tu veux exclure tout le repertoire /home alors la commande devrait etre
vzdump 100 --exclude-path "/home" -dumpdir /var/vzbackup

si tu veux exclure le contenu je crois que j'utiliserai cette commande :
vzdump 100 --exclude-path "/home/*" -dumpdir /var/vzbackup


j'ai fait un test pour exclure le repertoire /home :
vzdump 1068 --exclude-path "/home" -dumpdir /var/vzbackup

puis
tar tvf vzdump-openvz-1068-2012_10_11-23_08_42.tar  | grep home
-rwxr-xr-x 0/0           18696 2012-04-29 17:43 ./sbin/mkhomedir_helper
-rw-r--r-- 0/0           10208 2012-04-29 17:43 ./lib/x86_64-linux-gnu/security/pam_mkhomedir.so
-rw-r--r-- 0/0             888 2012-04-29 17:43 ./usr/share/man/man8/mkhomedir_helper.8.gz
-rw-r--r-- 0/0            1488 2012-04-29 17:43 ./usr/share/man/man8/pam_mkhomedir.8.gz



pas de trace de /home

 
Read Message
Read Message
Previous Topic: [OVZ] Services sshd crond ne redémarrent pas après reboot
Next Topic: problème d'installation OpenVZ Web Panel
Goto Forum:
  


Current Time: Mon Jul 22 18:34:17 GMT 2024

Total time taken to generate the page: 0.02386 seconds