Skip to content
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

How to take incremental backup of persistent volumes in AWS using Velero #178

Open
shubhamyadav20 opened this issue Jun 3, 2022 · 4 comments

Comments

@shubhamyadav20
Copy link

We have currently set it up the Velero to take daily backup of pv. but problem is causing us too much cost of snapshots .

is there any way to take incremental backup using velero like AWS lifecycle Manager Policy ?

Also, need a help to retain the snapshot for certain period of time after that it should deleted automatically.

Thanks in advance !!!

@mynktl
Copy link
Member

mynktl commented Jun 7, 2022

scheduled cstor backups are incremental backups. see https://github.com/openebs/velero-plugin#creating-a-scheduled-remote-backup

Also, need a help to retain the snapshot for certain period of time after that it should deleted automatically.

For this, you can automate schedule creation as per the need. For cstor, the first backup of the schedule will be a full backup and rest will be incremental, so you need to set the retention period accordingly.

@shubhamyadav20
Copy link
Author

I already setup velero as daemon set on kubernetes cluster but not sure whether it is incremental or not ? along with that ttl is set to 2016h but in aws snapshot it is keeping showing the snapshot older than 84 days which has been created via velero backup.

Please suggest to remove those backup from aws snapshot which has been expired via velero.

@shubhamyadav20
Copy link
Author

when my ttl is defined and backups has been expired after 84 days but aws snapshots are still there.

don't know what is happening.

For AWS Snapshots aws is charging the pricing as incremental so in my point of view backup is not helpful because full backup will automatically deleted after 84 days so all backups are useless.

Please help to resolve my issue. it pending since long.

@shubhamyadav20
Copy link
Author

image
also, not sure where is older than 51 days to 1 day expires backup

In AWS Snapshot it is full volume backup but pricing is constantly same yesterday

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants