[PVE-User] vzdump & exclude-path

Francesco R francesco at opencontent.it
Tue May 1 08:37:23 CEST 2012


On Mon, Apr 30, 2012 at 2:19 PM, Dietmar Maurer <dietmar at proxmox.com> wrote:

> The config you posted contains 2 lines:
>
> -------------
> exclude-path:
> "/home/httpd/www.habitants.org/html/var/ezwebin_site/cache/.+"
> ----------------
>
> But that setting needs to be a single line:
>
> -----------------
> exclude-path:  "/home/httpd/
> www.habitants.org/html/var/ezwebin_site/cache/.+"
> ----------------
>
> Hope that helps,
> Dietmar


nop, sorry,
(it was, anyhow, on one line)

you guys, we do really need to use this settings, does someone has a
solution?
thanks

/francesco


> > -----Original Message-----
> > From: oriettaxx at gmail.com [mailto:oriettaxx at gmail.com] On Behalf Of
> > Francesco R.
> > Sent: Freitag, 20. April 2012 09:41
> > To: Dietmar Maurer
> > Subject: Re: [PVE-User] vzdump & exclude-path
> >
> > here we are.
> > I've tried many different combinations, included just one line:
> >
> > exclude-path:
> > "/home/httpd/www.habitants.org/html/var/ezwebin_site/cache/.+"
> > exclude-path:
> > "/home/httpd/www.habitants.org/html/var/ezwebin_site/cache/"
> > exclude-path:
> > "/home/httpd/www.habitants.org/html/var/ezwebin_site/cache/*"
> >
> > and always get the same error:
> >
> > WARN: unable to parse configuration file '/etc/vzdump.conf' - error at
> line 1
> >
> > you made me think I'm making some stupid error, but I cannot figured out
> > what is it :( /francesco
> >
> >
> > On Mon, Apr 16, 2012 at 8:45 AM, Dietmar Maurer
> > <dietmar at proxmox.com> wrote:
> > Can't you simple post (attach) the whole file?
> >
> > From: pve-user-bounces at pve.proxmox.com [mailto:pve-user-
> > bounces at pve.proxmox.com] On Behalf Of Francesco R
> > Sent: Montag, 16. April 2012 08:41
> >
> > To: pve-user at pve.proxmox.com
> > Subject: Re: [PVE-User] vzdump & exclude-path
> >
> > I removed empty lines, and now at least I get an error:
> >
> > WARN: unable to parse configuration file '/etc/vzdump.conf' - error at
> line 9
> >
> > where the (only) non commented line 9 in /etc/vzdump.conf is
> > exclude-path:  "/tmp/.+"
> > "/home/httpd/www.mysite/html/var/ezwebin_site/cache/.+"
> >
> > so I guess I should avoid empty lines?
> > (btw, there is an empty line on http://pve.proxmox.com/wiki/VZDump, too)
> >
> > /francesco
> > On Sun, Apr 15, 2012 at 3:56 PM, Francesco R <francesco at opencontent.it>
> > wrote:
> > Yes, Dietmar, it's just one line of data + some comments (and some empty
> > lines...;)
> >
> > --- begin ---
> > # comments...
> >
> > # comments...
> >
> > exclude-path:  "/tmp/.+"
> > "/home/httpd/www.mysite.org/html/var/ezwebin_site/cache/.+"
> > --- end ---
> >
> > /francesco
> >
> >
> >
> > On Sun, Apr 15, 2012 at 12:54 PM, Dietmar Maurer
> > <dietmar at proxmox.com> wrote:
> > 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> 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] On Behalf Of Francesco R
> > Sent: Dienstag, 10. April 2012 18:52
> > To: 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://pve.proxmox.com/pipermail/pve-user/attachments/20120501/b7fd5841/attachment-0013.html>


More information about the pve-user mailing list