From a78ea586ff8b4ec9884748e0559b0eb2635e28c0 Mon Sep 17 00:00:00 2001 From: zwnk Date: Thu, 3 Aug 2023 10:18:55 -0400 Subject: [PATCH] first --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..9da1c3d --- /dev/null +++ b/README.md @@ -0,0 +1,18 @@ +## this uses +https://github.com/instrumentisto/restic-docker-image + +## init once repo +``` +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 +``` +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 resitc_prune --rm -e RESTIC_REPOSITORY=rclone:remote:backup -e RESTIC_PASSWORD=SUPERPASSWORD -e RCLONE_CONFIG=/rcloneconf/rclone.conf instrumentisto/restic prune +``` + +## +more commands can be found: +https://restic.readthedocs.io/en/latest/045_working_with_repos.html \ No newline at end of file