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

Ideas around retention - deleting of old data #25

Open
tgmedia-nz opened this issue Apr 19, 2018 · 3 comments
Open

Ideas around retention - deleting of old data #25

tgmedia-nz opened this issue Apr 19, 2018 · 3 comments

Comments

@tgmedia-nz
Copy link

Hi guys, I hope I haven't missed reading it somewhere but I can't find how to keep data only for a certain amount of days, e.g.

keep 4 full backups
keep 28 diff backups

As of now z3 will keep backing up without removing older backups, what do you guys use to keep data only for a specific time?

Cheers

@pdobrescu
Copy link

Hi @tgmedia-nz and thanks for using Z3. The way we're currently doing this is the following:

  • on the server where Z3 is running we have a script that does an automated ZFS cleanup of old snapshots (we keep them for 30 days)
  • on the S3 bucket we have an automatic expiry policy of 90 days and after that the backups are being removed automatically

As this is an open project and the use case above doesn't fit your needs, a PR with a retention option to be added to Z3 would be more than welcome!

@CaerphillyMediaLtd
Copy link

@pdobrescu If you remove them after 90 days aren't you deleting the files that contain the full system? Or are you doing a --full backup periodically?

@bogdanpetrea
Copy link
Contributor

@CaerphillyMediaLtd: Yes, you are right. We do full backups periodically.

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

4 participants