On 2017-06-17 09:11, Akibu Flash wrote:
Now that I have gotten my backuppc to work, I am backing up certain
files on a Windows harddrive.  Most of the directories and files on
the harddrive are to be backed up, but I want to exclude several
directories from the backup and the files contained therein.  Instead
of indicating to backuppc the directories to be backed up in
RsyncShareName (which are numerous), I would like to merely tell
backuppc to backup the entire drive (in this case, "/cygdrive/j/") and
to exclude several of the directories on the the j drive (e.g. hey
backuppc, exclude "/cygdrive/j/useless_stuff_1",
"/cygdrive/j/useless_stuff_2" etc.).  How can this be accomplished?
When I look at the backuppc excludes function using the cgi interface,
and the examples given, I am a bit confused.  Do I merely type the
below in the cgi interface to exclude the aforementioned:

BackupFilesExclude = ['/cygdrive/j/useless_stuff_1',
'/cygdrive/j/useless_stuff_2']  (btw, is the "=" needed in the box or
do I just start with the open "[")

Or do I type the above or some variant directly into
/etc/backuppc/config.pl or the akibu-desktop.pl config file?  Thanks.

Akibu

Don't mix the syntax for the configuration web UI and the config.pl. The former will properly create the latter, and the web UI can be used without any particular knowledge of perl or use of brackets.

On the web UI, you will have a list of share names, or *, and then a list of excludes belonging to those share names. This translates to the syntax often shared here which corresponds to what you'd see in the config.pl files.

In either case, what you have above is incorrect, as your excludes need to correspond to a share ('*' is fine, if you want to associate excludes with all shares.) Since it's not obvious what your share names are, I can't tell you what this would be -- '/cygdrive/j' perhaps, but if it doesn't match the actual share, it won't exclude anything.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BackupPC-users mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to