Description
What's the issue?
Merges in the daily backup plan have an offset end of 7 days and triggered on sunday:
{
|
Name: "merge_week", |
TaskType: MERGE,
|
Schedule: ScheduleDefinition{
|
JobType: MERGE,
|
Frequency: 1, |
Period: "SUNDAY", |
Time: "23:20", |
},
|
// merge last 7 days |
Options: &MergeOptions{
|
OffsetEnd: 7, |
},
|
},
|
|
According to the documentation, the Sunday is day 0 and is included in the merge. This will result in the merge range to be Sunday - Sunday rather than Monday - Sunday.
The fix:
Change the OffsetEnd to 6 instead.