aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbackup.sh2
-rwxr-xr-xbackup_db.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/backup.sh b/backup.sh
index 26ae664..567d15e 100755
--- a/backup.sh
+++ b/backup.sh
@@ -72,7 +72,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
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