Subtle difference of v3 and v4 regarding exclusion performance

Fritz Elfert <[email protected]> Thu, 30 Nov 2017 16:14:46 +0100
Newsgroups gmane.comp.sysutils.backup.backuppc.devel
Message-ID <[email protected]>
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--===============4637139324184990554==
Content-Type: multipart/signed; micalg=pgp-sha1;
 protocol="application/pgp-signature";
 boundary="WXTIJ9lVPusIS0GEwhoVvlo19gNLQNNL4"

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--WXTIJ9lVPusIS0GEwhoVvlo19gNLQNNL4
Content-Type: multipart/mixed; boundary="vb0arXao761eDURVfxijgrBsBr01lbjJ9";
 protected-headers="v1"
From: Fritz Elfert <[email protected]>
To: [email protected]
Message-ID: <[email protected]>
Subject: Subtle difference of v3 and v4 regarding exclusion performance

--vb0arXao761eDURVfxijgrBsBr01lbjJ9
Content-Type: text/plain; charset=utf-8
Content-Language: en-IE
Content-Transfer-Encoding: quoted-printable

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=3D/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



--vb0arXao761eDURVfxijgrBsBr01lbjJ9--

--WXTIJ9lVPusIS0GEwhoVvlo19gNLQNNL4
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iF0EARECAB0WIQQCtMx4JPkRJ5dBVsJugziYAzKmsAUCWiAgbgAKCRBugziYAzKm
sKKAAJ9NhNlYjmFvoXeLuRbNrHLI1zMudgCePvi2qMeLrbGO8hhsJvhFl4U29OI=
=e7kM
-----END PGP SIGNATURE-----

--WXTIJ9lVPusIS0GEwhoVvlo19gNLQNNL4--


--===============4637139324184990554==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
--===============4637139324184990554==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
BackupPC-devel mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-devel
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

--===============4637139324184990554==--