Trevor Morrison wrote:
> Hi,
> 
> thanks to everyone to replied to my question on compression on the
> Exabyte-8900 drive.  I have been trying all day to exclude an nfs mount
> from the File set.  After pouring over the manual on the FileSEt section
> and trying many variations on a theme the program continues to backup
> the nfs mount.  I have tried:
> 
> 1.) Putting wilddir = in the Include option and then using the Exclude =
> yes
> 
> 2.) Putting the File = /mnt/hailee in the Exclude section under th file
> set.
> 
> All to no avail.  I have put the relevant section below.
> 
> # List of files to be backed up
> FileSet {
>  Name = "Full Set Hailee1"
>  Include {
>    Options {
>      signature = MD5

Here's your problem:

>          onefs = yes
>    wilddir = /proc
>    wilddir = /tmp
>    wilddir = /mnt/hailee
>    wildfile = \.journal
>    wildfile = \.autofsck
>            Exclude=yes
>    }
> #   #  Put your list of files here, preceded by 'File =', one per line
> #    or include an external list with:
> #
> #    File = <file-name
> #
> #  Note: / backs up everything on the root partition.
> #    if you have other partitons such as /usr or /home
> #    you will probably want to add them too.
> #
> #  By default this is defined to point to the Bacula build
> #    directory to give a reasonable FileSet to backup to
> #    disk storage during initial testing.
> #
>    File = /
>    File = /var
>    File = /usr
>    File = /home
>    File = /boot
>    }
> 
> #
> # If you backup the root directory, the following two excluded
> #   files can be useful
> 
>  Exclude {
>    File = /proc
>    File = /mnt/hailee
>    File = /tmp
>    File = /.journal
>    File = /.fsck
>  }
> }

Since you're explicitly listing the filesystems you ARE backing up, both
onefs and most of those excludes are unnecessary.  This has caused your
Fileset specification to grow in complexity far beyond what is actually
needed.


Try this instead:

FileSet {
  Name = "Full Set Hailee1"
  Include {
    Options {
      signature = MD5
    }
  File = /
  File = /var
  File = /usr
  File = /home
  File = /boot
  }
  Exclude {
    File = /tmp/*
    File = /.journal
    File = /.fsck
  }
}

If you're bothering to exclude .journal and .fsck files in the root, you
may as well exclude the ones on the other filesystems as well.  Then
again, make sure you actually have them before you bother trying to
exclude them.  I use ext3 filesystems, with journalling, and I don't
have .journal files.



-- 
 Phil Stracchino       [EMAIL PROTECTED]
    Renaissance Man, Unix generalist, Perl hacker
 Mobile: 603-216-7037         Landline: 603-886-3518


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to