icorrection de la purge
This commit is contained in:
parent
7f4bcf9bd5
commit
06fe194dcc
@ -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=$?
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user