This commit is contained in:
2026-03-05 21:35:59 +00:00
parent f6608eee87
commit 3824bddbb5
73 changed files with 6971 additions and 0 deletions

24
netcup/usage.sh Normal file
View File

@@ -0,0 +1,24 @@
# .env — never commit this to git
KEY_PASSWORD=your-key-password
REMOTE_HOST=192.168.1.86
SSH_PASSWORD=your-root-ssh-password
RESTIC_PASSWORD=your-restic-password
MODE=BACKUP
# Optional
# MOUNT_REMOTE=root@n.h-y.st:/mnt/data
docker build -t ztariq129/hurricane:restore .
# Build
docker build -t ztariq129/hurricane:restore .
# Backup
docker run --rm --env-file .env ztariq129/hurricane:restore
# Restore
docker run --rm --env-file .env -e MODE=RESTORE ztariq129/hurricane:restore
# Debug
docker run --rm -it --env-file .env --entrypoint bash ztariq129/hurricane:restore