Re: [BackupPC-users] Excluding folders from backup
2017-04-07 02:58:44
On Friday 07 April 2017 07:29:30 Sorin Srbu wrote:
> Hello all,
>
> I'm at a loss here. I just can't get this to work.
>
> Situation:
> I have set to backup my homefolder /home/sorin on a CentOS 7.3 x64 box, but
> I want to exclude the folders /home/sorin/Videos and /home/sorin/ownCloud.
>
> To achieve this I have /home/sorin set in the field RsyncShareName.
>
> In the field BackupFilesExclude I have the two folders /home/sorin/Videos
> and /home/sorin/ownCloud.
>
> The override checkbox is ticked on both RsyncShareName and
> BackupFilesExclude.
>
> The field BackupFilesOnly is empty, as this would override anything in
> BackupFilesExclude as per the documentation.
>
> Rsync is used for this client.
> BackupPC v3.3.1 is used on the BPC-server, which runs CentOS 7.3.1611 x64.
>
>
> Now, is there any particular reason why the folders /home/sorin/ownCloud and
> /home/sorin/Videos _still_ gets backed up, despite my specifically adding
> exceptions/exclusions for them?
>
> I don't understand this... :-/
> What am I missing here?
>
> If more information is needed, please ask!
>
> Thanks in advance for any hints.
If you set RsyncShareName to /home/sorin you need to define a key /home/sorin
for BackupFilesExclude and add /Videos and /ownCloud to this key
It should look like this in your config file:
$Conf{RsyncShareName} = [
'/home/sorin'
];
$Conf{BackupFilesExclude} = {
'/home/sorin' => [
'/Videos',
'/ownCloud'
]
};
regards
Markus Köberl
--
Markus Koeberl
Graz University of Technology
Signal Processing and Speech Communication Laboratory
E-mail: markus.koeberl AT tugraz DOT at
------------------------------------------------------------------------------
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/
|
|
|