Initial resurrection kit — 81 scripts, 62 references, configs, systemd units, crons, Docker compose files, Caddy config, master README
This commit is contained in:
@@ -0,0 +1,102 @@
|
||||
=== Home Router Backup 2026-07-09 10:00:06 UTC ===
|
||||
Traceback (most recent call last):
|
||||
File "/root/.hermes/scripts/wisp-backup/wisp-backup.py", line 17, in <module>
|
||||
import paramiko
|
||||
ModuleNotFoundError: No module named 'paramiko'
|
||||
=== Exit code: 1 ===
|
||||
=== Home Router Backup 2026-07-09 13:51:17 UTC ===
|
||||
=== Home Router Backup 2026-07-09 13:52:57 UTC ===
|
||||
╔══════════════════════════════════════════╗
|
||||
║ WISP Backup — 2026-07-09
|
||||
╚══════════════════════════════════════════╝
|
||||
|
||||
[*] Step 1: Connecting VPN ...
|
||||
[*] Bringing up L2TP/IPsec VPN to 76.195.7.60 ...
|
||||
[route] 76.195.7.60 via 152.53.192.1 (avoids ppp0 recursion)
|
||||
generating QUICK_MODE request 840838784 [ HASH SA No KE ID ID ]
|
||||
sending packet: from 152.53.192.33[500] to 76.195.7.60[500] (316 bytes)
|
||||
received packet: from 76.195.7.60[500] to 152.53.192.33[500] (300 bytes)
|
||||
parsed QUICK_MODE response 840838784 [ HASH SA No KE ID ID ]
|
||||
selected proposal: ESP:AES_CBC_128/HMAC_SHA1_96/MODP_1024/NO_EXT_SEQ
|
||||
detected rekeying of CHILD_SA wisp-vpn{3}
|
||||
CHILD_SA wisp-vpn{4} established with SPIs c3ae9bdc_i 06734c30_o and TS 152.53.192.33/32[udp/l2f] === 76.195.7.60/32[udp/l2f]
|
||||
generating QUICK_MODE request 840838784 [ HASH ]
|
||||
sending packet: from 152.53.192.33[500] to 76.195.7.60[500] (60 bytes)
|
||||
connection 'wisp-vpn' established successfully
|
||||
[-] VPN connection failed (ppp0 not up).
|
||||
Cleaning up IPsec to avoid orphaned tunnel ...
|
||||
closing CHILD_SA wisp-vpn{3} with SPIs cb69dfab_i (1206 bytes) 0950d1ab_o (0 bytes) and TS 152.53.192.33/32[udp/l2f] === 76.195.7.60/32[udp/l2f]
|
||||
sending DELETE for ESP CHILD_SA with SPI cb69dfab
|
||||
generating INFORMATIONAL_V1 request 765197973 [ HASH D ]
|
||||
sending packet: from 152.53.192.33[500] to 76.195.7.60[500] (76 bytes)
|
||||
closing CHILD_SA wisp-vpn{4} with SPIs c3ae9bdc_i (842 bytes) 06734c30_o (863 bytes) and TS 152.53.192.33/32[udp/l2f] === 76.195.7.60/32[udp/l2f]
|
||||
sending DELETE for ESP CHILD_SA with SPI c3ae9bdc
|
||||
generating INFORMATIONAL_V1 request 3365963436 [ HASH D ]
|
||||
sending packet: from 152.53.192.33[500] to 76.195.7.60[500] (76 bytes)
|
||||
deleting IKE_SA wisp-vpn[3] between 152.53.192.33[152.53.192.33]...76.195.7.60[76.195.7.60]
|
||||
sending DELETE for IKE_SA wisp-vpn[3]
|
||||
generating INFORMATIONAL_V1 request 2403172059 [ HASH D ]
|
||||
sending packet: from 152.53.192.33[500] to 76.195.7.60[500] (92 bytes)
|
||||
IKE_SA [3] closed successfully
|
||||
Check logs: journalctl -u xl2tpd -n 20
|
||||
ipsec status
|
||||
[-] VPN connection failed. Aborting.
|
||||
=== Exit code: 1 ===
|
||||
=== Home Router Backup 2026-07-09 13:59:00 UTC ===
|
||||
╔══════════════════════════════════════════╗
|
||||
║ WISP Backup — 2026-07-09
|
||||
╚══════════════════════════════════════════╝
|
||||
|
||||
[*] Step 1: Checking connectivity via WireGuard ...
|
||||
[+] Router reachable at 10.77.0.2 via WireGuard — skipping VPN
|
||||
[*] Verifying internet connectivity ...
|
||||
[+] Internet OK — proceeding with backup
|
||||
|
||||
[*] Step 2: Backing up towers ...
|
||||
|
||||
[home-gateway] (10.77.0.2) — backing up ...
|
||||
Fetching config ...
|
||||
[s3] Uploaded → s3://mikrotik-ccr-backups/wisp-backups/configs/home/2026-07-09/home-gateway-2026-07-09.rsc.gz
|
||||
Fetching last 500 log lines ...
|
||||
[warn] Command exited 1:
|
||||
[s3] Uploaded → s3://mikrotik-ccr-backups/wisp-backups/logs/home/2026-07-09/home-gateway-2026-07-09.log.gz
|
||||
|
||||
[*] Step 3: Disconnecting VPN ...
|
||||
(WireGuard already active — no VPN teardown needed)
|
||||
|
||||
[*] Step 4: Cleaning up local temp files ...
|
||||
|
||||
╔══════════════════════════════════════════╗
|
||||
║ Summary: 1 OK, 0 Failed
|
||||
╚══════════════════════════════════════════╝
|
||||
✓ home-gateway (home) — config ✓ logs ✓
|
||||
=== Exit code: 0 ===
|
||||
=== Home Router Backup 2026-07-09 13:59:16 UTC ===
|
||||
╔══════════════════════════════════════════╗
|
||||
║ WISP Backup — 2026-07-09
|
||||
╚══════════════════════════════════════════╝
|
||||
|
||||
[*] Step 1: Checking connectivity via WireGuard ...
|
||||
[+] Router reachable at 10.77.0.2 via WireGuard — skipping VPN
|
||||
[*] Verifying internet connectivity ...
|
||||
[+] Internet OK — proceeding with backup
|
||||
|
||||
[*] Step 2: Backing up towers ...
|
||||
|
||||
[home-gateway] (10.77.0.2) — backing up ...
|
||||
Fetching config ...
|
||||
[s3] Uploaded → s3://mikrotik-ccr-backups/wisp-backups/configs/home/2026-07-09/home-gateway-2026-07-09.rsc.gz
|
||||
Fetching last 500 log lines ...
|
||||
[warn] Command exited 1:
|
||||
[s3] Uploaded → s3://mikrotik-ccr-backups/wisp-backups/logs/home/2026-07-09/home-gateway-2026-07-09.log.gz
|
||||
|
||||
[*] Step 3: Disconnecting VPN ...
|
||||
(WireGuard already active — no VPN teardown needed)
|
||||
|
||||
[*] Step 4: Cleaning up local temp files ...
|
||||
|
||||
╔══════════════════════════════════════════╗
|
||||
║ Summary: 1 OK, 0 Failed
|
||||
╚══════════════════════════════════════════╝
|
||||
✓ home-gateway (home) — config ✓ logs ✓
|
||||
=== Exit code: 0 ===
|
||||
Reference in New Issue
Block a user