chnage borg params to a array

This commit is contained in:
2022-09-27 22:19:33 +02:00
parent 1728757989
commit 5a0a77b5ff
3 changed files with 5 additions and 3 deletions
+3
View File
@@ -89,6 +89,9 @@ function run_backups() {
echo "* Running backups"
do_backup
if [ ! -z "$BORG_BACKUP_TRUE" ]; then
BORG_CREATE_PARAMS=($BORG_CREATE_PARAMS)
BORG_PRUNE_PARAMS=($BORG_PRUNE_PARAMS)
create_borg_backup "$BACKUPNAME" "${destination}/config-${BACKUPNAME}-${timestamp}.xml"
purge_borg_backup "$BACKUPNAME"
fi