mirror of
https://github.com/YunoHost-Apps/borg_ynh.git
synced 2024-09-03 18:16:05 +02:00
Update backup_method
Fix borg backup location
This commit is contained in:
parent
b458195190
commit
4fa911d1ca
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ This is an automated message from your beloved YunoHost server." | /usr/bin/mail
|
|||
# About the {now} placeholder:
|
||||
# https://borgbackup.readthedocs.io/en/stable/usage/create.html#description
|
||||
# In the archive name, you may use the following placeholders: {now}, {utcnow}, {fqdn}, {hostname}, {user} and some others.
|
||||
"$borg" create --stats "::${name}-{now}" "$work_dir"
|
||||
"$borg" create --stats "${BORG_REPO}::${name}-{now}" "$work_dir"
|
||||
|
||||
"$borg" prune --glob-archives "${name}-*" --list --keep-hourly 2 --keep-daily=7 --keep-weekly=8 --keep-monthly=12
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue