Skip to content

Commit

Permalink
Update README.md for achieve name gotcha
Browse files Browse the repository at this point in the history
  • Loading branch information
hozza authored Dec 13, 2024
1 parent 9a8c38e commit 43282f6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ borgmatic --stats -v 1 --files

Both these commands will use the `borgmatic.d/config.yaml` file you provided, along with the `BORG_PASSPHRASE` and other environment variables in your docker configuration.

> **Note/Gotcha for archive names:**
> By default borgmatic uses `{hostname}` for naming (and then pruning, compacting archives). However the docker containers hostname changes every time it's rebuilt. To ensure consistent naming across archives and a properly working prune/compact you should specifically set the archive name in the config.yaml e.g. `archive_name_format: 'my-pc-backup-{now:%Y-%m-%d-%H%M%S}`.
## Volumes ##

The following volumes are available for mounting:
Expand Down

0 comments on commit 43282f6

Please sign in to comment.