[PVE-User] vzdump & exclude-path

Francesco R francesco at opencontent.it
Mon Apr 16 08:41:05 CEST 2012


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://lists.proxmox.com/pipermail/pve-user/attachments/20120416/cec5b09c/attachment.htm>


More information about the pve-user mailing list