Detect if password database is not present

master
Hektor Misplon 2023-06-12 00:26:06 +02:00
parent 5b4d9ec52b
commit 1df3dd3042
1 changed files with 7 additions and 6 deletions

View File

@ -8,12 +8,13 @@
# Select directory in repo using -r rclone:<repo>:<directory> # Select directory in repo using -r rclone:<repo>:<directory>
# #
# Runs `backup` command on $HOME and ignore what is listed in `.resticexclude` # Runs `backup` command on $HOME and ignore what is listed in `.resticexclude`
#
# restic \ # ```/etc/restic-env
# -o rclone.args="serve restic --stdio --b2-hard-delete --ignore-size --ignore-checksum --update" \ # export B2_ACCOUNT_ID=
# -r rclone:onedrive-vub:restic \ # export B2_ACCOUNT_KEY=
# -v backup "$HOME" \ # ```
# --exclude-file="$HOME/.resticexclude" #
# `restic -r b2:desktop-arch init`
source /etc/restic-env source /etc/restic-env
restic -r b2:"$HOSTNAME" backup \ restic -r b2:"$HOSTNAME" backup \