Restore of This week seems to point to last week


#1

Hi all,

I am currently running Duplicati - 2.0.1.61_experimental_2017-05-30
When I want to restore from the backup that I have been running for many months, I notice the following:
When selecting a Restore from date I see:
Latest:
May 15 2018
This week:
May 9 2018
May 8 2018
This month:
May 7 2018
May 6 2018
etc… etc…

I can not see any backups from May 14, 13, 12, 11, 10.
And This week should not show May 9 and May 8.
It seems This week is off by 1 week.

How can I get to my backups of May 14, 13, 12, 11 and 10?
The backups have been running un-interrupted for nearly a year, so they must be in there.

Would it help if I update to a newer version?
If I update, can I switch off this smart retention, that has newly implemented?

Hope to hear a reply soon.
And thanks also for making this software.


#2

Hi @Elune, welcome to the forum!

It sounds like you’re bringing up two different things here so let’s look at them individually:


The Restore list doesn’t include backups you expect to see

Without knowing your settings (are you running backups daily? do you have any retention policy rules that might be removing stale backups?) it’s hard to say what you SHOULD be seeing, so if you could include your job settings that could help (you can use the job “Export” -> “As Command-line” menu then remove any passwords or personal info).

Another possibility is that possible there were no files changed / added / deleted on the days you think are missing (in your case May 10, 11, 12, 13, 14). Unless you have enabled the --upload-unchanged-backups parameter Duplicati doesn’t bother making a “backup” of no changes.

--upload-unchanged-backups
If no files have changed, Duplicati will not upload a backup set. If the backup data is used to verify that a backup was executed, this option will make Duplicati upload a backupset even if it is empty
Default value: “false”

If your job logs (or emails, if you use them) go back far enough you could check those for run times (meaning the backup ran) but 0 values in the following fields (meaning nothing changed):

DeletedFiles: 0
DeletedFolders: 0
ModifiedFiles: 0

OpenedFiles: 0
AddedFiles: 0


The Restore list of backups for “This week” includes days you don’t think it should

According to the post below, the time periods are rolling - so “This week” means “the last 7 days”, not “Monday through Sunday”, “Sunday through Saturday”, or whatever 7 day period your part of the world happens to consider a “week”.