save
parent
2cde5fbb38
commit
370a033a62
9
sync.sh
9
sync.sh
|
|
@ -19,10 +19,11 @@ function main() {
|
||||||
local action="$1"
|
local action="$1"
|
||||||
shift
|
shift
|
||||||
case "$action" in
|
case "$action" in
|
||||||
clean ) clean_remote --prune "$@" ;;
|
clean ) clean_remote --prune "$@" ;;
|
||||||
backup ) backup "$@" ;;
|
backup ) backup "$@" ;;
|
||||||
restore ) restore "$@" ;;
|
restore ) restore "$@" ;;
|
||||||
* ) RESTIC "$action" "$@" ;;
|
forget ) fatal "Refusing custom forget" ;;
|
||||||
|
* ) RESTIC "$action" "$@" ;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue