This is the include/exclude list, which controls which files are included
and which files are excluded from backups. If the first four characters on a
line are 'inc ', then the rest of the line is an include pattern. If the
first four characters on a line are 'exc ', then the rest of the line is an
exclude pattern. Anything else is a comment. The patterns are perl patterns,
which 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 file, including the path,
but not including the initial '/'.

If a file is included because of one pattern, and excluded because of
another, then the last pattern controls whether the file is included or
excluded. You can think of this as first the general rules, then the
specific rules; or first the rules then the exceptions; or you can think of
going through the list from top to bottom, and the last match controls
whether or not the file is included or excluded; or you can think of it as
going through the list from bottom to top, and and the first match controls
whether the file is included or excluded.

If two patterns will never match the same file, or are both include or both
exclude patterns, then it does not matter which one is listed first. But you
can make Paranoid Backup a few nanoseconds faster by putting the pattern
which matches less frequently first.

It should be safe to change this file between backups.

If you exclude a file, and then the file changes, and then you do some
backups, and then you include the file, but the file does not change again;
then the file will be backed up next backup, because it will be different
from the information in the old virtual restore list.

If you include a file, and do some backups, and then exclude the file; then
the file will be excluded from future backups, but the file will not be
removed from the old control lists; you will probably want to manually
remove the file from the old control lists.


include everything
inc .

exclude /c, which is a temporary file I use as a clipboard
exc ^c$
exc ^namelessp2\/root\/c$

exclude various sockets
exc ^dev\/printer$
exc ^namelessp2\/root\/dev\/gpmctl$

exclude various files in /etc. ld.so.cache does not need to be backed up
because it can be recreated by ldconfig. mtab is deleted and recreated every
time the computer boots.
exc ^etc\/ioctl\.save$
exc ^etc\/ld\.so\.cache$
exc ^etc\/mtab$
exc ^etc\/psdevtab$
exc ^etc\/rmtab$
exc ^etc\/wtmplock$
exc ^namelessp2\/root\/etc\/ioctl\.save$
exc ^namelessp2\/root\/etc\/ld\.so\.cache$
exc ^namelessp2\/root\/etc\/mtab$
exc ^namelessp2\/root\/etc\/psdevtab$
exc ^namelessp2\/root\/etc\/rmtab$
exc ^namelessp2\/root\/etc\/wtmplock$

exclude linux boot files, which are backed up with configuration files
exc ^namelessp2\/dos\/os\/linux\/2407$
exc ^namelessp2\/dos\/os\/linux\/2418$

exclude lib/modules/.../modules.dep
exc ^lib\/modules\/.*modules\.dep$

exclude image.* files on the dos partition; these are copies of the FAT;
they are meaningless after a restore because files are not likely to be
restored to the exact same places on the disk surface; thus after a restore
the FAT will be different.
exc ^namelessp2\/dos\/image\.
exc ^namelessp2\/dos\/treeinfo\.

if a joe process is killed when changes to the current file have not been
saved, then joe saves the changed file as 'DEADJOE' in the current directory.
exclude files named DEADJOE in any directory (joe is a text editor)
exc (^|\/)DEADJOE$

files named 'core' are probably core dumps. Exclude files named core in any
directory
exc (^|\/)core$

exclude files named 'output' in any directory
exc (^|\/)output$

files named '.bash_history' are probably lists of commands previously entered
at the bash prompt. exclude files named '.bash_history' in any directory
exc (^|\/)\.bash_history$

exclude the kde configuration files; I do not use kde enough to have a
favorite configuration, and we do not need to back up the default
configuration.
exc ^root\/\.kde
exc ^home\/k\/\.kde
exc ^namelessp2\/var\/home\/k\/\.kde

Linux changes the owner of /dev/ttys when someone logs in, and changes the
owner back when someone logs out (so that the user will have permission to
read/write the terminal). But there is no need to backup /dev/ttys just
because the owner changed.
exc ^dev\/tty[1234567890]
exc ^dev\/vcs
exc ^namelessp2\/root\/dev\/tty[1234567890]
exc ^namelessp2\/root\/dev\/vcs

exclude the paranoid backup new files lists
exc Paranoidbackup\/.*\/new_excluded_files\.

exclude the paranoid backup control lists and virtual restore list because
they are included in the control files backup
exc Paranoidbackup\/.*\/control\.
exc Paranoidbackup\/.*\/virtual_restore_list

exclude rbcomm telnets log files
exc ^namelessp2\/dos\/k\/rbcomm\/telnets\/l.*\.txt$
exclude compiled rbcomm macro files
exc ^namelessp2\/dos\/k\/rbcomm\/.*\.rbm$

exclude netscape cache files named namelessp2/dos/programs.win/netscape/cache/*
#exc ^namelessp2\/dos\/programs\.win\/netscape\/cache($|\/)

exclude files ending with '.bak', '.tmp', or '.swp'
exc \.(bak|tmp|swp)$

exclude object files (files which have been compiled but not linked; object
files should be deleted after compiling, but often are not)
exc ^usr\/src\/.*\.o$

exclude depend files (temporary files generated by gcc; depend files should
be deleted after compiling, but often are not)
exc ^usr\/src\/.*\/\.depend$
exc ^usr\/src\/.*\.d$
exc ^usr\/src\/.*\.dep$

exclude files ending with '~', because they are probably backup copies
of other files.
exc ~$
