[PVE-User] vzdump & exclude-path

Dietmar Maurer dietmar at proxmox.com
Sun Apr 15 12:54:04 CEST 2012


Please can you post the file /etc/vzdump.conf?

From: pve-user-bounces at pve.proxmox.com [mailto:pve-user-bounces at pve.proxmox.com] On Behalf Of Francesco R
Sent: Sonntag, 15. April 2012 10:39
To: pve-user at pve.proxmox.com
Subject: Re: [PVE-User] vzdump & exclude-path

I've tried Dietmar, thanks, but once again the exclude-path directive that you've suggested in /etc/vzdump.conf is ignored.
don't know what do to...

/francesco

p.s. yes, Luca, I'm backing up vz containers

#  pveversion -v
pve-manager: 1.9-26 (pve-manager/1.9/6567)
running kernel: 2.6.32-6-pve
proxmox-ve-2.6.32: 1.9-55+ovzfix-1
pve-kernel-2.6.32-6-pve: 2.6.32-55+ovzfix-1
qemu-server: 1.1-32
pve-firmware: 1.0-14
libpve-storage-perl: 1.0-19
vncterm: 0.9-2
vzctl: 3.0.29-3pve1
vzdump: 1.2-16
vzprocps: 2.0.11-2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.15.0-2
ksm-control-daemon: 1.0-6



On Wed, Apr 11, 2012 at 5:57 AM, Dietmar Maurer <dietmar at proxmox.com<mailto:dietmar at proxmox.com>> wrote:
You can only have one exclude-path config line, try:

exclude-path:  "/tmp/.+" "/var/www/html/cache/.+"

- Dietmar



From: pve-user-bounces at pve.proxmox.com<mailto:pve-user-bounces at pve.proxmox.com> [mailto:pve-user-bounces at pve.proxmox.com<mailto:pve-user-bounces at pve.proxmox.com>] On Behalf Of Francesco R
Sent: Dienstag, 10. April 2012 18:52
To: pve-user at pve.proxmox.com<mailto:pve-user at pve.proxmox.com>
Subject: [PVE-User] vzdump & exclude-path

Hi,
we would like to exclude from the daily vzdump snapshots all unnecessary web cache content (tipically /var/www/*/html/*/cache), and /tmp content of course.

We've created /etc/vzdump.conf with

exclude-path: "/tmp/*"
exclude-path: "/var/www/html/cache/*"

as stated in http://pve.proxmox.com/wiki/VZDump, but its content does not effect the daily backups (compressed snapshots) added through the web interface.

Are we trying to do something that makes sense? or the only way is to manually create custom cron backups with "vzdump --exclude-path ..."?

thanks
/francesco ronzon
OpenContent

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.proxmox.com/pipermail/pve-user/attachments/20120415/25cc00c7/attachment.htm>


More information about the pve-user mailing list