1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/borg_ynh.git synced 2024-09-03 18:16:05 +02:00

[fix] Prune wordpress should not prune wordpress__2

This commit is contained in:
ljf 2021-03-03 19:00:04 +01:00
parent 710b0d58b9
commit d62d4120fa

View file

@ -47,7 +47,9 @@ This is an automated message from your beloved YunoHost server." | /usr/bin/mail
borg create $repo::${name}_${current_date} ./ 2>&1 >/dev/null | log_with_timestamp borg create $repo::${name}_${current_date} ./ 2>&1 >/dev/null | log_with_timestamp
popd popd
borg prune $repo -P ${name} --keep-hourly 2 --keep-daily=7 --keep-weekly=8 --keep-monthly=12 2>&1 >/dev/null | log_with_timestamp # About thi _20 it's a crazy fix to avoid pruning wordpress__2
# if you prune wordpress
borg prune $repo -P ${name}_20 --keep-hourly 2 --keep-daily=7 --keep-weekly=8 --keep-monthly=12 2>&1 >/dev/null | log_with_timestamp
} }
do_mount() { do_mount() {