@Craig Barratt<mailto:[email protected]> 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.
$Conf{BackupFilesOnly} = blank
$Conf{BackupFilesExclude} = /cygdrive/j/useless_folder_1;
/cygdrive/j/useless_folder_2; /cygdrive/j/useless_folder_3
________________________________
From: Craig Barratt <[email protected]>
Sent: Sunday, June 18, 2017 9:35:25 PM
To: General list for user discussion, questions and support
Subject: Re: [BackupPC-users] BackupPC Excludes - How To
Akibu,
So we don't have to guess, please tell us the following settings from this
client's config file: $Conf{XferMethod}, the corresponding
$Conf{RsyncShareName} (or $Conf{SmbShareName} etc), $Conf{BackupFilesOnly} and
$Conf{BackupFilesExclude}.
Craig
On Sun, Jun 18, 2017 at 5:19 PM, Akibu Flash
<[email protected]<mailto:[email protected]>> wrote:
Thank you @[email protected]<mailto:[email protected]> for
your response. In terms of share names, currently I am listing multiple shares
on my “j” drive for backup e.g. /cygdrive/j/Documents; /cgdrive/j/Photos, etc.
What I would like to do is to not list each share name and have backuppc backup
the entire /cygdrive/j drive and merely have a couple of directories excluded
since there are only a few directories on j that I don’t want backed up. Does
this mean that in the web interface, my share name would be /cygdrive/j/*? And
my excludes would be something like /cygdrive/j/useless_stuff_1;
/cygdrive/j/useless_stuff_2?
Thanks again.
From: Michael Stowe
[mailto:[email protected]<mailto:[email protected]>]
Sent: Sunday, June 18, 2017 8:05 PM
To: General list for user discussion, questions and support
<[email protected]<mailto:[email protected]>>
Cc: Akibu Flash <[email protected]<mailto:[email protected]>>
Subject: Re: [BackupPC-users] BackupPC Excludes - How To
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<http://config.pl> or the
akibu-desktop.pl<http://akibu-desktop.pl> config file? Thanks.
Akibu
Don't mix the syntax for the configuration web UI and the
config.pl<http://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<http://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]<mailto:[email protected]>
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
------------------------------------------------------------------------------
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/