Skip to content

Commit 7ab739c

Browse files
committed
Document persistent volumes in the README
fixes #31
1 parent 8222f89 commit 7ab739c

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,14 @@ docker run \
114114
pschiffe/borg
115115
```
116116

117+
## Volumes
118+
119+
The following Docker volumes are used by the examples.
120+
121+
**borg-config:/root** - persistent Borg home directory. Stores Borg configuration and cache (`/root/.config/borg`, `/root/.cache/borg`) and SSH data (for example generated keys). Keep this volume across runs so this state survives container recreation.
122+
123+
**borg-repo:/borg/repo** - local Borg repository storage. Use this when storing backups in a Docker volume instead of a remote repository.
124+
117125
## Environment variables
118126

119127
Description of all accepted environment variables follows.

0 commit comments

Comments
 (0)