The excludes should be relative to the share name. If you share name is
/home, then the exclude should be 'felfert/.m2/repository', not '/home/
felfert/.m2/repository'.
Your manual example works because you used "/home" instead of "/home/".
The more equivalent command for BackupPC is:
rsync -av --exclude=felfert/.m2/repository target:/home/ .
Craig
On Thu, Nov 30, 2017 at 7:14 AM, Fritz Elfert <fr...@fritz-elfert.de> wrote:
> I just have upgraded my local server to Fedora 26 which included an
> uprade of BackupPC v3 to BackupPC 4.1.3.
>
> Unfortunately, I experience a subtle difference of the file exclusion
> mechanism which hits me hard performancewise.
>
> With old BackupPC (cannot prove anymore) as well as with a
> manual test like
>
> rsync -av --exclude=/home/felfert/.m2/repository target:/home .
>
> On the target (in rsync terms: server), the specified directory is
> simply skipped which takes just millisecs.
>
> With BackupPC 4.3.1, the directory is missing in the resultin backup (as
> expected).
> However: The whole hierarchy below /home/felfert/.m2/repository is still
> recursively read on the target which takes ages (in my case ~2hours) and
> also puts quite some load on the target.
>
> This is a huge performance degradation compared to v3.
>
> Can somebody confirm this or do I have overlooked some necessary change
> (ragading v3 -> v4 migration) in the config?
>
> -Fritz
>
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> BackupPC-devel mailing list
> BackupPC-devel@lists.sourceforge.net
> List: https://lists.sourceforge.net/lists/listinfo/backuppc-devel
> 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-devel mailing list
BackupPC-devel@lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-devel
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/