add self update
This commit is contained in:
@@ -49,6 +49,8 @@ if [[ $? > 0 ]]; then
|
||||
BACKUP_SERVER="10.0.1.3"
|
||||
fi
|
||||
BACKUP_SERVER="192.168.178.100"
|
||||
info "Updating restic..."
|
||||
restic self-update
|
||||
echo "Done"
|
||||
|
||||
read_config
|
||||
Reference in New Issue
Block a user