$ This is the list of directories which will NOT be backed up. A line which
$ begins with '$' is a comment, blank lines are ignored, and all other lines
$ are perl patterns.

$ Perl patterns are not like sh patterns, but are similar to grep patterns
$ and version 8 regular expressions. For more information see the man page
$ for perlre (run the command 'man perlre').

$ Patterns are checked against the full name of each directory, including
$ the path, but not including the initial '/'.

$ If the name of a directory matches any of the patterns, the contents of
$ the directory will not be backed up. Note that the directory itself and
$ the contents of subdirectories are not excluded; only the contents of the
$ directory are excluded. If you want to exclude the contents of
$ subdirectories, you need to make sure the pattern matches the names of the
$ subdirectories in addition to the name of the directory, or else add
$ other patterns which match the names of the subdirectories. If you want
$ to exclude the directory, you need to exclude it in the include/exclude
$ file, or else exclude the contents of the parent directory.

$ For example, suppose you have a directory named root/foo, with a
$ subdirectory named root/foo/bar, and a file named root/foo/bar/file;
$ and you exclude directories matching the pattern   ^root\/foo$
$ The list of files to backup will include root/foo and root/foo/bar/file,
$ but not root/foo/bar. root/foo matched the pattern, and root/foo/bar was
$ excluded because it was part of the contents of root/foo. root/foo/bar did
$ not match the pattern, and so the contents of root/foo/bar were included,
$ even though root/foo/bar was excluded. If the pattern had been
$   ^root\/foo($|\/)  then it would have matched root/foo and it would also
$ have matched root/foo/bar, and so root/foo/bar and root/foo/bar/file
$ would both have been excluded.

$ Remember, the pattern matches the name of a directory, but it is the
$ contents of the directory which are excluded.

$ If the contents of a directory are excluded, they are also removed from
$ the virtual restore list. This makes the virtual restore list smaller,
$ which saves disk space. This is different from the include/exclude list;
$ if a file is excluded because of a pattern in the include exclude list,
$ the file is not removed the virtual restore list.

$ The include/exclude list has both include and exclude patterns, but this
$ directory exclude list has only exclude patterns. There are no directory
$ include patterns. Once a file has been excluded because of a directory
$ exclude pattern, there is no way to include it. If a file is excluded in
$ the directory exclude list and included in the include/exclude list, it
$ will be excluded.

$ Anything which is excluded in the directory exclude list could be excluded
$ from the include exclude list instead. You could do all excluding from the
$ include/exclude list, and then you would have only one list instead of
$ two. But it is faster to exclude files from the directory exclude list.

$ It should be safe to change this file between backups.

$ If you do some backups, and then add another pattern to this directory
$ exclude list, then the files which are excluded because of the new pattern
$ will not be backed up. But if the files were backed up before, they will
$ be in the old control and ls lists; you probably want to manually remove
$ them from the old control lists.

$ If you do some backups, and then remove a pattern from the directory
$ exclude list; then the files will have been removed from the virtual
$ restore list during previous backups; since they will not be in the old
$ virtual restore list, the next backup will think they are new files and
$ will probably back them up, even if they are old files.

$ The patterns can be listed in any order. But if you list the patterns
$ which match more frequently before the patterns which match less
$ frequently, then Paranoid Backup will be a few nanoseconds faster.



$ exclude proc and var
^(proc|var)(\/|$)

$ exclude every directory named t,tmp,mnt,cdrom,Junk,junk,recycled,lost+found
(^|\/)(t|tmp|mnt|cdrom|Junk|junk|recycled|lost\+found|windows)(\/|$)

$ exclude home/a, the home directory of the passwordless anonymous user
^home\/a(\/|$)
^namelessp2\/var\/home\/a(\/|$)

$ exclude every directory in namelessp2/var except home and information
^namelessp2\/var\/[^ih]
^namelessp2\/var\/i[^n]

$ exclude lib, os, and boot on namelessp2
^namelessp2\/root\/lib(\/|$)
^namelessp2\/root\/os(\/|$)
^namelessp2\/root\/boot(\/|$)

$ exclude /root/Web_tmp on namelessp2; also exclude root's GUI config files
^namelessp2\/root\/root\/Web_tmp
^namelessp2\/root\/root\/.gnome
^namelessp2\/root\/root\/.gconf
^namelessp2\/root\/root\/.mc
^namelessp2\/root\/root\/.nautilus
^namelessp2\/root\/root\/.sawfish

^lib\/modules\.orig\.redhat\-5\.0
netscape\/cache(\/|$)
^root\/\.kde(\/|$)
^dos(\/|$)
