<div class="gmail_quote"><div class="gmail_quote"><div class="im">On Mon, Apr 30, 2012 at 2:19 PM, Dietmar Maurer <span dir="ltr"><<a href="mailto:dietmar@proxmox.com" target="_blank">dietmar@proxmox.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The config you posted contains 2 lines:<br>
<br>
-------------<br>
exclude-path:<br>
"/home/httpd/<a href="http://www.habitants.org/html/var/ezwebin_site/cache/.+" target="_blank">www.habitants.org/html/var/ezwebin_site/cache/.+</a>"<br>
----------------<br>
<br>
But that setting needs to be a single line:<br>
<br>
-----------------<br>
exclude-path:  "/home/httpd/<a href="http://www.habitants.org/html/var/ezwebin_site/cache/.+" target="_blank">www.habitants.org/html/var/ezwebin_site/cache/.+</a>"<br>
----------------<br>
<br>
Hope that helps,<br>
Dietmar</blockquote><div><br></div></div><div>nop, sorry,</div><div>(it was, anyhow, on one line)</div><div><br></div><div>you guys, we do really need to use this settings, does someone has a solution?</div><div>thanks</div>
<div><br></div><div>/francesco</div><div><div class="h5"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
> -----Original Message-----<br>
> From: <a href="mailto:oriettaxx@gmail.com" target="_blank">oriettaxx@gmail.com</a> [mailto:<a href="mailto:oriettaxx@gmail.com" target="_blank">oriettaxx@gmail.com</a>] On Behalf Of<br>
> Francesco R.<br>
> Sent: Freitag, 20. April 2012 09:41<br>
> To: Dietmar Maurer<br>
> Subject: Re: [PVE-User] vzdump & exclude-path<br>
><br>
</div><div><div>> here we are.<br>
> I've tried many different combinations, included just one line:<br>
><br>
> exclude-path:<br>
> "/home/httpd/<a href="http://www.habitants.org/html/var/ezwebin_site/cache/.+" target="_blank">www.habitants.org/html/var/ezwebin_site/cache/.+</a>"<br>
> exclude-path:<br>
> "/home/httpd/<a href="http://www.habitants.org/html/var/ezwebin_site/cache/" target="_blank">www.habitants.org/html/var/ezwebin_site/cache/</a>"<br>
> exclude-path:<br>
> "/home/httpd/<a href="http://www.habitants.org/html/var/ezwebin_site/cache/*" target="_blank">www.habitants.org/html/var/ezwebin_site/cache/*</a>"<br>
><br>
> and always get the same error:<br>
><br>
> WARN: unable to parse configuration file '/etc/vzdump.conf' - error at line 1<br>
><br>
> you made me think I'm making some stupid error, but I cannot figured out<br>
> what is it :( /francesco<br>
><br>
><br>
> On Mon, Apr 16, 2012 at 8:45 AM, Dietmar Maurer<br>
> <<a href="mailto:dietmar@proxmox.com" target="_blank">dietmar@proxmox.com</a>> wrote:<br>
> Can't you simple post (attach) the whole file?<br>
><br>
> From: <a href="mailto:pve-user-bounces@pve.proxmox.com" target="_blank">pve-user-bounces@pve.proxmox.com</a> [mailto:<a href="mailto:pve-user-" target="_blank">pve-user-</a><br>
> <a href="mailto:bounces@pve.proxmox.com" target="_blank">bounces@pve.proxmox.com</a>] On Behalf Of Francesco R<br>
> Sent: Montag, 16. April 2012 08:41<br>
><br>
> To: <a href="mailto:pve-user@pve.proxmox.com" target="_blank">pve-user@pve.proxmox.com</a><br>
> Subject: Re: [PVE-User] vzdump & exclude-path<br>
><br>
> I removed empty lines, and now at least I get an error:<br>
><br>
> WARN: unable to parse configuration file '/etc/vzdump.conf' - error at line 9<br>
><br>
> where the (only) non commented line 9 in /etc/vzdump.conf is<br>
> exclude-path:  "/tmp/.+"<br>
> "/home/httpd/www.mysite/html/var/ezwebin_site/cache/.+"<br>
><br>
> so I guess I should avoid empty lines?<br>
> (btw, there is an empty line on <a href="http://pve.proxmox.com/wiki/VZDump" target="_blank">http://pve.proxmox.com/wiki/VZDump</a>, too)<br>
><br>
> /francesco<br>
> On Sun, Apr 15, 2012 at 3:56 PM, Francesco R <<a href="mailto:francesco@opencontent.it" target="_blank">francesco@opencontent.it</a>><br>
> wrote:<br>
> Yes, Dietmar, it's just one line of data + some comments (and some empty<br>
> lines...;)<br>
><br>
> --- begin ---<br>
> # comments...<br>
><br>
> # comments...<br>
><br>
> exclude-path:  "/tmp/.+"<br>
> "/home/httpd/<a href="http://www.mysite.org/html/var/ezwebin_site/cache/.+" target="_blank">www.mysite.org/html/var/ezwebin_site/cache/.+</a>"<br>
> --- end ---<br>
><br>
> /francesco<br>
><br>
><br>
><br>
> On Sun, Apr 15, 2012 at 12:54 PM, Dietmar Maurer<br>
> <<a href="mailto:dietmar@proxmox.com" target="_blank">dietmar@proxmox.com</a>> wrote:<br>
> Please can you post the file /etc/vzdump.conf?<br>
><br>
> From: <a href="mailto:pve-user-bounces@pve.proxmox.com" target="_blank">pve-user-bounces@pve.proxmox.com</a> [mailto:<a href="mailto:pve-user-" target="_blank">pve-user-</a><br>
> <a href="mailto:bounces@pve.proxmox.com" target="_blank">bounces@pve.proxmox.com</a>] On Behalf Of Francesco R<br>
> Sent: Sonntag, 15. April 2012 10:39<br>
> To: <a href="mailto:pve-user@pve.proxmox.com" target="_blank">pve-user@pve.proxmox.com</a><br>
> Subject: Re: [PVE-User] vzdump & exclude-path<br>
><br>
> I've tried Dietmar, thanks, but once again the exclude-path directive that<br>
> you've suggested in /etc/vzdump.conf is ignored.<br>
> don't know what do to...<br>
><br>
> /francesco<br>
><br>
> p.s. yes, Luca, I'm backing up vz containers<br>
><br>
> #  pveversion -v<br>
> pve-manager: 1.9-26 (pve-manager/1.9/6567) running kernel: 2.6.32-6-pve<br>
> proxmox-ve-2.6.32: 1.9-55+ovzfix-1<br>
> pve-kernel-2.6.32-6-pve: 2.6.32-55+ovzfix-1<br>
> qemu-server: 1.1-32<br>
> pve-firmware: 1.0-14<br>
> libpve-storage-perl: 1.0-19<br>
> vncterm: 0.9-2<br>
> vzctl: 3.0.29-3pve1<br>
> vzdump: 1.2-16<br>
> vzprocps: 2.0.11-2<br>
> vzquota: 3.0.11-1<br>
> pve-qemu-kvm: 0.15.0-2<br>
> ksm-control-daemon: 1.0-6<br>
><br>
><br>
><br>
> On Wed, Apr 11, 2012 at 5:57 AM, Dietmar Maurer<br>
> <<a href="mailto:dietmar@proxmox.com" target="_blank">dietmar@proxmox.com</a>> wrote:<br>
> You can only have one exclude-path config line, try:<br>
><br>
> exclude-path:  "/tmp/.+" "/var/www/html/cache/.+"<br>
><br>
> - Dietmar<br>
><br>
><br>
><br>
> From: <a href="mailto:pve-user-bounces@pve.proxmox.com" target="_blank">pve-user-bounces@pve.proxmox.com</a> [mailto:<a href="mailto:pve-user-" target="_blank">pve-user-</a><br>
> <a href="mailto:bounces@pve.proxmox.com" target="_blank">bounces@pve.proxmox.com</a>] On Behalf Of Francesco R<br>
> Sent: Dienstag, 10. April 2012 18:52<br>
> To: <a href="mailto:pve-user@pve.proxmox.com" target="_blank">pve-user@pve.proxmox.com</a><br>
> Subject: [PVE-User] vzdump & exclude-path<br>
><br>
> Hi,<br>
> we would like to exclude from the daily vzdump snapshots all unnecessary<br>
> web cache content (tipically /var/www/*/html/*/cache), and /tmp content<br>
> of course.<br>
><br>
> We've created /etc/vzdump.conf with<br>
><br>
> exclude-path: "/tmp/*"<br>
> exclude-path: "/var/www/html/cache/*"<br>
><br>
> as stated in <a href="http://pve.proxmox.com/wiki/VZDump" target="_blank">http://pve.proxmox.com/wiki/VZDump</a>, but its content does not<br>
> effect the daily backups (compressed snapshots) added through the web<br>
> interface.<br>
><br>
> Are we trying to do something that makes sense? or the only way is to<br>
> manually create custom cron backups with "vzdump --exclude-path ..."?<br>
><br>
> thanks<br>
> /francesco ronzon<br>
> OpenContent<br>
><br>
><br>
><br>
<br>
<br>
</div></div></blockquote></div></div></div><br>
</div><br>