You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
expectedly, rsnapshot creates a logfile /var/log/instance01
unexpectedly, rsnaphot retains only 7 copies of the "daily" backup level
What did you expect to happen
rsnaphot should retain 30 copies of the "daily" backup level, as the retain daily 30 parameter from the instance01 configuration succeeds, and hence should overwrite the retain daily 7 parameter from the base configuration.
This is apparently not the case for the retain parameter, which seems to add all encountered parameter values to an array, indifferent to already existing "name" backup level occurances.
Remediation :
only new backup level "name"s should be added to the array ;
exisiting backup level "name"s should be overwritten with the new "number" value.
Current mitigation :
include base configs at the end of the instsance config (unwanted, as this prevents overwriting base conf parameters)
do not define retain parameters in the base config.
The text was updated successfully, but these errors were encountered:
Checklist
What did you do?
base.conf
with generic retain parametersinstance01.conf
with specific overriding retain parametersWhat happened?
/var/log/instance01
What did you expect to happen
retain daily 30
parameter from the instance01 configuration succeeds, and hence should overwrite theretain daily 7
parameter from the base configuration.My configuration
see above for a minimal example
Environment
Other information
When including a config file, the contents of the config file are inserted at that specific location :
As expected, subsequent parameter values override previous parameter values (cfr.
logfile
).This is apparently not the case for the
retain
parameter, which seems to add all encountered parameter values to an array, indifferent to already existing "name" backup level occurances.Remediation :
Current mitigation :
retain
parameters in the base config.The text was updated successfully, but these errors were encountered: