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

Keep only 5 last backup #2467

Closed
rearuser opened this issue Aug 4, 2020 · 4 comments
Closed

Keep only 5 last backup #2467

rearuser opened this issue Aug 4, 2020 · 4 comments

Comments

@rearuser
Copy link

rearuser commented Aug 4, 2020

Hello,

Is there an option that could delete and old backup after a period
I put the variable NETFS_KEEP_OLD_BACKUP_COPY=y , but i need to keep only 5 instances, so the oldest one could be deleted and replaced by the new one

is there a way to do this with rear please ?

Thank you in advance

@jsmeix
Copy link
Member

jsmeix commented Aug 4, 2020

Relax-and-Recover (ReaR) is neither a backup software
nor a backup management software
and it is not meant to be one.

See the section
"Relax-and-Recover versus backup and restore" in
https://en.opensuse.org/SDB:Disaster_Recovery

@jsmeix jsmeix closed this as completed Aug 4, 2020
@rearuser
Copy link
Author

rearuser commented Aug 4, 2020

If i understand rear is a disaster recover, so what i want to keep not one iso, but many ones, and if there is a way that rear could delete the previous iso starting after a period

@gozora
Copy link
Member

gozora commented Aug 4, 2020

@rearuser

POST_BACKUP_SCRIPT might help you to implement your own backup retention policy ...

V.

@rearuser
Copy link
Author

rearuser commented Aug 5, 2020

Thank you for your feedback

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

No branches or pull requests

3 participants