fix
This commit is contained in:
parent
a78ea586ff
commit
f94a27b495
1 changed files with 2 additions and 2 deletions
|
@ -2,12 +2,12 @@
|
||||||
https://github.com/instrumentisto/restic-docker-image
|
https://github.com/instrumentisto/restic-docker-image
|
||||||
|
|
||||||
## init once repo
|
## init once repo
|
||||||
```
|
```console
|
||||||
docker run --rm --name restic_init -e RESTIC_REPOSITORY=rclone:remote:backup -e RESTIC_PASSWORD=SUPERPASSWORD -v /mnt/user/zwnk/resticNasBackup/:/rcloneconf/ -e RCLONE_CONFIG=/rcloneconf/rclone.conf instrumentisto/restic --verbose --host MYSERVERNAME init
|
docker run --rm --name restic_init -e RESTIC_REPOSITORY=rclone:remote:backup -e RESTIC_PASSWORD=SUPERPASSWORD -v /mnt/user/zwnk/resticNasBackup/:/rcloneconf/ -e RCLONE_CONFIG=/rcloneconf/rclone.conf instrumentisto/restic --verbose --host MYSERVERNAME init
|
||||||
```
|
```
|
||||||
|
|
||||||
## backup job
|
## backup job
|
||||||
```
|
```console
|
||||||
docker run --rm --name restic_foto_backup -v /mnt/user/fotos:/fotos -e RESTIC_REPOSITORY=rclone:remote:backup -e RESTIC_PASSWORD=SUPERPASSWORD -v /mnt/user/zwnk/resticNasBackup/:/rcloneconf/ -e RCLONE_CONFIG=/rcloneconf/rclone.conf instrumentisto/restic --verbose --host MYSERVERNAME backup /fotos
|
docker run --rm --name restic_foto_backup -v /mnt/user/fotos:/fotos -e RESTIC_REPOSITORY=rclone:remote:backup -e RESTIC_PASSWORD=SUPERPASSWORD -v /mnt/user/zwnk/resticNasBackup/:/rcloneconf/ -e RCLONE_CONFIG=/rcloneconf/rclone.conf instrumentisto/restic --verbose --host MYSERVERNAME backup /fotos
|
||||||
docker run --name restic_forget --rm -e RESTIC_REPOSITORY=rclone:remote:backup -e RESTIC_PASSWORD=SUPERPASSWORD -e RCLONE_CONFIG=/rcloneconf/rclone.conf instrumentisto/restic forget --keep-last 3
|
docker run --name restic_forget --rm -e RESTIC_REPOSITORY=rclone:remote:backup -e RESTIC_PASSWORD=SUPERPASSWORD -e RCLONE_CONFIG=/rcloneconf/rclone.conf instrumentisto/restic forget --keep-last 3
|
||||||
docker run --name resitc_prune --rm -e RESTIC_REPOSITORY=rclone:remote:backup -e RESTIC_PASSWORD=SUPERPASSWORD -e RCLONE_CONFIG=/rcloneconf/rclone.conf instrumentisto/restic prune
|
docker run --name resitc_prune --rm -e RESTIC_REPOSITORY=rclone:remote:backup -e RESTIC_PASSWORD=SUPERPASSWORD -e RCLONE_CONFIG=/rcloneconf/rclone.conf instrumentisto/restic prune
|
||||||
|
|
Loading…
Reference in a new issue