mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00:00
fix selecting a backup container
Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
parent
8a6de8f63c
commit
8f1fcde006
4 changed files with 16 additions and 16 deletions
|
|
@ -9,7 +9,10 @@ if [ -z "$BORG_PASSWORD" ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
export BORG_PASSWORD
|
||||
# Export defaults
|
||||
export BORG_PASSPHRASE="$BORG_PASSWORD"
|
||||
export BORG_UNKNOWN_UNENCRYPTED_REPO_ACCESS_IS_OK=yes
|
||||
export BORG_RELOCATED_REPO_ACCESS_IS_OK=yes
|
||||
|
||||
# Validate BORG_MODE
|
||||
if [ "$BORG_MODE" != backup ] && [ "$BORG_MODE" != restore ] && [ "$BORG_MODE" != check ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue