icorrection de la purge

This commit is contained in:
Didier Denoual 2024-11-03 14:50:19 +01:00
parent 7f4bcf9bd5
commit 06fe194dcc

View File

@ -140,12 +140,7 @@ Sauvegarde() {
} }
Purge() { Purge() {
borg prune \ borg prune --keep-daily=${NB_BACKUPS_JOUR} --keep-weekly=${NB_BACKUPS_SEM} --keep-monthly=${NB_BACKUPS_MOIS}
--prefix '{hostname}-' \
--keep-daily=${NB_BACKUPS_JOUR} \
--keep-weekly=${NB_BACKUPS_SEM} \
--keep-monthly=${NB_BACKUPS_MOIS} \
PRUNE_EXIT=$? PRUNE_EXIT=$?
} }