From fc829e2af9030198ba6ecad6ee923703e2022ced Mon Sep 17 00:00:00 2001 From: RealStickman Date: Wed, 3 Mar 2021 21:31:12 +0100 Subject: [PATCH] Remove nextcloud-xyz and realstickman-xyz backups. Add hydra var and etc --- arch-config/Dokumente/restic.md | 57 ++++++++------------------------- 1 file changed, 14 insertions(+), 43 deletions(-) diff --git a/arch-config/Dokumente/restic.md b/arch-config/Dokumente/restic.md index 394e11f4..9b95f567 100755 --- a/arch-config/Dokumente/restic.md +++ b/arch-config/Dokumente/restic.md @@ -47,7 +47,6 @@ Does not remove data, just links Clean up unreferenced data. "-n" for dry run `restic -r b2:(bucket):(path) prune` - ### arco-pc-backup home ```bash restic -r b2:arco-pc-backup:/home/marc init @@ -76,58 +75,30 @@ restic -r b2:arco-pc-backup:/mnt/harddrive snapshots restic -r b2:arco-pc-backup:/mnt/harddrive restore --target "/mnt/storage" (snapshot) ``` -### hydra-server-backup /etc/nginx -```bash -restic -r b2:hydra-server-backup:/etc/nginx init +### hydra-server-backup var ``` -```bash -restic -r b2:hydra-server-backup:/etc/nginx backup --verbose "/etc/nginx" +restic -r b2:hydra-server-backup:var init ``` -```bash -restic -r b2:hydra-server-backup:/etc/nginx snapshots ``` -```bash -restic -r b2:hydra-server-backup:/etc/nginx restore --target "/etc/nginx" +restic -r b2:hydra-server-backup:var backup --verbose "/var" +``` +``` +restic -r b2:hydra-server-backup:var snapshots +``` +``` +restic -r b2:hydra-server-backup:var restore --target "/var" ``` -### realstickman-xyz-backup root -```bash -restic -r b2:realstickman-xyz-backup:root init +### hydra-server-backup etc ``` -```bash -restic -r b2:realstickman-xyz-backup:root backup --verbose "/root" -``` -```bash -restic -r b2:realstickman-xyz-backup:root snapshots -``` -```bash -restic -r b2:realstickman-xyz-backup:root restore --target "/root" -``` - -### realstickman-xyz-backup etc -```bash -restic -r b2:realstickman-xyz-backup:etc init -``` -```bash -restic -r b2:realstickman-xyz-backup:etc backup --verbose "/etc" -``` -```bash -restic -r b2:realstickman-xyz-backup:etc snapshots -``` -```bash -restic -r b2:realstickman-xyz-backup:etc restore --target "/etc" -``` - -### nextcloud-realstickman-backup var -``` -restic -r b2:nextcloud-realstickman-backup:var init +restic -r b2:hydra-server-backup:etc init ``` ``` -restic -r b2:nextcloud-realstickman-backup:var backup --verbose "/var" +restic -r b2:hydra-server-backup:etc backup --verbose "/etc" ``` ``` -restic -r b2:nextcloud-realstickman-backup:var snapshots +restic -r b2:hydra-server-backup:etc snapshots ``` ``` -restic -r b2:nextcloud-realstickman-backup:var restore --target "/var" +restic -r b2:hydra-server-backup:etc restore --target "/etc" ```