#3558 Issue open: I want to achieve to keep4 backups and rescue images using the rear configuration

Labels: support / question

20pa5a1203 opened issue at 2026-01-30 07:02:

Requesting support or just a question

NETFS

Platform

Other

Additional information

OUTPUT=ISO
OUTPUT_URL=nfs://10.x.x.x/ReaR-backup
BACKUP=NETFS
BACKUP_URL=nfs://10.x.x.x/ReaR-backup
BACKUP_PROG_EXCLUDE=("${BACKUP_PROG_EXCLUDE[@]}" '/media' '/var/tmp' '/var/crash')
BACKUP_PROG_ARCHIVE="`hostname`+`date +%Y-%m-%d-%H`"
ISO_PREFIX="`hostname`+`date +%Y-%m-%d-%H`"

how to keep last four backups and rescue images ? is it possible to achieve?

gdha commented at 2026-03-16 15:31:

You can use the NETFS_KEEP_OLD_BACKUP_COPY=yes to keep the previous archive + ISO. We have not foreseen to keep more copies.

jsmeix commented at 2026-03-17 07:44:

See also
https://en.opensuse.org/SDB:Disaster_Recovery#Relax-and-Recover_versus_backup_and_restore
therein note in particular

It is your task to ensure your backups
are kept safe at a sufficiently secure place.
In particular the place where ReaR writes a new backup
(e.g. a NFS share or a USB disk) is not a really safe place
to also keep old backups (arbitrary things might go wrong
when writing there).

[Export of Github issue for rear/rear.]