diff --git a/bin/scriptBorg.sh b/bin/scriptBorg.sh index e3e46f4..c7f94d0 100755 --- a/bin/scriptBorg.sh +++ b/bin/scriptBorg.sh @@ -140,12 +140,7 @@ Sauvegarde() { } Purge() { -borg prune \ - --prefix '{hostname}-' \ - --keep-daily=${NB_BACKUPS_JOUR} \ - --keep-weekly=${NB_BACKUPS_SEM} \ - --keep-monthly=${NB_BACKUPS_MOIS} \ - +borg prune --keep-daily=${NB_BACKUPS_JOUR} --keep-weekly=${NB_BACKUPS_SEM} --keep-monthly=${NB_BACKUPS_MOIS} PRUNE_EXIT=$? }