BackupPC-users

Re: [BackupPC-users] BackupPC Excludes - How To

2017-06-19 00:36:26
Subject: Re: [BackupPC-users] BackupPC Excludes - How To
From: Craig Barratt <craigb AT gmail DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Sun, 18 Jun 2017 21:35:25 -0700
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 <akibuflash AT outlook DOT com> wrote:

Thank you @mstowe AT chicago.us.mensa DOT org 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:mstowe AT chicago DOT us.mensa.org]
Sent: Sunday, June 18, 2017 8:05 PM
To: General list for user discussion, questions and support <backuppc-users@lists.sourceforge.net>
Cc: Akibu Flash <akibuflash AT outlook DOT com>
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 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.

Image removed by sender.


------------------------------------------------------------------------------
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
BackupPC-users@lists.sourceforge.net
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
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

ADSM.ORG Privacy and Data Security by KimLaw, PLLC