From f787df234e9801f3b12a6992767651bc816cff21 Mon Sep 17 00:00:00 2001 From: Nikhil Vengal Date: Sun, 4 Jan 2026 15:59:30 -0800 Subject: [PATCH] Add backup notes --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index c1f0cc1..dda5018 100644 --- a/README.md +++ b/README.md @@ -2,3 +2,22 @@ - Mostly networking but also git. - Setup as a github mirror to bootstrap the rest through gitea. + +## Backups + +``` +tar cvvzf /tank/tmp/immich-`date +%F`.tar.gz /tank/services/immich +aws s3 cp /tank/tmp/immich-`date +%F`.tar.gz \ + s3://nvengal-homelab-backups/immich-`date +%F`.tar.gz \ + --storage-class GLACIER_IR + +tar czf /tank/tmp/gitea-`date +%F`.tar.gz /tank/services/gitea +aws s3 cp /tank/tmp/gitea-`date +%F`.tar.gz \ + s3://nvengal-homelab-backups/gitea-`date +%F`.tar.gz \ + --storage-class GLACIER_IR +``` + +## TODO + +- Glacier backups +- Switch from gitea->forgejo