save
This commit is contained in:
9
sync.sh
9
sync.sh
@@ -19,10 +19,11 @@ function main() {
|
||||
local action="$1"
|
||||
shift
|
||||
case "$action" in
|
||||
clean ) clean_remote --prune "$@" ;;
|
||||
backup ) backup "$@" ;;
|
||||
restore ) restore "$@" ;;
|
||||
* ) RESTIC "$action" "$@" ;;
|
||||
clean ) clean_remote --prune "$@" ;;
|
||||
backup ) backup "$@" ;;
|
||||
restore ) restore "$@" ;;
|
||||
forget ) fatal "Refusing custom forget" ;;
|
||||
* ) RESTIC "$action" "$@" ;;
|
||||
esac
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user