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,194 @@
|
||||
=== Home Router Backup 2026-07-04 02:50:30 UTC ===
|
||||
╔══════════════════════════════════════════╗
|
||||
║ WISP Backup — 2026-07-04
|
||||
╚══════════════════════════════════════════╝
|
||||
|
||||
[*] Step 1: Connecting VPN ...
|
||||
[*] Bringing up L2TP/IPsec VPN to 76.195.7.60 ...
|
||||
[route] 76.195.7.60 via 172.31.1.1 (avoids ppp0 recursion)
|
||||
generating QUICK_MODE request 3349541925 [ HASH SA No KE ID ID ]
|
||||
sending packet: from 5.161.114.8[500] to 76.195.7.60[500] (316 bytes)
|
||||
received packet: from 76.195.7.60[500] to 5.161.114.8[500] (300 bytes)
|
||||
parsed QUICK_MODE response 3349541925 [ 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{19}
|
||||
CHILD_SA wisp-vpn{20} established with SPIs c2b4c21a_i 0011d94f_o and TS 5.161.114.8/32[udp/l2f] === 76.195.7.60/32[udp/l2f]
|
||||
generating QUICK_MODE request 3349541925 [ HASH ]
|
||||
sending packet: from 5.161.114.8[500] to 76.195.7.60[500] (60 bytes)
|
||||
connection 'wisp-vpn' established successfully
|
||||
[+] VPN connected! Interface: ppp0, IP: 192.168.88.105
|
||||
[*] Adding route to VPN peer's subnet via ppp0 ...
|
||||
[route] Added 192.168.88.0/24 via ppp0
|
||||
[*] Adding static routes for tower subnets ...
|
||||
(no routes configured in config.yaml)
|
||||
[*] Checking internet connectivity ...
|
||||
[+] Internet reachable — VPN is safe
|
||||
[*] Verifying internet connectivity ...
|
||||
[+] Internet OK — proceeding with backup
|
||||
|
||||
[*] Step 2: Backing up towers ...
|
||||
|
||||
[home-gateway] (192.168.88.1) — backing up ...
|
||||
[FAIL] SSH connection failed: Authentication failed.
|
||||
|
||||
[*] Step 3: Disconnecting VPN ...
|
||||
[*] Tearing down VPN ...
|
||||
closing CHILD_SA wisp-vpn{19} with SPIs cb762789_i (94880 bytes) 0fe7c68a_o (0 bytes) and TS 5.161.114.8/32[udp/l2f] === 76.195.7.60/32[udp/l2f]
|
||||
sending DELETE for ESP CHILD_SA with SPI cb762789
|
||||
generating INFORMATIONAL_V1 request 2707403376 [ HASH D ]
|
||||
sending packet: from 5.161.114.8[500] to 76.195.7.60[500] (76 bytes)
|
||||
closing CHILD_SA wisp-vpn{20} with SPIs c2b4c21a_i (4042 bytes) 0011d94f_o (3538 bytes) and TS 5.161.114.8/32[udp/l2f] === 76.195.7.60/32[udp/l2f]
|
||||
sending DELETE for ESP CHILD_SA with SPI c2b4c21a
|
||||
generating INFORMATIONAL_V1 request 4260970196 [ HASH D ]
|
||||
sending packet: from 5.161.114.8[500] to 76.195.7.60[500] (76 bytes)
|
||||
deleting IKE_SA wisp-vpn[22] between 5.161.114.8[5.161.114.8]...76.195.7.60[76.195.7.60]
|
||||
sending DELETE for IKE_SA wisp-vpn[22]
|
||||
generating INFORMATIONAL_V1 request 2803316938 [ HASH D ]
|
||||
sending packet: from 5.161.114.8[500] to 76.195.7.60[500] (92 bytes)
|
||||
IKE_SA [22] closed successfully
|
||||
[+] VPN disconnected
|
||||
|
||||
[*] Step 4: Cleaning up local temp files ...
|
||||
|
||||
╔══════════════════════════════════════════╗
|
||||
║ Summary: 0 OK, 1 Failed
|
||||
╚══════════════════════════════════════════╝
|
||||
✗ home-gateway (home) — SSH connection failed: Authentication failed.
|
||||
=== Exit code: 1 ===
|
||||
=== Home Router Backup 2026-07-04 02:51:04 UTC ===
|
||||
╔══════════════════════════════════════════╗
|
||||
║ WISP Backup — 2026-07-04
|
||||
╚══════════════════════════════════════════╝
|
||||
|
||||
[*] Step 1: Connecting VPN ...
|
||||
[*] Bringing up L2TP/IPsec VPN to 76.195.7.60 ...
|
||||
[route] 76.195.7.60 via 172.31.1.1 (avoids ppp0 recursion)
|
||||
initiating Main Mode IKE_SA wisp-vpn[33] to 76.195.7.60
|
||||
generating ID_PROT request 0 [ SA V V V V V ]
|
||||
sending packet: from 5.161.114.8[500] to 76.195.7.60[500] (252 bytes)
|
||||
received packet: from 76.195.7.60[500] to 5.161.114.8[500] (164 bytes)
|
||||
parsed ID_PROT response 0 [ SA V V V V ]
|
||||
received NAT-T (RFC 3947) vendor ID
|
||||
received XAuth vendor ID
|
||||
received DPD vendor ID
|
||||
received FRAGMENTATION vendor ID
|
||||
selected proposal: IKE:AES_CBC_128/HMAC_SHA1_96/PRF_HMAC_SHA1/MODP_1024
|
||||
generating ID_PROT request 0 [ KE No NAT-D NAT-D ]
|
||||
sending packet: from 5.161.114.8[500] to 76.195.7.60[500] (244 bytes)
|
||||
received packet: from 76.195.7.60[500] to 5.161.114.8[500] (236 bytes)
|
||||
parsed ID_PROT response 0 [ KE No NAT-D NAT-D ]
|
||||
generating ID_PROT request 0 [ ID HASH N(INITIAL_CONTACT) ]
|
||||
sending packet: from 5.161.114.8[500] to 76.195.7.60[500] (108 bytes)
|
||||
received packet: from 76.195.7.60[500] to 5.161.114.8[500] (76 bytes)
|
||||
parsed ID_PROT response 0 [ ID HASH ]
|
||||
IKE_SA wisp-vpn[33] established between 5.161.114.8[5.161.114.8]...76.195.7.60[76.195.7.60]
|
||||
scheduling reauthentication in 85494s
|
||||
maximum IKE_SA lifetime 86034s
|
||||
generating QUICK_MODE request 2963618619 [ HASH SA No KE ID ID ]
|
||||
sending packet: from 5.161.114.8[500] to 76.195.7.60[500] (316 bytes)
|
||||
received packet: from 76.195.7.60[500] to 5.161.114.8[500] (300 bytes)
|
||||
parsed QUICK_MODE response 2963618619 [ HASH SA No KE ID ID ]
|
||||
selected proposal: ESP:AES_CBC_128/HMAC_SHA1_96/MODP_1024/NO_EXT_SEQ
|
||||
CHILD_SA wisp-vpn{21} established with SPIs c0d9045b_i 00059898_o and TS 5.161.114.8/32[udp/l2f] === 76.195.7.60/32[udp/l2f]
|
||||
generating QUICK_MODE request 2963618619 [ HASH ]
|
||||
sending packet: from 5.161.114.8[500] to 76.195.7.60[500] (60 bytes)
|
||||
connection 'wisp-vpn' established successfully
|
||||
[+] VPN connected! Interface: ppp0, IP: 192.168.88.105
|
||||
[*] Adding route to VPN peer's subnet via ppp0 ...
|
||||
[route] Added 192.168.88.0/24 via ppp0
|
||||
[*] Adding static routes for tower subnets ...
|
||||
(no routes configured in config.yaml)
|
||||
[*] Checking internet connectivity ...
|
||||
[+] Internet reachable — VPN is safe
|
||||
[*] Verifying internet connectivity ...
|
||||
[+] Internet OK — proceeding with backup
|
||||
|
||||
[*] Step 2: Backing up towers ...
|
||||
|
||||
[home-gateway] (192.168.88.1) — backing up ...
|
||||
Fetching config ...
|
||||
[s3] Uploaded → s3://mikrotik-ccr-backups/wisp-backups/configs/home/2026-07-04/home-gateway-2026-07-04.rsc.gz
|
||||
Fetching last 500 log lines ...
|
||||
[warn] Command exited 1:
|
||||
[s3] Uploaded → s3://mikrotik-ccr-backups/wisp-backups/logs/home/2026-07-04/home-gateway-2026-07-04.log.gz
|
||||
|
||||
[*] Step 3: Disconnecting VPN ...
|
||||
[*] Tearing down VPN ...
|
||||
closing CHILD_SA wisp-vpn{21} with SPIs c0d9045b_i (41526 bytes) 00059898_o (8190 bytes) and TS 5.161.114.8/32[udp/l2f] === 76.195.7.60/32[udp/l2f]
|
||||
sending DELETE for ESP CHILD_SA with SPI c0d9045b
|
||||
generating INFORMATIONAL_V1 request 2696552594 [ HASH D ]
|
||||
sending packet: from 5.161.114.8[500] to 76.195.7.60[500] (76 bytes)
|
||||
deleting IKE_SA wisp-vpn[33] between 5.161.114.8[5.161.114.8]...76.195.7.60[76.195.7.60]
|
||||
sending DELETE for IKE_SA wisp-vpn[33]
|
||||
generating INFORMATIONAL_V1 request 410247037 [ HASH D ]
|
||||
sending packet: from 5.161.114.8[500] to 76.195.7.60[500] (92 bytes)
|
||||
IKE_SA [33] closed successfully
|
||||
[+] VPN disconnected
|
||||
|
||||
[*] 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-04 06:00:47 UTC ===
|
||||
╔══════════════════════════════════════════╗
|
||||
║ WISP Backup — 2026-07-04
|
||||
╚══════════════════════════════════════════╝
|
||||
|
||||
[*] Step 1: Connecting VPN ...
|
||||
[*] Bringing up L2TP/IPsec VPN to 76.195.7.60 ...
|
||||
[route] 76.195.7.60 via 172.31.1.1 (avoids ppp0 recursion)
|
||||
generating QUICK_MODE request 223228910 [ HASH SA No KE ID ID ]
|
||||
sending packet: from 5.161.114.8[500] to 76.195.7.60[500] (316 bytes)
|
||||
received packet: from 76.195.7.60[500] to 5.161.114.8[500] (300 bytes)
|
||||
parsed QUICK_MODE response 223228910 [ 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{22}
|
||||
CHILD_SA wisp-vpn{23} established with SPIs c3fdf06d_i 08e55d09_o and TS 5.161.114.8/32[udp/l2f] === 76.195.7.60/32[udp/l2f]
|
||||
generating QUICK_MODE request 223228910 [ HASH ]
|
||||
connection 'wisp-vpn' established successfully
|
||||
[+] VPN connected! Interface: ppp0, IP: 192.168.88.105
|
||||
[*] Adding route to VPN peer's subnet via ppp0 ...
|
||||
[route] Added 192.168.88.0/24 via ppp0
|
||||
[*] Adding static routes for tower subnets ...
|
||||
(no routes configured in config.yaml)
|
||||
[*] Checking internet connectivity ...
|
||||
[+] Internet reachable — VPN is safe
|
||||
[*] Verifying internet connectivity ...
|
||||
[+] Internet OK — proceeding with backup
|
||||
|
||||
[*] Step 2: Backing up towers ...
|
||||
|
||||
[home-gateway] (192.168.88.1) — backing up ...
|
||||
Fetching config ...
|
||||
[s3] Uploaded → s3://mikrotik-ccr-backups/wisp-backups/configs/home/2026-07-04/home-gateway-2026-07-04.rsc.gz
|
||||
Fetching last 500 log lines ...
|
||||
[warn] Command exited 1:
|
||||
[s3] Uploaded → s3://mikrotik-ccr-backups/wisp-backups/logs/home/2026-07-04/home-gateway-2026-07-04.log.gz
|
||||
|
||||
[*] Step 3: Disconnecting VPN ...
|
||||
[*] Tearing down VPN ...
|
||||
closing CHILD_SA wisp-vpn{22} with SPIs c9cd56ac_i (38724 bytes) 0adab1f2_o (0 bytes) and TS 5.161.114.8/32[udp/l2f] === 76.195.7.60/32[udp/l2f]
|
||||
sending DELETE for ESP CHILD_SA with SPI c9cd56ac
|
||||
generating INFORMATIONAL_V1 request 1367800329 [ HASH D ]
|
||||
sending packet: from 5.161.114.8[500] to 76.195.7.60[500] (76 bytes)
|
||||
closing CHILD_SA wisp-vpn{23} with SPIs c3fdf06d_i (41462 bytes) 08e55d09_o (8682 bytes) and TS 5.161.114.8/32[udp/l2f] === 76.195.7.60/32[udp/l2f]
|
||||
sending DELETE for ESP CHILD_SA with SPI c3fdf06d
|
||||
generating INFORMATIONAL_V1 request 492351832 [ HASH D ]
|
||||
sending packet: from 5.161.114.8[500] to 76.195.7.60[500] (76 bytes)
|
||||
deleting IKE_SA wisp-vpn[34] between 5.161.114.8[5.161.114.8]...76.195.7.60[76.195.7.60]
|
||||
sending DELETE for IKE_SA wisp-vpn[34]
|
||||
generating INFORMATIONAL_V1 request 985162767 [ HASH D ]
|
||||
sending packet: from 5.161.114.8[500] to 76.195.7.60[500] (92 bytes)
|
||||
IKE_SA [34] closed successfully
|
||||
[+] VPN disconnected
|
||||
|
||||
[*] 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