Hi,
On 21-Sep-06, at 6:36 PM, David Keegel wrote:
Also from a query someone sent me off-list, it seems that we need to
clarify exactly what the per-backup exclude options do - whether they
add to the global excludes or whether they override them entirely.
Includes and excludes (either global or per-backup) always add to the
include/exclude list. There is no overriding.
Sorry to bother you with this again. The global excludes are being
overridden by per-backup excludes, see.
I have the following in my rsnapshot.conf
#include ???
#include ???
exclude /etc/shadow*
...
# LOCALHOST
backup /home/ localhost/
backup /etc/ localhost/ exclude=my-other-
secret-file
backup /usr/local/ localhost/
Rsync is being run without my /etc/shadow exclude. The exclude
parameter when syncing /etc has been overridden by the per-backup
exclude, "my-other-secret-file".
[13/Nov/2006:12:02:40] /usr/bin/rsync -a --delete --numeric-ids --
relative --delete-excluded --exclude=/etc/shadow* /home /var/cache/
rsnapshot/hourly.0/localhost/
[13/Nov/2006:12:02:40] /usr/bin/rsync -a --delete --numeric-ids --
relative --delete-excluded --exclude=my-other-secret-file /etc /var/
cache/rsnapshot/hourly.0/localhost/
[13/Nov/2006:12:02:40] /usr/bin/rsync -a --delete --numeric-ids --
relative --delete-excluded --exclude=/etc/shadow* /usr/local /var/
cache/rsnapshot/hourly.0/localhost/
Do you have any plan on changing this behavior or perhaps update the
documentation?
Thanks,
Regards
Simon
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss
