diff options
author | root <root@fucktheforce.de> | 2020-07-19 16:52:35 +0200 |
---|---|---|
committer | root <root@fucktheforce.de> | 2020-07-19 16:52:35 +0200 |
commit | 2a99348c9c7701654450a3a0218d0ece2dd00c43 (patch) | |
tree | 31202f36ac148f3a3df917013a05bd621209c48e /backup_db.sh | |
parent | d007c2e3c54a7012af1e2576e61200b7d4dd3918 (diff) |
remove --no-files-cache for newer borg versions
Diffstat (limited to 'backup_db.sh')
-rwxr-xr-x | backup_db.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backup_db.sh b/backup_db.sh index 5a951b0..b5eaa29 100755 --- a/backup_db.sh +++ b/backup_db.sh @@ -75,7 +75,7 @@ function check_borg_repo { repo_path="$userserver:$backupdir/$serverdir/$repo" fi #check if repo exists - $nice $borg_local_path list --remote-path "$borg_remote_path" --no-files-cache "$repo_path" > /dev/null 2>&1 + $nice $borg_local_path list --remote-path "$borg_remote_path" "$repo_path" > /dev/null 2>&1 if [ $? -ne 0 ] then # create repo if not exists |