remove --no-files-cache for newer borg versions
This commit is contained in:
parent
d007c2e3c5
commit
2a99348c9c
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue