Wrong remove schedule?

Asked by Fabio Marzocca

I have set the auto-remove sonfiguration to remove all snapshots older than 1 week.

Today (feb 24) I have run it again and this is what I am reading in the log:

"INFO: Remove backups older than: 20130211-000000"

Why "older than Feb 11" if today is Feb 24 and the setting is to remove snapshots older than 1 week?

Question information

Language:
English Edit question
Status:
Solved
For:
Back In Time Edit question
Assignee:
No assignee Edit question
Solved by:
Germar
Solved:
Last query:
Last reply:
Revision history for this message
Best Germar (germar) said :
#1

The calculation that is done by BIT for 'older than X weeks' is:
today - (today's weekday + 7 * X )
where the weekday start counting with Monday = 0.
This will be 24 - (6 + 7 * 1) = 11

So there will be X full weeks plus this week.
If you only want to keep exactly one week you can change to 7 days.

Regards,
Germar

Revision history for this message
Fabio Marzocca (thesaltydog) said :
#2

Thanks Germar, that solved my question.