Compare commits
2 Commits
main
...
dev-fix-re
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a29347686e | ||
|
|
52d217ca1d |
@@ -3,10 +3,9 @@
|
|||||||
: "${AWS_ACCESS_KEY_ID:?Need the access key id}"
|
: "${AWS_ACCESS_KEY_ID:?Need the access key id}"
|
||||||
: "${AWS_SECRET_ACCESS_KEY:?Need the secret access key}"
|
: "${AWS_SECRET_ACCESS_KEY:?Need the secret access key}"
|
||||||
: "${RESTIC_PASSWORD:?Need the restic password}"
|
: "${RESTIC_PASSWORD:?Need the restic password}"
|
||||||
: "${LOG_PATH:-./restic-backup.log}"
|
: "${LOG_PATH:-/var/log/restic-backup.log}"
|
||||||
: "${seafile_data_local:-/seafile}"
|
: "${seafile_data_local:-/seafile}"
|
||||||
|
|
||||||
# need to securely provide password: https://restic.readthedocs.io/en/latest/faq.html#how-can-i-specify-encryption-passwords-automatically
|
|
||||||
restic snapshots > /dev/null || restic init
|
restic snapshots > /dev/null || restic init
|
||||||
|
|
||||||
#Define a timestamp function
|
#Define a timestamp function
|
||||||
|
|||||||
Reference in New Issue
Block a user