Skip to content

Azure - unable to take full backup every week with daily incremental backup  #7309

@sanzzz

Description

@sanzzz

HI ,
I am using helm charts for installing velero on aks cluster https://github.com/vmware-tanzu/helm-charts/blob/main/charts/velero/values.yaml#L598 , everything works as expected.

we want to

  1. Schedule the daily incremental backups for a week for both configuraiton and pv's
  2. Take full backup at start of the week and repeat taking incremental backups until end of next week
  3. Keep three weeks of backups.

With the current schdule.yaml we cannot do that . Can you please check?

schedules:
mybackup:
disabled: false
labels:
myenv: foo
annotations:
myenv: foo
schedule: "0 * * * *"
useOwnerReferencesInBackup: false
template:
ttl: "240h"
storageLocation: default

with the above configuration, we are taking the incremental backups continuously.
With 240h (10days)- if we take a backup on first day of week and snapshot type as incremental ,we get full backup on day 1 and then it keeps taking incremental snapshots for 10 days. On 11th day the 1st backup will be removed by moving its content to second day's incremental snapshot and second day's snapshot becomes 1st snapshot . Is my understanding righ?

I don't see an option to take full backup at the start of every week as a new job.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions