Amanda-Users

Re: using exclude with tar

2009-10-07 14:30:41
Subject: Re: using exclude with tar
From: Jean-Louis Martineau <martineau AT zmanda DOT com>
To: "McGraw, Robert P" <rmcgraw AT purdue DOT edu>
Date: Wed, 07 Oct 2009 14:21:26 -0400
McGraw, Robert P wrote:
I have a filesystem called /export/comm. In this filesystem I have 
./ftppub/site/mirrors which has a lot files and take a long time to backup at 
level 0.

Since this mirror directory can be rebuilt from the master site I have decided 
to not backup the mirrors with Amanda.

My question is how do I exclude the mirror directory?

zada  /export/zada.export.com  /export/comm  {
      remote-tar
      exclude "./ftppub/site/mirrors"
} -1 enet100

That's the way to do it.
Per the zmanda documentation for amanda.conf(5) it says that the exclude  "must start with 
"./" and contain no other "/"."
That's for include, not for exclude.

Jean-Louis



<Prev in Thread] Current Thread [Next in Thread>