kopia lustrzana https://github.com/borgmatic-collective/docker-borgmatic
Added details on how to configure borgmatic
rodzic
60395696e1
commit
6d6d78038a
10
README.md
10
README.md
|
@ -15,7 +15,8 @@ If using remote repositories mount your .ssh to /root/.ssh within the container
|
|||
|
||||
### Example run command
|
||||
```
|
||||
docker run -d \
|
||||
docker run \
|
||||
--detach --name borgmatic \
|
||||
-v /home:/source/home:ro \
|
||||
-v /mnt/borg:/repository \
|
||||
-v /home/user/.ssh:/root/.ssh \
|
||||
|
@ -43,7 +44,12 @@ Your data you wish to backup
|
|||
Mount your borg backup repository here
|
||||
#### /root/.ssh
|
||||
Mount either your own .ssh here or create a new one with ssh keys in for your remote repo locations
|
||||
|
||||
#### /etc/borgmatic.d
|
||||
Mount your borgmatic configuration file(s) here. To generate an example configuration, run:
|
||||
```
|
||||
docker exec borgmatic \
|
||||
sh -c "generate-borgmatic-config -d /etc/borgmatic.d/config.yaml"
|
||||
```
|
||||
### Environment
|
||||
|
||||
#### TZ
|
||||
|
|
Ładowanie…
Reference in New Issue