I've tried Dietmar, thanks, but once again the exclude-path directive that you've suggested in /etc/vzdump.conf is ignored.<div>don't know what do to...</div><div><br><div>/francesco</div><div><br></div><div><div>
p.s. yes, Luca, I'm backing up vz containers</div></div><div><br></div><div><div># pveversion -v</div><div>pve-manager: 1.9-26 (pve-manager/1.9/6567)</div><div>running kernel: 2.6.32-6-pve</div><div>proxmox-ve-2.6.32: 1.9-55+ovzfix-1</div>
<div>pve-kernel-2.6.32-6-pve: 2.6.32-55+ovzfix-1</div><div>qemu-server: 1.1-32</div><div>pve-firmware: 1.0-14</div><div>libpve-storage-perl: 1.0-19</div><div>vncterm: 0.9-2</div><div>vzctl: 3.0.29-3pve1</div><div>vzdump: 1.2-16</div>
<div>vzprocps: 2.0.11-2</div><div>vzquota: 3.0.11-1</div><div>pve-qemu-kvm: 0.15.0-2</div><div>ksm-control-daemon: 1.0-6</div></div><div><div><br></div><div><br></div></div><div><br><div class="gmail_quote">On Wed, Apr 11, 2012 at 5:57 AM, Dietmar Maurer <span dir="ltr"><<a href="mailto:dietmar@proxmox.com">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">
<div lang="DE-AT" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">You can only have one exclude-path config line, try:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">exclude-path: “/tmp/.+”
</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">“/var/www/html/cache/.+”<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">- Dietmar<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:pve-user-bounces@pve.proxmox.com" target="_blank">pve-user-bounces@pve.proxmox.com</a> [mailto:<a href="mailto:pve-user-bounces@pve.proxmox.com" target="_blank">pve-user-bounces@pve.proxmox.com</a>]
<b>On Behalf Of </b>Francesco R<br>
<b>Sent:</b> Dienstag, 10. April 2012 18:52<br>
<b>To:</b> <a href="mailto:pve-user@pve.proxmox.com" target="_blank">pve-user@pve.proxmox.com</a><br>
<b>Subject:</b> [PVE-User] vzdump & exclude-path<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Hi, <u></u><u></u></p>
<div>
<p class="MsoNormal">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.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">We've created /etc/vzdump.conf with <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">exclude-path: "/tmp/*"<u></u><u></u></p>
</div>
<div>
<div>
<p class="MsoNormal">exclude-path: "/var/www/html/cache/*"<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">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 effect the daily backups (compressed snapshots) added through the web interface.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Are we trying to do something that makes sense? or the only way is to manually create custom cron backups with "vzdump --exclude-path ..."?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">thanks<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">/francesco ronzon<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">OpenContent<u></u><u></u></p>
</div>
</div></div></div>
</div>
</blockquote></div><br></div></div>