first commit

This commit is contained in:
Oliver Walter
2026-06-17 01:54:53 +02:00
commit 1ea0d846bb
15 changed files with 742 additions and 0 deletions
+47
View File
@@ -0,0 +1,47 @@
# ============================================================
# RESTIC RECOVERY CREDENTIALS
# Store this file on TrueNAS at:
# /mnt/pool/backups/recovery.txt
# chmod 600 /mnt/pool/backups/recovery.txt
# ============================================================
## Restic repository
RESTIC_REPOSITORY=rest:http://oliver:oli1oli1@nas.box:30248/netcup
## Restic encryption password ← fill this in before storing
RESTIC_PASSWORD=xxx
## REST server
Host: nas.box:30248
Username: oliver
Password: oli1oli1
## Retention policy
keep-daily: 5
keep-weekly: 3
keep-monthly: 3
## Backup paths (for reference when rebuilding)
/etc
/home/oliver
/opt
/var/data
/var/spool/cron
/root
## To restore on a fresh server:
##
## 1. Install restic
## apt install restic
##
## 2. Restore all files
## RESTIC_PASSWORD=<password above> \
## restic -r rest:http://oliver:oli1oli1@nas.box:30248/netcup \
## restore latest --target /
##
## 3. Reinstall packages
## dpkg --set-selections < /etc/backup-package-list.txt
## apt-get dselect-upgrade
##
## 4. Reload systemd
## systemctl daemon-reload