Remove 'diff' to restic repos
This commit is contained in:
parent
a7f7768567
commit
5fb9996d6e
4
bare.sh
4
bare.sh
|
@ -297,8 +297,8 @@ for f in $REPOSTOBACKUP; do
|
|||
${RESTIC} stats $AUTHOPTS $CONNECTIONSOPTS 2>&1 >> ${LOG}
|
||||
rv=$?
|
||||
elif [[ $CMD == "diff" ]]; then
|
||||
${RESTIC} diff $AUTHOPTS $CONNECTIONSOPTS 2>&1 >> ${LOG}
|
||||
rv=$?
|
||||
log "Error: diff not supported in restic."
|
||||
rv=1
|
||||
elif [[ $CMD == "init" ]]; then
|
||||
# check whether it already exists first!
|
||||
${RESTIC} stats $AUTHOPTS $CONNECTIONSOPTS >/dev/null 2>&1
|
||||
|
|
Loading…
Reference in New Issue