-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Martin
On 5-Sep-06, at 7:30 AM, martin f krafft wrote:
With the following lines in the configuration file:
exclude /sys
exclude /proc
backup [EMAIL PROTECTED]:/ wall/ exclude=/var/spool/squid
the rsync call used is
/usr/bin/rsync -a --delete --numeric-ids --relative
--delete-excluded --exclude=/var/spool/squid --rsh=/usr/bin/ssh
[EMAIL PROTECTED]:/ /srv/backups/daily.0/wall/
you can see how the /sys and /proc excludes are being ignored.
I would consider this a bug as this behaviour is not documented.
I think global exclude/include options should apply to all backups.
I am forwarding this to the upstream authors.
You can append your --exclude directly to the end of rsync_long_args
in the configuration:
rsync_long_args --delete --numeric-ids --relative --delete-excluded --
exclude=/sys --exclude=/proc
Or better, use --exclude-from and an exclude file:
rsync_long_args --delete --numeric-ids --relative --delete-exclude --
exclude-from=/path/to/exclude/file
Simon
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)
iD8DBQFE/ZRz1jAZg9vxR6wRArV4AKCHJbXK7/ArIrBGJDFuCVThnrt63QCfSeXF
+xfFfYokDkFeRISL1Q5u0NA=
=TUET
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]