#2467 Issue closed: Keep only 5 last backup

Labels: support / question, fixed / solved / done

rearuser opened issue at 2020-08-04 10:15:

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 commented at 2020-08-04 11:19:

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

rearuser commented at 2020-08-04 14:44:

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 commented at 2020-08-04 14:54:

@rearuser

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

V.

rearuser commented at 2020-08-05 07:49:

Thank you for your feedback


[Export of Github issue for rear/rear.]