Add backup notes

This commit is contained in:
2026-01-04 15:59:30 -08:00
parent 3d46652ae1
commit f787df234e

View File

@@ -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