[rancid] Revision controlled full backup without notification?
heasley
heas at shrubbery.net
Sat Feb 27 15:26:02 UTC 2016
Sat, Feb 27, 2016 at 12:51:39AM -0500, Lee:
> It's pretty easy - control_rancid puts the diff output into $TMP.diff
> So have rancid do unmodified config backups & add something like the following
>
> # -LR- begin: remove passwords etc. from diff listing
> sanitize.sh $TMP.diff >$TMP.diff2
> /bin/mv $TMP.diff2 $TMP.diff
I encourage you to use rancid.conf:DIFFSCRIPT added in rancid 3.2 to include
your custom filter. Otherwise, the right solution. Prost.
More information about the Rancid-discuss
mailing list