diff options
| author | Anders Betts <anders.betts@gmail.com> | 2026-09-17 21:57:31 +0200 |
|---|---|---|
| committer | Anders Betts <anders.betts@gmail.com> | 2026-09-17 21:57:31 +0200 |
| commit | 91f2af4f5ce2f295c5d0a8bfd22b8c3bcc5f6966 (patch) | |
| tree | 5cfbef5d684c03a542639d0a7d9297206cf36795 | |
| parent | 071b7e9b01e41d4048b1bbb3d9caaac4c8a526de (diff) | |
| download | bokf-91f2af4f5ce2f295c5d0a8bfd22b8c3bcc5f6966.tar.gz bokf-91f2af4f5ce2f295c5d0a8bfd22b8c3bcc5f6966.zip | |
docs: export backup token before docker compose exec
| -rw-r--r-- | docs/DEPLOY.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/DEPLOY.md b/docs/DEPLOY.md index eb3ec1c..74f3953 100644 --- a/docs/DEPLOY.md +++ b/docs/DEPLOY.md @@ -194,7 +194,9 @@ Then, before every restic run: take a snapshot through the daemon and let restic read only the snapshots — never the live database: ```sh +set -a . /etc/bokf/bokfd-backup.env +set +a docker compose --project-directory /mnt/data/bokf exec -T -e BOKFD_TOKEN \ bokfd bokfctl backup.snapshot >/dev/null find /mnt/data/bokf/var/db/backup -name 'bokfd-*.db' -mtime +14 -delete |
