Allow to pass backup path as argument

This commit is contained in:
2023-04-06 17:47:21 +02:00
parent 81892dc7ef
commit c8c5fce9f9
2 changed files with 2 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
#!/bin/sh -e
BACKUP_PATH=${BACKUP_PATH:-$1}
INSTANCE="$(echo ${INSTANCE:-${TAG}} | envsubst)"
export RESTIC_REPOSITORY="$(echo ${RESTIC_REPOSITORY} | envsubst)"