Re: [Bacula-users] Problem excluding directory.
2014-05-18 13:17:30
On 18/05/14 16:37, Gary Cowell wrote:
> I use the Exclude Dir Containing with a dotfile, the example is
>
> Exclude Dir Containing = "excludemefrombackup.txt"
>
> So I use ".nobackup" on unix, but any file will do.
>
> Then just create this file in any directory you want excluded,
> regardless of spaces, escaping or whatever. Much easier.
Thanks a lot. That is an interesting construct. I shall definitely use it.
--
Erik.
>
> On 16 May 2014 22:52, Erik P. Olsen <epodata AT gmail DOT com> wrote:
>> On 16/05/14 18:17, Martin Simmons wrote:
>>>>>>>> On Wed, 14 May 2014 20:27:43 +0200, Erik P Olsen said:
>>>>
>>>> I want to exclude a directory on a laptop running Fedora 20. The directory
>>>> contains a set of virtual machines that should not be backed up. The
>>>> directive
>>>> in bacula-dir.conf is:
>>>>
>>>> Exclude {
>>>> File = /home/erik/"VirtualBox VMs"
>>>> }
>>>>
>>>> Since the directory name has an embedded blank its name is enclosed within
>>>> quotation marks but it is nevertheless being backed up.
>>>>
>>>> What's wrong?
>>>
>>> I suggest you post the whole fileset, because the problem may be in the
>>> Include section.
>>>
>>
>> FileSet {
>> Name = "Lenovo Set"
>> Include {
>> Options {
>> signature = MD5
>> compression = GZIP
>> aclsupport = yes
>> }
>> File = /home
>> File = /etc/bacula
>> File = /etc/fstab
>> File = /etc/hosts
>> File = /etc/sysconfig/bacula-fd
>> }
>> Exclude {
>> File = /home/erik/VirtualBox VMs
>> }
>> }
>>
>> --
>> Erik
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|