-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Azure - unable to take full backup every week with daily incremental backup #7309
Comments
You can create two schedules: one for full backup runs every Monday and the other one for incremental backup runs daily. |
Thank you @ywk253100 . |
Hey Azure Disk based incremental snapshots are self sufficient - even if chain in between gets broken. I am not fully clear on this paritcular use case of full snapshot. Can you please elaborate why you need it in first place? |
Ideally you should take all snapshots with incremental=true and that should suffice all use cases for you. Even if any intermediate snapshot is deleted, azure will take care of making sure that all snapshots are still properly restorable with required data. you don't have to worry about restorability of any of the snapshots |
Thanks @anshulahuja98. One more thing to check, does Velero only take backups for pv with reclaim policy as delete? I don’t see Velero taking backups for pvs with reclaim type retain |
with the above configuration, we are taking the incremental backups continuously. |
" One more thing to check, does Velero only take backups for pv with reclaim policy as delete? I don’t see Velero taking backups for pvs with reclaim type retain" I am not aware if there should be any issue with retain PVs. |
yes your understanding is correct. -> 2nd day snapshot will include data of both 1st and 2nd day. |
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
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.
The text was updated successfully, but these errors were encountered: