On 2017-06-19 10:28, Akibu Flash wrote:
@Craig Barratt See below. Essentially, I am trying to avoid having
to list multiple shares to backup for $Conf{RsyncShareName} and to
just list one and then use $Conf{BackupFilesExclude} to exclude a few
folders from that one share. Thanks.
$Conf{XferMethod} = rsync
$Conf{RsyncShareName} = /cygdrive/j/* #please note this is the nature
of my question. Currently I have multiple shares listed for
$Conf{RsyncShareName} (e.g. /cygdrive/j/Documents, /cygdrive/j/Photos,
etc.) But want to pare that down to just one i.e.
$Conf{RsyncShareName} = /cygdrive/j/* and to use the Excludes function
to exclude the files I don't want backed up.
Because your transfer method is rsync, your share names have to match
what rsync is using (i.e., "module name" in rsync parlance.)
/cygdrive/j/ could be a valid share name, but /cygdrive/j/* probably
isn't.
You'll need to start by getting this right.
$Conf{BackupFilesOnly} = blank
$Conf{BackupFilesExclude} = /cygdrive/j/useless_folder_1;
/cygdrive/j/useless_folder_2; /cygdrive/j/useless_folder_3
Let's assume that your share name is '/cygdrive/j/'. This would look
like this:
$Conf{BackupFilesExclude} = {
'/cygdrive/j/' => [
'useless_folder_1',
'useless_folder_2'
]
};
I note that this MUST match your share, OR, a '*' may be used here, to
match all shares.
------------------------------------------------------------------------------
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/