aboutsummaryrefslogtreecommitdiff
path: root/straper/.restore-configs.sh.swp
blob: 68b842970be9d4761911b5206465f152ce5d228a (plain)
ofshex dumpascii
0000 62 30 56 49 4d 20 39 2e 31 00 00 00 00 10 00 00 fd 0d bc 69 80 7e bc 02 50 00 18 00 6c 75 6b 61 b0VIM.9.1..........i.~..P...luka
0020 73 7a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 sz..............................
0040 00 00 00 00 64 65 62 69 61 6e 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ....debian......................
0060 00 00 00 00 00 00 00 00 00 00 00 00 7e 6c 75 6b 61 73 7a 2f 2e 6c 6f 63 61 6c 2f 62 69 6e 2f 73 ............~lukasz/.local/bin/s
0080 74 72 61 70 65 72 2f 72 65 73 74 6f 72 65 2d 63 6f 6e 66 69 67 73 2e 73 68 00 00 00 00 00 00 00 traper/restore-configs.sh.......
00a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
00c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
00e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
01a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
01c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
01e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0220 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0240 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0260 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0280 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
02a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
02c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
02e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0300 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0320 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0340 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0360 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0380 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
03a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
03c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
03e0 00 00 00 00 00 00 00 00 00 75 74 66 2d 38 0d 00 33 32 31 30 00 00 00 00 23 22 21 20 13 12 55 00 .........utf-8..3210....#"!...U.
0400 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0420 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0440 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0460 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0480 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
04a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
04c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
04e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0500 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0520 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0540 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0560 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0580 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
05a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
05c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
05e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0600 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0620 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0640 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0660 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0680 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
06a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
06c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
06e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0700 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0720 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0740 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0760 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0780 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
07a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
07c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
07e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0800 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0820 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0840 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0860 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0880 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
08a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
08c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
08e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0900 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0920 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0940 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0960 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0980 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
09a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
09c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
09e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0a00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0a20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0a40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0a60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0a80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0aa0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0ac0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0ae0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0b00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0b20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0b40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0b60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0b80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0ba0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0bc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0be0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0c00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0c20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0c40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0c60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0c80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0ca0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0cc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0ce0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0d00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0d20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0d40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0d60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0d80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0da0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0dc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0de0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0e00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0e20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0e40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0e60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0e80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0ea0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0ec0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0ee0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0f00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0f20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0f40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0f60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0f80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0fa0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0fc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
0fe0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1000 74 70 0b 00 7f 00 00 00 02 00 00 00 00 00 00 00 90 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 tp..............................
1020 01 00 00 00 00 00 00 00 05 00 00 00 00 00 00 00 53 00 00 00 00 00 00 00 91 00 00 00 00 00 00 00 ................S...............
1040 01 00 00 00 00 00 00 00 06 00 00 00 00 00 00 00 4d 00 00 00 00 00 00 00 e4 00 00 00 00 00 00 00 ................M...............
1060 01 00 00 00 00 00 00 00 08 00 00 00 00 00 00 00 52 00 00 00 00 00 00 00 31 01 00 00 00 00 00 00 ................R.......1.......
1080 01 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 57 00 00 00 00 00 00 00 83 01 00 00 00 00 00 00 ................W...............
10a0 01 00 00 00 00 00 00 00 07 00 00 00 00 00 00 00 45 00 00 00 00 00 00 00 e4 01 00 00 00 00 00 00 ................E...............
10c0 01 00 00 00 00 00 00 00 0b 00 00 00 00 00 00 00 3a 00 00 00 00 00 00 00 f3 01 00 00 00 00 00 00 ................:...............
10e0 01 00 00 00 00 00 00 00 0c 00 00 00 00 00 00 00 35 00 00 00 00 00 00 00 46 02 00 00 00 00 00 00 ................5.......F.......
1100 01 00 00 00 00 00 00 00 09 00 00 00 00 00 00 00 4c 00 00 00 00 00 00 00 2d 02 00 00 00 00 00 00 ................L.......-.......
1120 01 00 00 00 00 00 00 00 0a 00 00 00 00 00 00 00 0f 00 00 00 00 00 00 00 7a 02 00 00 00 00 00 00 ........................z.......
1140 01 00 00 00 00 00 00 00 03 00 00 00 00 00 00 00 0a 00 00 00 00 00 00 00 3f 02 00 00 00 00 00 00 ........................?.......
1160 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
11a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
11c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
11e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1220 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1240 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1260 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1280 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
12a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
12c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
12e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1300 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1320 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1340 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1360 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1380 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
13a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
13c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
13e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1400 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1420 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1440 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1460 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1480 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
14a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
14c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
14e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1500 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1520 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1540 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1560 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1580 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
15a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
15c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
15e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1600 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1620 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1640 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1660 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1680 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
16a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
16c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
16e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1700 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1720 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1740 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1760 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1780 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
17a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
17c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
17e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1800 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1820 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1840 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1860 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1880 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
18a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
18c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
18e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1900 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1920 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1940 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1960 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1980 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
19a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
19c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
19e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1a00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1a20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1a40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1a60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1a80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1aa0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1ac0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1ae0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1b00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1b20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1b40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1b60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1b80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1ba0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1bc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1be0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1c00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1c20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1c40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1c60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1c80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1ca0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1cc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1ce0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1d00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1d20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1d40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1d60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1d80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1da0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1dc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1de0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1e00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1e20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1e40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1e60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1e80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1ea0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1ec0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1ee0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1f00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1f20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1f40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1f60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1f80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1fa0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1fc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
1fe0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
2000 61 64 00 00 03 00 00 00 5b 02 00 00 00 10 00 00 90 00 00 00 00 00 00 00 ec 0f 00 00 d9 0f 00 00 ad......[.......................
2020 d8 0f 00 00 a6 0f 00 00 8a 0f 00 00 65 0f 00 00 64 0f 00 00 43 0f 00 00 35 0f 00 00 1f 0f 00 00 ............e...d...C...5.......
2040 1e 0f 00 00 14 0f 00 00 06 0f 00 00 db 0e 00 00 da 0e 00 00 d1 0e 00 00 7f 0e 00 00 2f 0e 00 00 ............................/...
2060 01 0e 00 00 00 0e 00 00 f7 0d 00 00 e7 0d 00 00 c5 0d 00 00 8e 0d 00 00 7a 0d 00 00 3f 0d 00 00 ........................z...?...
2080 33 0d 00 00 27 0d 00 00 1e 0d 00 00 1d 0d 00 00 11 0d 00 00 01 0d 00 00 f9 0c 00 00 f3 0c 00 00 3...'...........................
20a0 e9 0c 00 00 e3 0c 00 00 d8 0c 00 00 d0 0c 00 00 c6 0c 00 00 bc 0c 00 00 b2 0c 00 00 ac 0c 00 00 ................................
20c0 a5 0c 00 00 9c 0c 00 00 8f 0c 00 00 89 0c 00 00 87 0c 00 00 86 0c 00 00 6d 0c 00 00 5e 0c 00 00 ........................m...^...
20e0 f6 0b 00 00 d6 0b 00 00 a9 0b 00 00 7a 0b 00 00 5c 0b 00 00 3d 0b 00 00 1e 0b 00 00 01 0b 00 00 ............z...\...=...........
2100 de 0a 00 00 d7 0a 00 00 cf 0a 00 00 ca 0a 00 00 c9 0a 00 00 9d 0a 00 00 8b 0a 00 00 77 0a 00 00 ............................w...
2120 6b 0a 00 00 61 0a 00 00 53 0a 00 00 49 0a 00 00 3a 0a 00 00 2e 0a 00 00 20 0a 00 00 12 0a 00 00 k...a...S...I...:...............
2140 04 0a 00 00 fa 09 00 00 ef 09 00 00 e2 09 00 00 d3 09 00 00 ca 09 00 00 c7 09 00 00 c6 09 00 00 ................................
2160 ba 09 00 00 a5 09 00 00 91 09 00 00 5a 09 00 00 59 09 00 00 14 09 00 00 b0 08 00 00 af 08 00 00 ............Z...Y...............
2180 63 08 00 00 03 08 00 00 02 08 00 00 f0 07 00 00 d1 07 00 00 ad 07 00 00 a8 07 00 00 a7 07 00 00 c...............................
21a0 91 07 00 00 6d 07 00 00 2c 07 00 00 1f 07 00 00 1a 07 00 00 19 07 00 00 f8 06 00 00 cf 06 00 00 ....m...,.......................
21c0 ab 06 00 00 a6 06 00 00 a5 06 00 00 82 06 00 00 57 06 00 00 31 06 00 00 e1 05 00 00 96 05 00 00 ................W...1...........
21e0 91 05 00 00 90 05 00 00 6b 05 00 00 f5 04 00 00 e8 04 00 00 e3 04 00 00 e2 04 00 00 6a 04 00 00 ........k...................j...
2200 5f 04 00 00 5d 04 00 00 5c 04 00 00 4a 04 00 00 18 04 00 00 db 03 00 00 da 03 00 00 aa 03 00 00 _...]...\...J...................
2220 4c 03 00 00 3f 03 00 00 3a 03 00 00 39 03 00 00 e7 02 00 00 e5 02 00 00 e4 02 00 00 cf 02 00 00 L...?...:...9...................
2240 bb 02 00 00 99 02 00 00 6f 02 00 00 68 02 00 00 5d 02 00 00 5b 02 00 00 00 00 00 7d 00 20 20 72 ........o...h...]...[......}...r
2260 65 74 75 72 6e 20 31 00 20 20 64 6f 6e 65 00 20 20 20 20 5b 5b 20 22 24 7b 78 7d 22 20 3d 3d 20 eturn.1...done.....[[."${x}".==.
2280 22 24 7b 77 61 6e 74 7d 22 20 5d 5d 20 26 26 20 72 65 74 75 72 6e 20 30 00 20 20 66 6f 72 20 78 "${want}".]].&&.return.0...for.x
22a0 20 69 6e 20 22 24 7b 43 41 54 45 47 4f 52 49 45 53 5b 40 5d 7d 22 3b 20 64 6f 00 20 20 6c 6f 63 .in."${CATEGORIES[@]}";.do...loc
22c0 61 6c 20 77 61 6e 74 3d 22 24 31 22 20 78 00 63 61 74 65 67 6f 72 79 5f 65 6e 61 62 6c 65 64 28 al.want="$1".x.category_enabled(
22e0 29 20 7b 00 00 7d 00 20 20 72 65 73 74 6f 72 65 5f 70 61 74 68 20 22 24 7b 53 43 52 49 50 54 5f ).{..}...restore_path."${SCRIPT_
2300 4e 41 4d 45 7d 22 20 22 24 7b 63 61 74 65 67 6f 72 79 7d 22 20 22 24 7b 69 74 65 6d 7d 22 20 22 NAME}"."${category}"."${item}"."
2320 24 7b 73 72 63 7d 22 20 22 24 7b 64 73 74 7d 22 20 7c 7c 20 74 72 75 65 00 00 20 20 66 69 00 20 ${src}"."${dst}".||.true....fi..
2340 20 20 20 72 65 74 75 72 6e 20 30 00 20 20 20 20 72 65 70 6f 72 74 20 22 24 7b 53 43 52 49 50 54 ...return.0.....report."${SCRIPT
2360 5f 4e 41 4d 45 7d 22 20 22 24 7b 63 61 74 65 67 6f 72 79 7d 22 20 22 24 7b 69 74 65 6d 7d 22 20 _NAME}"."${category}"."${item}".
2380 22 72 65 73 74 6f 72 65 22 20 22 73 6b 69 70 70 65 64 22 20 22 6f 70 65 72 61 74 6f 72 20 73 6b "restore"."skipped"."operator.sk
23a0 69 70 70 65 64 22 20 22 22 00 20 20 69 66 20 21 20 70 72 6f 6d 70 74 5f 79 65 73 5f 6e 6f 20 22 ipped".""...if.!.prompt_yes_no."
23c0 24 7b 70 72 6f 6d 70 74 5f 74 65 78 74 7d 22 20 79 65 73 3b 20 74 68 65 6e 00 00 20 20 6c 6f 63 ${prompt_text}".yes;.then....loc
23e0 61 6c 20 70 72 6f 6d 70 74 5f 74 65 78 74 3d 22 52 65 73 74 6f 72 65 20 24 7b 63 61 74 65 67 6f al.prompt_text="Restore.${catego
2400 72 79 7d 2f 24 7b 69 74 65 6d 7d 20 2d 3e 20 24 7b 64 73 74 7d 3f 22 00 20 20 6c 6f 63 61 6c 20 ry}/${item}.->.${dst}?"...local.
2420 63 61 74 65 67 6f 72 79 3d 22 24 31 22 20 69 74 65 6d 3d 22 24 32 22 20 73 72 63 3d 22 24 33 22 category="$1".item="$2".src="$3"
2440 20 64 73 74 3d 22 24 34 22 00 6d 61 79 62 65 5f 72 65 73 74 6f 72 65 28 29 20 7b 00 00 7d 00 20 .dst="$4".maybe_restore().{..}..
2460 20 72 65 74 75 72 6e 20 31 00 20 20 6e 6f 74 65 5f 66 61 69 6c 75 72 65 20 22 24 7b 53 43 52 49 .return.1...note_failure."${SCRI
2480 50 54 5f 4e 41 4d 45 7d 22 20 22 75 73 65 72 73 22 20 22 73 75 64 6f 65 72 73 2d 70 65 72 6d 73 PT_NAME}"."users"."sudoers-perms
24a0 22 20 22 66 69 78 22 20 22 76 69 73 75 64 6f 20 76 61 6c 69 64 61 74 69 6f 6e 20 66 61 69 6c 65 "."fix"."visudo.validation.faile
24c0 64 20 61 66 74 65 72 20 70 65 72 6d 69 73 73 69 6f 6e 20 6e 6f 72 6d 61 6c 69 7a 61 74 69 6f 6e d.after.permission.normalization
24e0 22 00 00 20 20 66 69 00 20 20 20 20 72 65 74 75 72 6e 20 30 00 20 20 20 20 72 65 70 6f 72 74 20 "....fi.....return.0.....report.
2500 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d 45 7d 22 20 22 75 73 65 72 73 22 20 22 73 75 64 6f 65 72 "${SCRIPT_NAME}"."users"."sudoer
2520 73 2d 70 65 72 6d 73 22 20 22 66 69 78 22 20 22 63 68 61 6e 67 65 64 22 20 22 73 75 64 6f 65 72 s-perms"."fix"."changed"."sudoer
2540 73 20 6f 77 6e 65 72 73 68 69 70 20 61 6e 64 20 70 65 72 6d 69 73 73 69 6f 6e 73 20 6e 6f 72 6d s.ownership.and.permissions.norm
2560 61 6c 69 7a 65 64 22 20 22 22 00 20 20 69 66 20 76 69 73 75 64 6f 20 2d 63 20 3e 2f 64 65 76 2f alized".""...if.visudo.-c.>/dev/
2580 6e 75 6c 6c 20 32 3e 26 31 3b 20 74 68 65 6e 00 00 20 20 66 69 00 20 20 20 20 66 69 6e 64 20 2f null.2>&1;.then....fi.....find./
25a0 65 74 63 2f 73 75 64 6f 65 72 73 2e 64 20 2d 6d 61 78 64 65 70 74 68 20 31 20 2d 74 79 70 65 20 etc/sudoers.d.-maxdepth.1.-type.
25c0 66 20 2d 65 78 65 63 20 63 68 6d 6f 64 20 30 34 34 30 20 7b 7d 20 5c 3b 20 7c 7c 20 74 72 75 65 f.-exec.chmod.0440.{}.\;.||.true
25e0 00 20 20 20 20 66 69 6e 64 20 2f 65 74 63 2f 73 75 64 6f 65 72 73 2e 64 20 2d 6d 61 78 64 65 70 .....find./etc/sudoers.d.-maxdep
2600 74 68 20 31 20 2d 74 79 70 65 20 66 20 2d 65 78 65 63 20 63 68 6f 77 6e 20 72 6f 6f 74 3a 72 6f th.1.-type.f.-exec.chown.root:ro
2620 6f 74 20 7b 7d 20 5c 3b 20 7c 7c 20 74 72 75 65 00 20 20 20 20 63 68 6d 6f 64 20 30 37 35 35 20 ot.{}.\;.||.true.....chmod.0755.
2640 2f 65 74 63 2f 73 75 64 6f 65 72 73 2e 64 20 7c 7c 20 74 72 75 65 00 20 20 20 20 63 68 6f 77 6e /etc/sudoers.d.||.true.....chown
2660 20 72 6f 6f 74 3a 72 6f 6f 74 20 2f 65 74 63 2f 73 75 64 6f 65 72 73 2e 64 20 7c 7c 20 74 72 75 .root:root./etc/sudoers.d.||.tru
2680 65 00 20 20 69 66 20 5b 5b 20 2d 64 20 2f 65 74 63 2f 73 75 64 6f 65 72 73 2e 64 20 5d 5d 3b 20 e...if.[[.-d./etc/sudoers.d.]];.
26a0 74 68 65 6e 00 00 20 20 66 69 00 20 20 20 20 63 68 6d 6f 64 20 30 34 34 30 20 2f 65 74 63 2f 73 then....fi.....chmod.0440./etc/s
26c0 75 64 6f 65 72 73 20 7c 7c 20 74 72 75 65 00 20 20 20 20 63 68 6f 77 6e 20 72 6f 6f 74 3a 72 6f udoers.||.true.....chown.root:ro
26e0 6f 74 20 2f 65 74 63 2f 73 75 64 6f 65 72 73 20 7c 7c 20 74 72 75 65 00 20 20 69 66 20 5b 5b 20 ot./etc/sudoers.||.true...if.[[.
2700 2d 66 20 2f 65 74 63 2f 73 75 64 6f 65 72 73 20 5d 5d 3b 20 74 68 65 6e 00 00 20 20 66 69 00 20 -f./etc/sudoers.]];.then....fi..
2720 20 20 20 72 65 74 75 72 6e 20 30 00 20 20 20 20 70 72 69 6e 74 66 20 27 5b 64 72 79 5d 20 6e 6f ...return.0.....printf.'[dry].no
2740 72 6d 61 6c 69 7a 65 20 73 75 64 6f 65 72 73 20 6f 77 6e 65 72 73 68 69 70 20 61 6e 64 20 70 65 rmalize.sudoers.ownership.and.pe
2760 72 6d 69 73 73 69 6f 6e 73 5c 6e 27 00 20 20 69 66 20 5b 5b 20 24 7b 44 52 59 5f 52 55 4e 7d 20 rmissions\n'...if.[[.${DRY_RUN}.
2780 3d 3d 20 74 72 75 65 20 5d 5d 3b 20 74 68 65 6e 00 66 69 78 5f 73 75 64 6f 65 72 73 5f 70 65 72 ==.true.]];.then.fix_sudoers_per
27a0 6d 73 28 29 20 7b 00 00 65 73 61 63 00 20 20 2a 29 20 64 69 65 20 22 69 6e 76 61 6c 69 64 20 72 ms().{..esac...*).die."invalid.r
27c0 6f 6c 65 3a 20 24 7b 52 4f 4c 45 7d 22 20 3b 3b 00 20 20 6c 61 62 7c 68 61 72 64 77 61 72 65 7c ole:.${ROLE}".;;...lab|hardware|
27e0 72 65 70 6c 61 63 65 6d 65 6e 74 29 20 3b 3b 00 63 61 73 65 20 22 24 7b 52 4f 4c 45 7d 22 20 69 replacement).;;.case."${ROLE}".i
2800 6e 00 00 72 65 70 6f 72 74 20 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d 45 7d 22 20 22 72 75 6e 22 n..report."${SCRIPT_NAME}"."run"
2820 20 22 73 74 61 72 74 22 20 22 69 6e 69 74 22 20 22 6f 6b 22 20 22 72 6f 6c 65 3d 24 7b 52 4f 4c ."start"."init"."ok"."role=${ROL
2840 45 7d 20 63 61 74 65 67 6f 72 69 65 73 3d 24 7b 43 41 54 45 47 4f 52 49 45 53 5b 2a 5d 7d 22 20 E}.categories=${CATEGORIES[*]}".
2860 22 22 00 6c 6f 67 20 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d 45 7d 3a 20 72 6f 6c 65 3d 24 7b 52 "".log."${SCRIPT_NAME}:.role=${R
2880 4f 4c 45 7d 20 63 61 74 65 67 6f 72 69 65 73 3d 24 7b 43 41 54 45 47 4f 52 49 45 53 5b 2a 5d 7d OLE}.categories=${CATEGORIES[*]}
28a0 20 64 62 3d 24 7b 44 42 5f 44 49 52 7d 22 00 00 5b 5b 20 24 7b 23 43 41 54 45 47 4f 52 49 45 53 .db=${DB_DIR}"..[[.${#CATEGORIES
28c0 5b 40 5d 7d 20 2d 67 74 20 30 20 5d 5d 20 7c 7c 20 64 69 65 20 22 6e 6f 20 63 61 74 65 67 6f 72 [@]}.-gt.0.]].||.die."no.categor
28e0 69 65 73 20 73 70 65 63 69 66 69 65 64 3b 20 75 73 65 20 2d 2d 63 61 74 65 67 6f 72 79 20 6f 72 ies.specified;.use.--category.or
2900 20 2d 2d 6c 69 73 74 2d 63 61 74 65 67 6f 72 69 65 73 22 00 5b 5b 20 2d 64 20 22 24 7b 50 55 42 .--list-categories".[[.-d."${PUB
2920 4c 49 43 5f 44 49 52 7d 22 20 5d 5d 20 7c 7c 20 64 69 65 20 22 70 75 62 6c 69 63 20 44 42 20 6e LIC_DIR}".]].||.die."public.DB.n
2940 6f 74 20 66 6f 75 6e 64 3a 20 24 7b 50 55 42 4c 49 43 5f 44 49 52 7d 22 00 00 72 65 71 75 69 72 ot.found:.${PUBLIC_DIR}"..requir
2960 65 5f 63 6d 64 20 63 70 20 63 68 6d 6f 64 20 63 68 6f 77 6e 20 66 69 6e 64 20 67 72 65 70 20 73 e_cmd.cp.chmod.chown.find.grep.s
2980 65 64 20 61 77 6b 20 73 79 73 74 65 6d 63 74 6c 00 65 6e 73 75 72 65 5f 72 75 6e 74 69 6d 65 5f ed.awk.systemctl.ensure_runtime_
29a0 64 69 72 73 00 6c 6f 61 64 5f 6f 70 74 69 6f 6e 61 6c 5f 63 6f 6e 66 69 67 00 65 6e 73 75 72 65 dirs.load_optional_config.ensure
29c0 5f 72 6f 6f 74 00 00 66 69 00 20 20 65 78 69 74 20 30 00 20 20 20 20 6d 6f 6e 69 74 6f 72 69 6e _root..fi...exit.0.....monitorin
29e0 67 00 20 20 20 20 64 6f 63 6b 65 72 20 5c 00 20 20 20 20 69 32 70 64 20 5c 00 20 20 20 20 74 6f g.....docker.\.....i2pd.\.....to
2a00 72 20 5c 00 20 20 20 20 70 72 6f 73 6f 64 79 20 5c 00 20 20 20 20 70 6f 73 74 66 69 78 20 5c 00 r.\.....prosody.\.....postfix.\.
2a20 20 20 20 20 6d 61 72 69 61 64 62 20 5c 00 20 20 20 20 6e 67 69 6e 78 20 5c 00 20 20 20 20 66 69 ....mariadb.\.....nginx.\.....fi
2a40 72 65 77 61 6c 6c 20 5c 00 20 20 20 20 64 6e 73 20 5c 00 20 20 20 20 6e 65 74 77 6f 72 6b 20 5c rewall.\.....dns.\.....network.\
2a60 00 20 20 20 20 73 73 68 20 5c 00 20 20 20 20 75 73 65 72 73 20 5c 00 20 20 20 20 73 79 73 74 65 .....ssh.\.....users.\.....syste
2a80 6d 2d 62 61 73 69 63 73 20 5c 00 20 20 70 72 69 6e 74 66 20 27 25 73 5c 6e 27 20 5c 00 69 66 20 m-basics.\...printf.'%s\n'.\.if.
2aa0 5b 5b 20 22 24 7b 4c 49 53 54 5f 43 41 54 45 47 4f 52 49 45 53 7d 22 20 3d 3d 20 74 72 75 65 20 [[."${LIST_CATEGORIES}".==.true.
2ac0 5d 5d 3b 20 74 68 65 6e 00 00 64 6f 6e 65 00 20 20 73 68 69 66 74 00 20 20 65 73 61 63 00 20 20 ]];.then..done...shift...esac...
2ae0 20 20 2a 29 20 64 69 65 20 22 75 6e 6b 6e 6f 77 6e 20 6f 70 74 69 6f 6e 3a 20 24 31 22 20 3b 3b ..*).die."unknown.option:.$1".;;
2b00 00 20 20 20 20 2d 2d 68 65 6c 70 29 20 75 73 61 67 65 3b 20 65 78 69 74 20 30 20 3b 3b 00 20 20 .....--help).usage;.exit.0.;;...
2b20 20 20 2d 2d 76 65 72 62 6f 73 65 29 20 56 45 52 42 4f 53 45 3d 74 72 75 65 20 3b 3b 00 20 20 20 ..--verbose).VERBOSE=true.;;....
2b40 20 2d 2d 64 72 79 2d 72 75 6e 29 20 44 52 59 5f 52 55 4e 3d 74 72 75 65 20 3b 3b 00 20 20 20 20 .--dry-run).DRY_RUN=true.;;.....
2b60 2d 2d 79 65 73 29 20 41 53 53 55 4d 45 5f 59 45 53 3d 74 72 75 65 20 3b 3b 00 20 20 20 20 2d 2d --yes).ASSUME_YES=true.;;.....--
2b80 6c 69 73 74 2d 63 61 74 65 67 6f 72 69 65 73 29 20 4c 49 53 54 5f 43 41 54 45 47 4f 52 49 45 53 list-categories).LIST_CATEGORIES
2ba0 3d 74 72 75 65 20 3b 3b 00 20 20 20 20 2d 2d 63 61 74 65 67 6f 72 79 29 20 43 41 54 45 47 4f 52 =true.;;.....--category).CATEGOR
2bc0 49 45 53 2b 3d 28 22 24 32 22 29 3b 20 73 68 69 66 74 20 3b 3b 00 20 20 20 20 2d 2d 72 6f 6c 65 IES+=("$2");.shift.;;.....--role
2be0 29 20 52 4f 4c 45 3d 22 24 32 22 3b 20 73 68 69 66 74 20 3b 3b 00 20 20 20 20 2d 2d 64 62 2d 64 ).ROLE="$2";.shift.;;.....--db-d
2c00 69 72 29 20 44 42 5f 44 49 52 3d 22 24 32 22 3b 20 50 55 42 4c 49 43 5f 44 49 52 3d 22 24 7b 44 ir).DB_DIR="$2";.PUBLIC_DIR="${D
2c20 42 5f 44 49 52 7d 2f 64 62 2f 70 75 62 6c 69 63 22 3b 20 53 45 43 52 45 54 5f 44 49 52 3d 22 24 B_DIR}/db/public";.SECRET_DIR="$
2c40 7b 44 42 5f 44 49 52 7d 2f 64 62 2f 73 65 63 72 65 74 22 3b 20 73 68 69 66 74 20 3b 3b 00 20 20 {DB_DIR}/db/secret";.shift.;;...
2c60 63 61 73 65 20 22 24 31 22 20 69 6e 00 77 68 69 6c 65 20 5b 5b 20 24 23 20 2d 67 74 20 30 20 5d case."$1".in.while.[[.$#.-gt.0.]
2c80 5d 3b 20 64 6f 00 00 7d 00 55 53 41 47 45 00 20 20 6d 6f 6e 69 74 6f 72 69 6e 67 00 20 20 64 6f ];.do..}.USAGE...monitoring...do
2ca0 63 6b 65 72 00 20 20 69 32 70 64 00 20 20 74 6f 72 00 20 20 70 72 6f 73 6f 64 79 00 20 20 70 6f cker...i2pd...tor...prosody...po
2cc0 73 74 66 69 78 00 20 20 6d 61 72 69 61 64 62 00 20 20 6e 67 69 6e 78 00 20 20 66 69 72 65 77 61 stfix...mariadb...nginx...firewa
2ce0 6c 6c 00 20 20 64 6e 73 00 20 20 6e 65 74 77 6f 72 6b 00 20 20 73 73 68 00 20 20 75 73 65 72 73 ll...dns...network...ssh...users
2d00 00 20 20 73 79 73 74 65 6d 2d 62 61 73 69 63 73 00 43 61 74 65 67 6f 72 69 65 73 3a 00 00 20 20 ...system-basics.Categories:....
2d20 2d 2d 68 65 6c 70 00 20 20 2d 2d 76 65 72 62 6f 73 65 00 20 20 2d 2d 64 72 79 2d 72 75 6e 00 20 --help...--verbose...--dry-run..
2d40 20 2d 2d 79 65 73 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4e 6f 6e 2d 69 .--yes.....................Non-i
2d60 6e 74 65 72 61 63 74 69 76 65 20 79 65 73 20 74 6f 20 70 72 6f 6d 70 74 73 00 20 20 2d 2d 6c 69 nteractive.yes.to.prompts...--li
2d80 73 74 2d 63 61 74 65 67 6f 72 69 65 73 00 20 20 2d 2d 63 61 74 65 67 6f 72 79 20 4e 41 4d 45 20 st-categories...--category.NAME.
2da0 20 20 20 20 20 20 20 20 20 20 4d 61 79 20 62 65 20 75 73 65 64 20 6d 75 6c 74 69 70 6c 65 20 74 ..........May.be.used.multiple.t
2dc0 69 6d 65 73 00 20 20 2d 2d 72 6f 6c 65 20 6c 61 62 7c 68 61 72 64 77 61 72 65 7c 72 65 70 6c 61 imes...--role.lab|hardware|repla
2de0 63 65 6d 65 6e 74 00 20 20 2d 2d 64 62 2d 64 69 72 20 50 41 54 48 00 4f 70 74 69 6f 6e 73 3a 00 cement...--db-dir.PATH.Options:.
2e00 00 20 20 63 61 74 65 67 6f 72 69 65 73 20 73 68 6f 75 6c 64 20 62 65 20 72 65 73 74 6f 72 65 64 ...categories.should.be.restored
2e20 20 64 65 6c 69 62 65 72 61 74 65 6c 79 2e 00 20 20 49 6e 74 65 6e 64 65 64 20 74 6f 20 62 65 20 .deliberately....Intended.to.be.
2e40 6e 6f 6e 2d 66 61 74 61 6c 20 70 65 72 20 69 74 65 6d 20 77 68 65 6e 65 76 65 72 20 70 6f 73 73 non-fatal.per.item.whenever.poss
2e60 69 62 6c 65 2e 20 53 65 6e 73 69 74 69 76 65 2f 69 64 65 6e 74 69 74 79 2d 68 65 61 76 79 00 20 ible..Sensitive/identity-heavy..
2e80 20 52 65 73 74 6f 72 65 20 73 65 6c 65 63 74 65 64 20 63 6f 6e 66 69 67 73 20 66 72 6f 6d 20 61 .Restore.selected.configs.from.a
2ea0 20 63 61 70 74 75 72 65 20 44 42 20 69 6e 20 61 20 63 6f 6e 74 72 6f 6c 6c 65 64 2c 20 63 61 74 .capture.DB.in.a.controlled,.cat
2ec0 65 67 6f 72 79 2d 62 61 73 65 64 20 77 61 79 2e 00 50 75 72 70 6f 73 65 3a 00 00 55 73 61 67 65 egory-based.way..Purpose:..Usage
2ee0 3a 20 73 75 64 6f 20 2e 2f 72 65 73 74 6f 72 65 2d 63 6f 6e 66 69 67 73 2e 73 68 20 5b 6f 70 74 :.sudo../restore-configs.sh.[opt
2f00 69 6f 6e 73 5d 00 20 20 63 61 74 20 3c 3c 55 53 41 47 45 00 75 73 61 67 65 28 29 20 7b 00 00 4c ions]...cat.<<USAGE.usage().{..L
2f20 49 53 54 5f 43 41 54 45 47 4f 52 49 45 53 3d 66 61 6c 73 65 00 43 41 54 45 47 4f 52 49 45 53 3d IST_CATEGORIES=false.CATEGORIES=
2f40 28 29 00 53 43 52 49 50 54 5f 4e 41 4d 45 3d 22 72 65 73 74 6f 72 65 2d 63 6f 6e 66 69 67 73 2e ().SCRIPT_NAME="restore-configs.
2f60 73 68 22 00 00 73 6f 75 72 63 65 20 22 24 7b 53 43 52 49 50 54 5f 44 49 52 7d 2f 6c 69 62 2f 63 sh"..source."${SCRIPT_DIR}/lib/c
2f80 6f 6d 6d 6f 6e 2e 73 68 22 00 23 20 73 68 65 6c 6c 63 68 65 63 6b 20 64 69 73 61 62 6c 65 3d 53 ommon.sh".#.shellcheck.disable=S
2fa0 43 31 30 39 31 00 53 43 52 49 50 54 5f 44 49 52 3d 22 24 28 63 64 20 2d 2d 20 22 24 28 64 69 72 C1091.SCRIPT_DIR="$(cd.--."$(dir
2fc0 6e 61 6d 65 20 2d 2d 20 22 24 30 22 29 22 20 26 26 20 70 77 64 29 22 00 00 73 65 74 20 2d 45 65 name.--."$0")".&&.pwd)"..set.-Ee
2fe0 75 6f 20 70 69 70 65 66 61 69 6c 00 23 21 2f 75 73 72 2f 62 69 6e 2f 65 6e 76 20 62 61 73 68 00 uo.pipefail.#!/usr/bin/env.bash.
3000 61 64 00 00 51 0e 00 00 91 0e 00 00 00 10 00 00 0a 00 00 00 00 00 00 00 dd 0f 00 00 b8 0f 00 00 ad..Q...........................
3020 8f 0f 00 00 31 0f 00 00 2a 0f 00 00 25 0f 00 00 24 0f 00 00 05 0f 00 00 c3 0e 00 00 91 0e 00 00 ....1...*...%...$...............
3040 90 0e 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
30a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
30c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
30e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
31a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
31c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
31e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3220 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3240 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3260 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3280 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
32a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
32c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
32e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3300 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3320 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3340 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3360 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3380 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
33a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
33c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
33e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3400 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3420 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3440 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3460 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3480 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
34a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
34c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
34e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3500 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3520 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3540 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3560 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3580 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
35a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
35c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
35e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3600 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3620 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3640 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3660 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3680 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
36a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
36c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
36e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3700 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3720 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3740 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3760 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3780 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
37a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
37c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
37e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3800 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3820 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3840 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3860 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3880 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
38a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
38c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
38e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3900 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3920 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3940 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3960 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3980 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
39a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
39c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
39e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3a00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3a20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3a40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3a60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3a80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3aa0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3ac0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3ae0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3b00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3b20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3b40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3b60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3b80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3ba0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3bc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3be0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3c00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3c20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3c40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3c60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3c80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3ca0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3cc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3ce0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3d00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3d20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3d40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3d60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3d80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3da0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3dc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3de0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3e00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3e20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3e40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3e60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
3e80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 6c 6f 67 20 22 24 7b 53 43 52 49 50 54 5f 4e .................log."${SCRIPT_N
3ea0 41 4d 45 7d 3a 20 64 6f 6e 65 3b 20 72 65 70 6f 72 74 3d 24 7b 52 45 50 4f 52 54 5f 46 49 4c 45 AME}:.done;.report=${REPORT_FILE
3ec0 7d 22 00 72 65 70 6f 72 74 20 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d 45 7d 22 20 22 72 75 6e 22 }".report."${SCRIPT_NAME}"."run"
3ee0 20 22 66 69 6e 69 73 68 22 20 22 65 78 69 74 22 20 22 6f 6b 22 20 22 63 6f 6d 70 6c 65 74 65 64 ."finish"."exit"."ok"."completed
3f00 22 20 22 22 00 73 65 74 5f 73 74 61 74 65 20 72 65 73 74 6f 72 65 5f 63 6f 6e 66 69 67 73 20 64 "."".set_state.restore_configs.d
3f20 6f 6e 65 00 00 64 6f 6e 65 00 20 20 65 73 61 63 00 20 20 20 20 2a 29 20 6e 6f 74 65 5f 66 61 69 one..done...esac.....*).note_fai
3f40 6c 75 72 65 20 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d 45 7d 22 20 22 63 61 74 65 67 6f 72 79 22 lure."${SCRIPT_NAME}"."category"
3f60 20 22 24 7b 63 61 74 65 67 6f 72 79 7d 22 20 22 72 65 73 74 6f 72 65 22 20 22 75 6e 6b 6e 6f 77 ."${category}"."restore"."unknow
3f80 6e 20 63 61 74 65 67 6f 72 79 22 20 3b 3b 00 20 20 20 20 6d 6f 6e 69 74 6f 72 69 6e 67 29 20 20 n.category".;;.....monitoring)..
3fa0 20 20 72 65 73 74 6f 72 65 5f 6d 6f 6e 69 74 6f 72 69 6e 67 20 3b 3b 00 20 20 20 20 64 6f 63 6b ..restore_monitoring.;;.....dock
3fc0 65 72 29 20 20 20 20 20 20 20 20 72 65 73 74 6f 72 65 5f 64 6f 63 6b 65 72 20 3b 3b 00 20 20 20 er)........restore_docker.;;....
3fe0 20 69 32 70 64 29 20 20 20 20 20 20 20 20 20 20 72 65 73 74 6f 72 65 5f 69 32 70 64 20 3b 3b 00 .i2pd)..........restore_i2pd.;;.
4000 61 64 00 00 da 00 00 00 4e 02 00 00 00 10 00 00 57 00 00 00 00 00 00 00 ce 0f 00 00 60 0f 00 00 ad......N.......W...........`...
4020 5f 0f 00 00 37 0f 00 00 d6 0e 00 00 d5 0e 00 00 9a 0e 00 00 4f 0e 00 00 46 0e 00 00 3f 0e 00 00 _...7...............O...F...?...
4040 3e 0e 00 00 f5 0d 00 00 97 0d 00 00 92 0d 00 00 90 0d 00 00 8f 0d 00 00 7b 0d 00 00 4c 0d 00 00 >.......................{...L...
4060 e7 0c 00 00 e6 0c 00 00 aa 0c 00 00 46 0c 00 00 39 0c 00 00 34 0c 00 00 33 0c 00 00 eb 0b 00 00 ............F...9...4...3.......
4080 94 0b 00 00 93 0b 00 00 6d 0b 00 00 38 0b 00 00 f3 0a 00 00 ae 0a 00 00 a5 0a 00 00 82 0a 00 00 ........m...8...................
40a0 48 0a 00 00 fe 09 00 00 b4 09 00 00 ab 09 00 00 a4 09 00 00 a3 09 00 00 5c 09 00 00 12 09 00 00 H.......................\.......
40c0 0b 09 00 00 af 08 00 00 aa 08 00 00 a8 08 00 00 a7 08 00 00 93 08 00 00 5e 08 00 00 29 08 00 00 ........................^...)...
40e0 19 08 00 00 08 08 00 00 07 08 00 00 cb 07 00 00 67 07 00 00 5a 07 00 00 55 07 00 00 54 07 00 00 ................g...Z...U...T...
4100 32 07 00 00 1b 07 00 00 fb 06 00 00 d7 06 00 00 c0 06 00 00 a0 06 00 00 99 06 00 00 42 06 00 00 2...........................B...
4120 35 06 00 00 30 06 00 00 2f 06 00 00 e6 05 00 00 8e 05 00 00 8d 05 00 00 67 05 00 00 30 05 00 00 5...0.../...............g...0...
4140 e9 04 00 00 a2 04 00 00 41 04 00 00 38 04 00 00 fe 03 00 00 b4 03 00 00 6a 03 00 00 fb 02 00 00 ........A...8...........j.......
4160 f4 02 00 00 f3 02 00 00 ac 02 00 00 55 02 00 00 4e 02 00 00 3d 03 00 00 00 03 00 00 ff 02 00 00 ............U...N...=...........
4180 fa 02 00 00 ed 02 00 00 89 02 00 00 4d 02 00 00 4c 02 00 00 e7 01 00 00 b8 01 00 00 b7 01 00 00 ............M...L...............
41a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20 20 65 6c 73 65 00 20 ..........................else..
41c0 20 20 20 20 20 22 6e 6f 72 6d 61 6c 69 7a 65 64 20 2f 65 74 63 2f 70 72 6f 73 6f 64 79 20 6f 77 ....."normalized./etc/prosody.ow
41e0 6e 65 72 73 68 69 70 20 20 65 6c 73 65 00 20 20 20 20 20 20 22 6e 6f 72 6d 61 6c 69 7a 65 64 20 nership..else......."normalized.
4200 2f 65 74 63 2f 70 72 6f 73 6f 64 79 20 6f 77 6e 65 72 73 68 69 70 3d 72 6f 6f 74 3a 72 6f 6f 74 /etc/prosody.ownership=root:root
4220 20 64 69 72 73 3d 30 37 35 35 20 66 69 6c 65 73 3d 30 36 34 34 20 63 65 72 74 73 3d 30 36 34 30 .dirs=0755.files=0644.certs=0640
4240 22 20 22 22 00 20 20 20 20 72 65 70 20 20 20 20 65 6c 73 65 00 20 20 20 20 20 20 22 6e 6f 72 6d "."".....rep....else......."norm
4260 61 6c 69 7a 65 64 20 2f 65 74 63 2f 70 72 6f 73 6f 64 79 20 6f 77 6e 65 72 73 68 69 70 3d 72 6f alized./etc/prosody.ownership=ro
4280 6f 74 3a 72 6f 6f 74 20 64 69 72 73 3d 30 37 35 35 20 66 69 6c 65 73 3d 30 36 34 34 20 63 65 72 ot:root.dirs=0755.files=0644.cer
42a0 74 73 3d 30 36 34 30 22 20 22 22 00 20 20 20 20 72 65 70 6f 72 74 20 22 24 7b 53 43 52 49 50 54 ts=0640"."".....report."${SCRIPT
42c0 5f 4e 41 4d 45 7d 22 20 22 70 72 6f 73 6f 64 79 22 20 22 6d 65 74 61 64 61 74 61 22 20 22 72 65 _NAME}"."prosody"."metadata"."re
42e0 73 74 6f 72 65 22 20 22 63 68 61 6e 67 65 64 22 20 5c 00 00 20 20 20 20 66 69 00 20 20 20 20 20 store"."changed".\......fi......
4300 20 5b 5b 20 2d 64 20 2f 65 74 63 2f 70 72 6f 73 6f 64 79 2f 63 65 72 74 73 20 5d 5d 20 26 26 20 .[[.-d./etc/prosody/certs.]].&&.
4320 66 69 6e 64 20 2f 65 74 63 2f 70 72 6f 73 6f 64 79 2f 63 65 72 74 73 20 2d 74 79 70 65 20 66 20 find./etc/prosody/certs.-type.f.
4340 2d 65 78 65 63 20 63 68 6d 6f 64 20 30 36 34 30 20 7b 7d 20 2b 20 32 3e 2f 64 65 76 2f 6e 75 6c -exec.chmod.0640.{}.+.2>/dev/nul
4360 6c 20 7c 7c 20 74 72 75 65 00 20 20 20 20 20 20 66 69 6e 64 20 2f 65 74 63 2f 70 72 6f 73 6f 64 l.||.true.......find./etc/prosod
4380 79 20 2d 74 79 70 65 20 66 20 2d 65 78 65 63 20 63 68 6d 6f 64 20 30 36 34 34 20 7b 7d 20 2b 20 y.-type.f.-exec.chmod.0644.{}.+.
43a0 32 3e 2f 64 65 76 2f 6e 75 6c 6c 20 7c 7c 20 74 72 75 65 00 20 20 20 20 20 20 66 69 6e 64 20 2f 2>/dev/null.||.true.......find./
43c0 65 74 63 2f 70 72 6f 73 6f 64 79 20 2d 74 79 70 65 20 64 20 2d 65 78 65 63 20 63 68 6d 6f 64 20 etc/prosody.-type.d.-exec.chmod.
43e0 30 37 35 35 20 7b 7d 20 2b 20 32 3e 2f 64 65 76 2f 6e 75 6c 6c 20 7c 7c 20 74 72 75 65 00 20 20 0755.{}.+.2>/dev/null.||.true...
4400 20 20 20 20 63 68 6f 77 6e 20 2d 52 20 72 6f 6f 74 3a 72 6f 6f 74 20 2f 65 74 63 2f 70 72 6f 73 ....chown.-R.root:root./etc/pros
4420 6f 64 79 20 32 3e 2f 64 65 76 2f 6e 75 6c 6c 20 7c 7c 20 74 72 75 65 00 20 20 20 20 65 6c 73 65 ody.2>/dev/null.||.true.....else
4440 00 20 20 20 20 20 20 70 72 69 6e 74 66 20 27 5b 64 72 79 5d 20 66 69 6e 64 20 2f 65 74 63 2f 70 .......printf.'[dry].find./etc/p
4460 72 6f 73 6f 64 79 2f 63 65 72 74 73 20 2d 74 79 70 65 20 66 20 2d 65 78 65 63 20 63 68 6d 6f 64 rosody/certs.-type.f.-exec.chmod
4480 20 30 36 34 30 20 7b 7d 20 2b 20 32 3e 2f 64 65 76 2f 6e 75 6c 6c 20 7c 7c 20 74 72 75 65 5c 6e .0640.{}.+.2>/dev/null.||.true\n
44a0 27 00 20 20 20 20 20 20 70 72 69 6e 74 66 20 27 5b 64 72 79 5d 20 66 69 6e 64 20 2f 65 74 63 2f '.......printf.'[dry].find./etc/
44c0 70 72 6f 73 6f 64 79 20 2d 74 79 70 65 20 66 20 2d 65 78 65 63 20 63 68 6d 6f 64 20 30 36 34 34 prosody.-type.f.-exec.chmod.0644
44e0 20 7b 7d 20 2b 5c 6e 27 00 20 20 20 20 20 20 70 72 69 6e 74 66 20 27 5b 64 72 79 5d 20 66 69 6e .{}.+\n'.......printf.'[dry].fin
4500 64 20 2f 65 74 63 2f 70 72 6f 73 6f 64 79 20 2d 74 79 70 65 20 64 20 2d 65 78 65 63 20 63 68 6d d./etc/prosody.-type.d.-exec.chm
4520 6f 64 20 30 37 35 35 20 7b 7d 20 2b 5c 6e 27 00 20 20 20 20 20 20 70 72 69 6e 74 66 20 27 5b 64 od.0755.{}.+\n'.......printf.'[d
4540 72 79 5d 20 63 68 6f 77 6e 20 2d 52 20 72 6f 6f 74 3a 72 6f 6f 74 20 2f 65 74 63 2f 70 72 6f 73 ry].chown.-R.root:root./etc/pros
4560 6f 64 79 5c 6e 27 00 20 20 20 20 69 66 20 5b 5b 20 24 7b 44 52 59 5f 52 55 4e 7d 20 3d 3d 20 74 ody\n'.....if.[[.${DRY_RUN}.==.t
4580 72 75 65 20 5d 5d 3b 20 74 68 65 6e 00 00 20 20 20 20 72 65 73 74 6f 72 65 5f 70 61 74 68 20 22 rue.]];.then......restore_path."
45a0 24 7b 53 43 52 49 50 54 5f 4e 41 4d 45 7d 22 20 22 70 72 6f 73 6f 64 79 22 20 22 24 7b 6c 61 62 ${SCRIPT_NAME}"."prosody"."${lab
45c0 65 6c 7d 22 20 22 24 7b 62 61 73 65 7d 22 20 22 2f 65 74 63 2f 70 72 6f 73 6f 64 79 22 20 7c 7c el}"."${base}"."/etc/prosody".||
45e0 20 74 72 75 65 00 20 20 69 66 20 70 72 6f 6d 70 74 5f 79 65 73 5f 6e 6f 20 22 52 65 73 74 6f 72 .true...if.prompt_yes_no."Restor
4600 65 20 70 72 6f 73 6f 64 79 2f 24 7b 6c 61 62 65 6c 7d 20 2d 3e 20 2f 65 74 63 2f 70 72 6f 73 6f e.prosody/${label}.->./etc/proso
4620 64 79 3f 22 20 79 65 73 3b 20 74 68 65 6e 00 00 20 20 66 69 00 20 20 20 20 72 65 74 75 72 6e 20 dy?".yes;.then....fi.....return.
4640 30 00 20 20 20 20 6d 61 72 6b 5f 6d 61 6e 75 61 6c 20 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d 45 0.....mark_manual."${SCRIPT_NAME
4660 7d 22 20 22 70 72 6f 73 6f 64 79 22 20 22 64 62 22 20 22 6d 69 73 73 69 6e 67 20 70 75 62 6c 69 }"."prosody"."db"."missing.publi
4680 63 2f 73 65 63 72 65 74 20 70 72 6f 73 6f 64 79 20 63 6f 6e 66 69 67 22 00 20 20 65 6c 73 65 00 c/secret.prosody.config"...else.
46a0 20 20 20 20 6c 61 62 65 6c 3d 22 65 74 63 2d 70 72 6f 73 6f 64 79 28 70 75 62 6c 69 63 29 22 00 ....label="etc-prosody(public)".
46c0 20 20 20 20 62 61 73 65 3d 22 24 7b 70 75 62 5f 62 61 73 65 7d 22 00 20 20 65 6c 69 66 20 5b 5b ....base="${pub_base}"...elif.[[
46e0 20 2d 64 20 22 24 7b 70 75 62 5f 62 61 73 65 7d 22 20 5d 5d 3b 20 74 68 65 6e 00 20 20 20 20 6c .-d."${pub_base}".]];.then.....l
4700 61 62 65 6c 3d 22 65 74 63 2d 70 72 6f 73 6f 64 79 28 73 65 63 72 65 74 29 22 00 20 20 20 20 62 abel="etc-prosody(secret)".....b
4720 61 73 65 3d 22 24 7b 73 65 63 5f 62 61 73 65 7d 22 00 20 20 69 66 20 5b 5b 20 2d 64 20 22 24 7b ase="${sec_base}"...if.[[.-d."${
4740 73 65 63 5f 62 61 73 65 7d 22 20 5d 5d 3b 20 74 68 65 6e 00 00 20 20 66 69 00 20 20 20 20 72 65 sec_base}".]];.then....fi.....re
4760 74 75 72 6e 20 30 00 20 20 20 20 72 65 70 6f 72 74 20 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d 45 turn.0.....report."${SCRIPT_NAME
4780 7d 22 20 22 70 72 6f 73 6f 64 79 22 20 22 63 61 74 65 67 6f 72 79 22 20 22 72 65 73 74 6f 72 65 }"."prosody"."category"."restore
47a0 22 20 22 73 6b 69 70 70 65 64 22 20 22 6f 70 65 72 61 74 6f 72 20 73 6b 69 70 70 65 64 20 63 61 "."skipped"."operator.skipped.ca
47c0 74 65 67 6f 72 79 22 20 22 22 00 20 20 69 66 20 21 20 70 72 6f 6d 70 74 5f 79 65 73 5f 6e 6f 20 tegory".""...if.!.prompt_yes_no.
47e0 22 52 65 73 74 6f 72 65 20 63 61 74 65 67 6f 72 79 20 27 70 72 6f 73 6f 64 79 27 3f 22 20 6e 6f "Restore.category.'prosody'?".no
4800 3b 20 74 68 65 6e 00 00 20 20 6c 6f 63 61 6c 20 6c 61 62 65 6c 3d 22 22 00 20 20 6c 6f 63 61 6c ;.then....local.label=""...local
4820 20 62 61 73 65 3d 22 22 00 20 20 6c 6f 63 61 6c 20 73 65 63 5f 62 61 73 65 3d 22 24 7b 53 45 43 .base=""...local.sec_base="${SEC
4840 52 45 54 5f 44 49 52 7d 2f 70 72 6f 73 6f 64 79 2f 65 74 63 2d 70 72 6f 73 6f 64 79 22 00 20 20 RET_DIR}/prosody/etc-prosody"...
4860 6c 6f 63 61 6c 20 70 75 62 5f 62 61 73 65 3d 22 24 7b 50 55 42 4c 49 43 5f 44 49 52 7d 2f 70 72 local.pub_base="${PUBLIC_DIR}/pr
4880 6f 73 6f 64 79 2f 65 74 63 2d 70 72 6f 73 6f 64 79 22 00 72 65 73 74 6f 72 65 5f 70 72 6f 73 6f osody/etc-prosody".restore_proso
48a0 64 79 28 29 20 7b 00 00 7d 00 20 20 66 69 00 20 20 20 20 72 65 70 6f 72 74 20 22 24 7b 53 43 52 dy().{..}...fi.....report."${SCR
48c0 49 50 54 5f 4e 41 4d 45 7d 22 20 22 6d 61 72 69 61 64 62 22 20 22 65 74 63 2d 6d 79 73 71 6c 22 IPT_NAME}"."mariadb"."etc-mysql"
48e0 20 22 72 65 73 74 6f 72 65 22 20 22 73 6b 69 70 70 65 64 22 20 22 6f 70 65 72 61 74 6f 72 20 73 ."restore"."skipped"."operator.s
4900 6b 69 70 70 65 64 22 20 22 22 00 20 20 65 6c 73 65 00 20 20 20 20 20 20 22 6e 6f 72 6d 61 6c 69 kipped".""...else......."normali
4920 7a 65 64 20 2f 65 74 63 2f 6d 79 73 71 6c 20 6f 77 6e 65 72 73 68 69 70 3d 72 6f 6f 74 3a 72 6f zed./etc/mysql.ownership=root:ro
4940 6f 74 20 64 69 72 73 3d 30 37 35 35 20 66 69 6c 65 73 3d 30 36 34 34 22 20 22 22 00 20 20 20 20 ot.dirs=0755.files=0644"."".....
4960 72 65 70 6f 72 74 20 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d 45 7d 22 20 22 6d 61 72 69 61 64 62 report."${SCRIPT_NAME}"."mariadb
4980 22 20 22 6d 65 74 61 64 61 74 61 22 20 22 72 65 73 74 6f 72 65 22 20 22 63 68 61 6e 67 65 64 22 "."metadata"."restore"."changed"
49a0 20 5c 00 00 20 20 20 20 66 69 00 20 20 20 20 20 20 66 69 00 20 20 20 20 20 20 20 20 66 69 6e 64 .\......fi.......fi.........find
49c0 20 2f 65 74 63 2f 6d 79 73 71 6c 20 2d 74 79 70 65 20 66 20 2d 65 78 65 63 20 63 68 6d 6f 64 20 ./etc/mysql.-type.f.-exec.chmod.
49e0 30 36 34 34 20 7b 7d 20 2b 20 32 3e 2f 64 65 76 2f 6e 75 6c 6c 20 7c 7c 20 74 72 75 65 00 20 20 0644.{}.+.2>/dev/null.||.true...
4a00 20 20 20 20 20 20 66 69 6e 64 20 2f 65 74 63 2f 6d 79 73 71 6c 20 2d 74 79 70 65 20 64 20 2d 65 ......find./etc/mysql.-type.d.-e
4a20 78 65 63 20 63 68 6d 6f 64 20 30 37 35 35 20 7b 7d 20 2b 20 32 3e 2f 64 65 76 2f 6e 75 6c 6c 20 xec.chmod.0755.{}.+.2>/dev/null.
4a40 7c 7c 20 74 72 75 65 00 20 20 20 20 20 20 20 20 63 68 6f 77 6e 20 2d 52 20 72 6f 6f 74 3a 72 6f ||.true.........chown.-R.root:ro
4a60 6f 74 20 2f 65 74 63 2f 6d 79 73 71 6c 20 32 3e 2f 64 65 76 2f 6e 75 6c 6c 20 7c 7c 20 74 72 75 ot./etc/mysql.2>/dev/null.||.tru
4a80 65 00 20 20 20 20 20 20 69 66 20 5b 5b 20 2d 64 20 2f 65 74 63 2f 6d 79 73 71 6c 20 5d 5d 3b 20 e.......if.[[.-d./etc/mysql.]];.
4aa0 74 68 65 6e 00 20 20 20 20 65 6c 73 65 00 20 20 20 20 20 20 70 72 69 6e 74 66 20 27 5b 64 72 79 then.....else.......printf.'[dry
4ac0 5d 20 66 69 6e 64 20 2f 65 74 63 2f 6d 79 73 71 6c 20 2d 74 79 70 65 20 66 20 2d 65 78 65 63 20 ].find./etc/mysql.-type.f.-exec.
4ae0 63 68 6d 6f 64 20 30 36 34 34 20 7b 7d 20 2b 5c 6e 27 00 20 20 20 20 20 20 70 72 69 6e 74 66 20 chmod.0644.{}.+\n'.......printf.
4b00 27 5b 64 72 79 5d 20 66 69 6e 64 20 2f 65 74 63 2f 6d 79 73 71 6c 20 2d 74 79 70 65 20 64 20 2d '[dry].find./etc/mysql.-type.d.-
4b20 65 78 65 63 20 63 68 6d 6f 64 20 30 37 35 35 20 7b 7d 20 2b 5c 6e 27 00 20 20 20 20 20 20 70 72 exec.chmod.0755.{}.+\n'.......pr
4b40 69 6e 74 66 20 27 5b 64 72 79 5d 20 63 68 6f 77 6e 20 2d 52 20 72 6f 6f 74 3a 72 6f 6f 74 20 2f intf.'[dry].chown.-R.root:root./
4b60 65 74 63 2f 6d 79 73 71 6c 5c 6e 27 00 20 20 20 20 69 66 20 5b 5b 20 24 7b 44 52 59 5f 52 55 4e etc/mysql\n'.....if.[[.${DRY_RUN
4b80 7d 20 3d 3d 20 74 72 75 65 20 5d 5d 3b 20 74 68 65 6e 00 00 20 20 20 20 72 65 73 74 6f 72 65 5f }.==.true.]];.then......restore_
4ba0 70 61 74 68 20 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d 45 7d 22 20 22 6d 61 72 69 61 64 62 22 20 path."${SCRIPT_NAME}"."mariadb".
4bc0 22 65 74 63 2d 6d 79 73 71 6c 22 20 22 24 7b 62 61 73 65 7d 22 20 22 2f 65 74 63 2f 6d 79 73 71 "etc-mysql"."${base}"."/etc/mysq
4be0 6c 22 20 7c 7c 20 74 72 75 65 00 20 20 69 66 20 70 72 6f 6d 70 74 5f 79 65 73 5f 6e 6f 20 22 52 l".||.true...if.prompt_yes_no."R
4c00 65 73 74 6f 72 65 20 6d 61 72 69 61 64 62 2f 65 74 63 2d 6d 79 73 71 6c 20 2d 3e 20 2f 65 74 63 estore.mariadb/etc-mysql.->./etc
4c20 2f 6d 79 73 71 6c 3f 22 20 79 65 73 3b 20 74 68 65 6e 00 00 20 20 66 69 00 20 20 20 20 72 65 74 /mysql?".yes;.then....fi.....ret
4c40 75 72 6e 20 30 00 20 20 20 20 72 65 70 6f 72 74 20 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d 45 7d urn.0.....report."${SCRIPT_NAME}
4c60 22 20 22 6d 61 72 69 61 64 62 22 20 22 63 61 74 65 67 6f 72 79 22 20 22 72 65 73 74 6f 72 65 22 "."mariadb"."category"."restore"
4c80 20 22 73 6b 69 70 70 65 64 22 20 22 6f 70 65 72 61 74 6f 72 20 73 6b 69 70 70 65 64 20 63 61 74 ."skipped"."operator.skipped.cat
4ca0 65 67 6f 72 79 22 20 22 22 00 20 20 69 66 20 21 20 70 72 6f 6d 70 74 5f 79 65 73 5f 6e 6f 20 22 egory".""...if.!.prompt_yes_no."
4cc0 52 65 73 74 6f 72 65 20 63 61 74 65 67 6f 72 79 20 27 6d 61 72 69 61 64 62 27 3f 22 20 6e 6f 3b Restore.category.'mariadb'?".no;
4ce0 20 74 68 65 6e 00 00 20 20 5b 5b 20 2d 64 20 22 24 7b 62 61 73 65 7d 22 20 5d 5d 20 7c 7c 20 7b .then....[[.-d."${base}".]].||.{
4d00 20 6d 61 72 6b 5f 6d 61 6e 75 61 6c 20 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d 45 7d 22 20 22 6d .mark_manual."${SCRIPT_NAME}"."m
4d20 61 72 69 61 64 62 22 20 22 64 62 22 20 22 6d 69 73 73 69 6e 67 20 24 7b 62 61 73 65 7d 22 3b 20 ariadb"."db"."missing.${base}";.
4d40 72 65 74 75 72 6e 20 30 3b 20 7d 00 20 20 6c 6f 63 61 6c 20 62 61 73 65 3d 22 24 7b 50 55 42 4c return.0;.}...local.base="${PUBL
4d60 49 43 5f 44 49 52 7d 2f 6d 61 72 69 61 64 62 2f 65 74 63 2d 6d 79 73 71 6c 22 00 72 65 73 74 6f IC_DIR}/mariadb/etc-mysql".resto
4d80 72 65 5f 6d 61 72 69 61 64 62 28 29 20 7b 00 00 7d 00 20 20 66 69 00 20 20 20 20 20 20 22 6c 61 re_mariadb().{..}...fi......."la
4da0 62 20 72 6f 6c 65 3a 20 64 72 6f 70 70 65 64 20 63 61 70 74 75 72 65 64 20 70 72 6f 64 75 63 74 b.role:.dropped.captured.product
4dc0 69 6f 6e 20 73 69 74 65 73 2d 65 6e 61 62 6c 65 64 20 61 6e 64 20 72 65 73 74 6f 72 65 64 20 6f ion.sites-enabled.and.restored.o
4de0 6e 6c 79 20 64 65 66 61 75 6c 74 20 73 69 74 65 22 20 22 22 00 20 20 20 20 72 65 70 6f 72 74 20 nly.default.site"."".....report.
4e00 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d 45 7d 22 20 22 6e 67 69 6e 78 22 20 22 6c 61 62 2d 73 61 "${SCRIPT_NAME}"."nginx"."lab-sa
4e20 6e 69 74 69 7a 65 22 20 22 72 65 73 74 6f 72 65 22 20 22 63 68 61 6e 67 65 64 22 20 5c 00 00 20 nitize"."restore"."changed".\...
4e40 20 20 20 66 69 00 20 20 20 20 20 20 66 69 00 20 20 20 20 20 20 20 20 6c 6e 20 2d 73 66 20 2e 2e ...fi.......fi.........ln.-sf...
4e60 2f 73 69 74 65 73 2d 61 76 61 69 6c 61 62 6c 65 2f 64 65 66 61 75 6c 74 20 2f 65 74 63 2f 6e 67 /sites-available/default./etc/ng
4e80 69 6e 78 2f 73 69 74 65 73 2d 65 6e 61 62 6c 65 64 2f 64 65 66 61 75 6c 74 00 20 20 20 20 20 20 inx/sites-enabled/default.......
4ea0 69 66 20 5b 5b 20 2d 65 20 2f 65 74 63 2f 6e 67 69 6e 78 2f 73 69 74 65 73 2d 61 76 61 69 6c 61 if.[[.-e./etc/nginx/sites-availa
4ec0 62 6c 65 2f 64 65 66 61 75 6c 74 20 5d 5d 3b 20 74 68 65 6e 00 00 20 20 20 20 20 20 66 69 6e 64 ble/default.]];.then........find
4ee0 20 2f 65 74 63 2f 6e 67 69 6e 78 2f 73 69 74 65 73 2d 65 6e 61 62 6c 65 64 20 2d 6d 69 6e 64 65 ./etc/nginx/sites-enabled.-minde
4f00 70 74 68 20 31 20 2d 6d 61 78 64 65 70 74 68 20 31 20 2d 65 78 65 63 20 72 6d 20 2d 66 20 7b 7d pth.1.-maxdepth.1.-exec.rm.-f.{}
4f20 20 2b 20 32 3e 2f 64 65 76 2f 6e 75 6c 6c 20 7c 7c 20 74 72 75 65 00 20 20 20 20 20 20 6d 6b 64 .+.2>/dev/null.||.true.......mkd
4f40 69 72 20 2d 70 20 2f 65 74 63 2f 6e 67 69 6e 78 2f 73 69 74 65 73 2d 65 6e 61 62 6c 65 64 00 00 ir.-p./etc/nginx/sites-enabled..
4f60 20 20 20 20 20 20 66 69 6e 64 20 2f 65 74 63 2f 6e 67 69 6e 78 20 2d 6d 61 78 64 65 70 74 68 20 ......find./etc/nginx.-maxdepth.
4f80 31 20 2d 74 79 70 65 20 64 20 2d 6e 61 6d 65 20 27 73 69 74 65 73 2d 61 76 61 69 6c 61 62 6c 65 1.-type.d.-name.'sites-available
4fa0 2e 62 61 6b 2e 2a 27 20 2d 65 78 65 63 20 72 6d 20 2d 72 66 20 7b 7d 20 2b 20 32 3e 2f 64 65 76 .bak.*'.-exec.rm.-rf.{}.+.2>/dev
4fc0 2f 6e 75 6c 6c 20 7c 7c 20 74 72 75 65 00 20 20 20 20 20 20 72 6d 20 2d 72 66 20 2f 65 74 63 2f /null.||.true.......rm.-rf./etc/
4fe0 6e 67 69 6e 78 2f 6e 67 69 6e 78 20 32 3e 2f 64 65 76 2f 6e 75 6c 6c 20 7c 7c 20 74 72 75 65 00 nginx/nginx.2>/dev/null.||.true.
5000 61 64 00 00 36 00 00 00 9a 01 00 00 00 10 00 00 53 00 00 00 00 00 00 00 ff 0f 00 00 e5 0f 00 00 ad..6...........S...............
5020 c1 0f 00 00 56 0f 00 00 55 0f 00 00 12 0f 00 00 a8 0e 00 00 9b 0e 00 00 96 0e 00 00 95 0e 00 00 ....V...U.......................
5040 35 0e 00 00 d8 0d 00 00 75 0d 00 00 13 0d 00 00 b3 0c 00 00 b2 0c 00 00 87 0c 00 00 6b 0c 00 00 5.......u...................k...
5060 1c 0c 00 00 ef 0b 00 00 af 0b 00 00 85 0b 00 00 37 0b 00 00 2a 0b 00 00 96 0a 00 00 8b 0a 00 00 ................7...*...........
5080 23 0a 00 00 18 0a 00 00 a8 09 00 00 9f 09 00 00 98 09 00 00 93 09 00 00 91 09 00 00 90 09 00 00 #...............................
50a0 7e 09 00 00 5b 09 00 00 f8 08 00 00 f7 08 00 00 bc 08 00 00 5a 08 00 00 4d 08 00 00 48 08 00 00 ~...[...............Z...M...H...
50c0 47 08 00 00 fe 07 00 00 b3 07 00 00 97 07 00 00 4f 07 00 00 03 07 00 00 01 07 00 00 00 07 00 00 G...............O...............
50e0 f0 06 00 00 c8 06 00 00 a4 06 00 00 a3 06 00 00 6a 06 00 00 0a 06 00 00 fd 05 00 00 f8 05 00 00 ................j...............
5100 f7 05 00 00 a7 05 00 00 6f 05 00 00 35 05 00 00 18 05 00 00 11 05 00 00 b7 04 00 00 b2 04 00 00 ........o...5...................
5120 b1 04 00 00 5d 04 00 00 23 04 00 00 df 03 00 00 de 03 00 00 b8 03 00 00 77 03 00 00 26 03 00 00 ....]...#...............w...&...
5140 d5 02 00 00 cc 02 00 00 9d 02 00 00 57 02 00 00 01 02 00 00 ab 01 00 00 a2 01 00 00 9b 01 00 00 ............W...................
5160 9a 01 00 00 99 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
5180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20 20 20 20 66 ...............................f
51a0 69 00 20 20 20 20 20 20 66 69 00 20 20 20 20 20 20 20 20 66 69 6e 64 20 2f 65 74 63 2f 73 73 68 i.......fi.........find./etc/ssh
51c0 2f 73 73 68 64 5f 63 6f 6e 66 69 67 2e 64 20 2d 74 79 70 65 20 66 20 2d 65 78 65 63 20 63 68 6d /sshd_config.d.-type.f.-exec.chm
51e0 6f 64 20 30 36 34 34 20 7b 7d 20 2b 20 32 3e 2f 64 65 76 2f 6e 75 6c 6c 20 7c 7c 20 74 72 75 65 od.0644.{}.+.2>/dev/null.||.true
5200 00 20 20 20 20 20 20 20 20 66 69 6e 64 20 2f 65 74 63 2f 73 73 68 2f 73 73 68 64 5f 63 6f 6e 66 .........find./etc/ssh/sshd_conf
5220 69 67 2e 64 20 2d 74 79 70 65 20 64 20 2d 65 78 65 63 20 63 68 6d 6f 64 20 30 37 35 35 20 7b 7d ig.d.-type.d.-exec.chmod.0755.{}
5240 20 2b 20 32 3e 2f 64 65 76 2f 6e 75 6c 6c 20 7c 7c 20 74 72 75 65 00 20 20 20 20 20 20 20 20 63 .+.2>/dev/null.||.true.........c
5260 68 6f 77 6e 20 2d 52 20 72 6f 6f 74 3a 72 6f 6f 74 20 2f 65 74 63 2f 73 73 68 2f 73 73 68 64 5f hown.-R.root:root./etc/ssh/sshd_
5280 63 6f 6e 66 69 67 2e 64 20 32 3e 2f 64 65 76 2f 6e 75 6c 6c 20 7c 7c 20 74 72 75 65 00 20 20 20 config.d.2>/dev/null.||.true....
52a0 20 20 20 69 66 20 5b 5b 20 2d 64 20 2f 65 74 63 2f 73 73 68 2f 73 73 68 64 5f 63 6f 6e 66 69 67 ...if.[[.-d./etc/ssh/sshd_config
52c0 2e 64 20 5d 5d 3b 20 74 68 65 6e 00 20 20 20 20 65 6c 73 65 00 20 20 20 20 20 20 70 72 69 6e 74 .d.]];.then.....else.......print
52e0 66 20 27 5b 64 72 79 5d 20 66 69 6e 64 20 2f 65 74 63 2f 73 73 68 2f 73 73 68 64 5f 63 6f 6e 66 f.'[dry].find./etc/ssh/sshd_conf
5300 69 67 2e 64 20 2d 74 79 70 65 20 66 20 2d 65 78 65 63 20 63 68 6d 6f 64 20 30 36 34 34 20 7b 7d ig.d.-type.f.-exec.chmod.0644.{}
5320 20 2b 5c 6e 27 00 20 20 20 20 20 20 70 72 69 6e 74 66 20 27 5b 64 72 79 5d 20 66 69 6e 64 20 2f .+\n'.......printf.'[dry].find./
5340 65 74 63 2f 73 73 68 2f 73 73 68 64 5f 63 6f 6e 66 69 67 2e 64 20 2d 74 79 70 65 20 64 20 2d 65 etc/ssh/sshd_config.d.-type.d.-e
5360 78 65 63 20 63 68 6d 6f 64 20 30 37 35 35 20 7b 7d 20 2b 5c 6e 27 00 20 20 20 20 20 20 70 72 69 xec.chmod.0755.{}.+\n'.......pri
5380 6e 74 66 20 27 5b 64 72 79 5d 20 63 68 6f 77 6e 20 2d 52 20 72 6f 6f 74 3a 72 6f 6f 74 20 2f 65 ntf.'[dry].chown.-R.root:root./e
53a0 74 63 2f 73 73 68 2f 73 73 68 64 5f 63 6f 6e 66 69 67 2e 64 5c 6e 27 00 20 20 20 20 69 66 20 5b tc/ssh/sshd_config.d\n'.....if.[
53c0 5b 20 24 7b 44 52 59 5f 52 55 4e 7d 20 3d 3d 20 74 72 75 65 20 5d 5d 3b 20 74 68 65 6e 00 00 20 [.${DRY_RUN}.==.true.]];.then...
53e0 20 20 20 20 20 22 24 7b 70 75 62 5f 75 73 65 72 73 7d 2f 73 73 68 64 5f 63 6f 6e 66 69 67 2e 64 ....."${pub_users}/sshd_config.d
5400 22 20 22 2f 65 74 63 2f 73 73 68 2f 73 73 68 64 5f 63 6f 6e 66 69 67 2e 64 22 20 7c 7c 20 74 72 "."/etc/ssh/sshd_config.d".||.tr
5420 75 65 00 20 20 20 20 72 65 73 74 6f 72 65 5f 70 61 74 68 20 22 24 7b 53 43 52 49 50 54 5f 4e 41 ue.....restore_path."${SCRIPT_NA
5440 4d 45 7d 22 20 22 73 73 68 22 20 22 73 73 68 64 5f 63 6f 6e 66 69 67 2e 64 22 20 5c 00 20 20 69 ME}"."ssh"."sshd_config.d".\...i
5460 66 20 70 72 6f 6d 70 74 5f 79 65 73 5f 6e 6f 20 22 52 65 73 74 6f 72 65 20 73 73 68 2f 73 73 68 f.prompt_yes_no."Restore.ssh/ssh
5480 64 5f 63 6f 6e 66 69 67 2e 64 20 2d 3e 20 2f 65 74 63 2f 73 73 68 2f 73 73 68 64 5f 63 6f 6e 66 d_config.d.->./etc/ssh/sshd_conf
54a0 69 67 2e 64 3f 22 20 79 65 73 3b 20 74 68 65 6e 00 00 20 20 66 69 00 20 20 20 20 72 65 70 6f 72 ig.d?".yes;.then....fi.....repor
54c0 74 20 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d 45 7d 22 20 22 73 73 68 22 20 22 73 73 68 64 5f 63 t."${SCRIPT_NAME}"."ssh"."sshd_c
54e0 6f 6e 66 69 67 22 20 22 72 65 73 74 6f 72 65 22 20 22 73 6b 69 70 70 65 64 22 20 22 6f 70 65 72 onfig"."restore"."skipped"."oper
5500 61 74 6f 72 20 73 6b 69 70 70 65 64 22 20 22 22 00 20 20 65 6c 73 65 00 20 20 20 20 20 20 30 36 ator.skipped".""...else.......06
5520 34 34 20 72 6f 6f 74 20 72 6f 6f 74 20 7c 7c 20 74 72 75 65 00 20 20 20 20 20 20 22 24 7b 70 75 44.root.root.||.true......."${pu
5540 62 5f 75 73 65 72 73 7d 2f 73 73 68 64 5f 63 6f 6e 66 69 67 22 20 22 2f 65 74 63 2f 73 73 68 2f b_users}/sshd_config"."/etc/ssh/
5560 73 73 68 64 5f 63 6f 6e 66 69 67 22 20 5c 00 20 20 20 20 72 65 73 74 6f 72 65 5f 70 61 74 68 20 sshd_config".\.....restore_path.
5580 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d 45 7d 22 20 22 73 73 68 22 20 22 73 73 68 64 5f 63 6f 6e "${SCRIPT_NAME}"."ssh"."sshd_con
55a0 66 69 67 22 20 5c 00 20 20 69 66 20 70 72 6f 6d 70 74 5f 79 65 73 5f 6e 6f 20 22 52 65 73 74 6f fig".\...if.prompt_yes_no."Resto
55c0 72 65 20 73 73 68 2f 73 73 68 64 5f 63 6f 6e 66 69 67 20 2d 3e 20 2f 65 74 63 2f 73 73 68 2f 73 re.ssh/sshd_config.->./etc/ssh/s
55e0 73 68 64 5f 63 6f 6e 66 69 67 3f 22 20 79 65 73 3b 20 74 68 65 6e 00 00 20 20 66 69 00 20 20 20 shd_config?".yes;.then....fi....
5600 20 72 65 74 75 72 6e 20 30 00 20 20 20 20 72 65 70 6f 72 74 20 22 24 7b 53 43 52 49 50 54 5f 4e .return.0.....report."${SCRIPT_N
5620 41 4d 45 7d 22 20 22 73 73 68 22 20 22 63 61 74 65 67 6f 72 79 22 20 22 72 65 73 74 6f 72 65 22 AME}"."ssh"."category"."restore"
5640 20 22 73 6b 69 70 70 65 64 22 20 22 6f 70 65 72 61 74 6f 72 20 73 6b 69 70 70 65 64 20 63 61 74 ."skipped"."operator.skipped.cat
5660 65 67 6f 72 79 22 20 22 22 00 20 20 69 66 20 21 20 70 72 6f 6d 70 74 5f 79 65 73 5f 6e 6f 20 22 egory".""...if.!.prompt_yes_no."
5680 52 65 73 74 6f 72 65 20 63 61 74 65 67 6f 72 79 20 27 73 73 68 27 3f 22 20 79 65 73 3b 20 74 68 Restore.category.'ssh'?".yes;.th
56a0 65 6e 00 00 20 20 6c 6f 63 61 6c 20 73 65 63 5f 73 73 68 3d 22 24 7b 53 45 43 52 45 54 5f 44 49 en....local.sec_ssh="${SECRET_DI
56c0 52 7d 2f 73 73 68 22 00 20 20 6c 6f 63 61 6c 20 70 75 62 5f 75 73 65 72 73 3d 22 24 7b 50 55 42 R}/ssh"...local.pub_users="${PUB
56e0 4c 49 43 5f 44 49 52 7d 2f 75 73 65 72 73 22 00 72 65 73 74 6f 72 65 5f 73 73 68 28 29 20 7b 00 LIC_DIR}/users".restore_ssh().{.
5700 00 7d 00 20 20 6d 61 79 62 65 5f 72 65 73 74 6f 72 65 20 22 75 73 65 72 73 22 20 22 6c 6f 67 69 .}...maybe_restore."users"."logi
5720 6e 2e 64 65 66 73 22 20 22 24 7b 62 61 73 65 7d 2f 6c 6f 67 69 6e 2e 64 65 66 73 22 20 22 2f 65 n.defs"."${base}/login.defs"."/e
5740 74 63 2f 6c 6f 67 69 6e 2e 64 65 66 73 22 00 20 20 6d 61 79 62 65 5f 72 65 73 74 6f 72 65 20 22 tc/login.defs"...maybe_restore."
5760 75 73 65 72 73 22 20 22 73 68 65 6c 6c 73 22 20 20 20 20 20 22 24 7b 62 61 73 65 7d 2f 73 68 65 users"."shells"....."${base}/she
5780 6c 6c 73 22 20 20 20 20 20 22 2f 65 74 63 2f 73 68 65 6c 6c 73 22 00 20 20 66 69 78 5f 73 75 64 lls"....."/etc/shells"...fix_sud
57a0 6f 65 72 73 5f 70 65 72 6d 73 20 7c 7c 20 74 72 75 65 00 20 20 6d 61 79 62 65 5f 72 65 73 74 6f oers_perms.||.true...maybe_resto
57c0 72 65 20 22 75 73 65 72 73 22 20 22 73 75 64 6f 65 72 73 2e 64 22 20 20 22 24 7b 62 61 73 65 7d re."users"."sudoers.d".."${base}
57e0 2f 73 75 64 6f 65 72 73 2e 64 22 20 20 22 2f 65 74 63 2f 73 75 64 6f 65 72 73 2e 64 22 00 20 20 /sudoers.d".."/etc/sudoers.d"...
5800 6d 61 79 62 65 5f 72 65 73 74 6f 72 65 20 22 75 73 65 72 73 22 20 22 73 75 64 6f 65 72 73 22 20 maybe_restore."users"."sudoers".
5820 20 20 20 22 24 7b 62 61 73 65 7d 2f 73 75 64 6f 65 72 73 22 20 20 20 20 22 2f 65 74 63 2f 73 75 ..."${base}/sudoers"...."/etc/su
5840 64 6f 65 72 73 22 00 00 20 20 66 69 00 20 20 20 20 72 65 74 75 72 6e 20 30 00 20 20 20 20 72 65 doers"....fi.....return.0.....re
5860 70 6f 72 74 20 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d 45 7d 22 20 22 75 73 65 72 73 22 20 22 63 port."${SCRIPT_NAME}"."users"."c
5880 61 74 65 67 6f 72 79 22 20 22 72 65 73 74 6f 72 65 22 20 22 73 6b 69 70 70 65 64 22 20 22 6f 70 ategory"."restore"."skipped"."op
58a0 65 72 61 74 6f 72 20 73 6b 69 70 70 65 64 20 63 61 74 65 67 6f 72 79 22 20 22 22 00 20 20 69 66 erator.skipped.category".""...if
58c0 20 21 20 70 72 6f 6d 70 74 5f 79 65 73 5f 6e 6f 20 22 52 65 73 74 6f 72 65 20 63 61 74 65 67 6f .!.prompt_yes_no."Restore.catego
58e0 72 79 20 27 75 73 65 72 73 27 3f 22 20 79 65 73 3b 20 74 68 65 6e 00 00 20 20 5b 5b 20 2d 64 20 ry.'users'?".yes;.then....[[.-d.
5900 22 24 7b 62 61 73 65 7d 22 20 5d 5d 20 7c 7c 20 7b 20 6d 61 72 6b 5f 6d 61 6e 75 61 6c 20 22 24 "${base}".]].||.{.mark_manual."$
5920 7b 53 43 52 49 50 54 5f 4e 41 4d 45 7d 22 20 22 75 73 65 72 73 22 20 22 64 62 22 20 22 6d 69 73 {SCRIPT_NAME}"."users"."db"."mis
5940 73 69 6e 67 20 24 7b 62 61 73 65 7d 22 3b 20 72 65 74 75 72 6e 20 30 3b 20 7d 00 20 20 6c 6f 63 sing.${base}";.return.0;.}...loc
5960 61 6c 20 62 61 73 65 3d 22 24 7b 50 55 42 4c 49 43 5f 44 49 52 7d 2f 75 73 65 72 73 22 00 72 65 al.base="${PUBLIC_DIR}/users".re
5980 73 74 6f 72 65 5f 75 73 65 72 73 28 29 20 7b 00 00 7d 00 20 20 66 69 00 20 20 20 20 66 69 00 20 store_users().{..}...fi.....fi..
59a0 20 20 20 20 20 66 69 00 20 20 20 20 20 20 20 20 72 65 70 6f 72 74 20 22 24 7b 53 43 52 49 50 54 .....fi.........report."${SCRIPT
59c0 5f 4e 41 4d 45 7d 22 20 22 73 79 73 74 65 6d 2d 62 61 73 69 63 73 22 20 22 68 6f 73 74 6e 61 6d _NAME}"."system-basics"."hostnam
59e0 65 63 74 6c 22 20 22 73 65 74 22 20 22 73 6b 69 70 70 65 64 22 20 22 6f 70 65 72 61 74 6f 72 20 ectl"."set"."skipped"."operator.
5a00 73 6b 69 70 70 65 64 20 68 6f 73 74 6e 61 6d 65 63 74 6c 22 20 22 22 00 20 20 20 20 20 20 65 6c skipped.hostnamectl"."".......el
5a20 73 65 00 20 20 20 20 20 20 20 20 72 65 70 6f 72 74 20 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d 45 se.........report."${SCRIPT_NAME
5a40 7d 22 20 22 73 79 73 74 65 6d 2d 62 61 73 69 63 73 22 20 22 68 6f 73 74 6e 61 6d 65 63 74 6c 22 }"."system-basics"."hostnamectl"
5a60 20 22 73 65 74 22 20 22 63 68 61 6e 67 65 64 22 20 22 24 7b 63 61 70 74 75 72 65 64 5f 68 6f 73 ."set"."changed"."${captured_hos
5a80 74 6e 61 6d 65 7d 22 20 22 22 00 20 20 20 20 20 20 20 20 66 69 00 20 20 20 20 20 20 20 20 20 20 tname}"."".........fi...........
5aa0 68 6f 73 74 6e 61 6d 65 63 74 6c 20 73 65 74 2d 68 6f 73 74 6e 61 6d 65 20 22 24 7b 63 61 70 74 hostnamectl.set-hostname."${capt
5ac0 75 72 65 64 5f 68 6f 73 74 6e 61 6d 65 7d 22 20 7c 7c 20 6e 6f 74 65 5f 66 61 69 6c 75 72 65 20 ured_hostname}".||.note_failure.
5ae0 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d 45 7d 22 20 22 73 79 73 74 65 6d 2d 62 61 73 69 63 73 22 "${SCRIPT_NAME}"."system-basics"
5b00 20 22 68 6f 73 74 6e 61 6d 65 63 74 6c 22 20 22 73 65 74 22 20 22 68 6f 73 74 6e 61 6d 65 63 74 ."hostnamectl"."set"."hostnamect
5b20 6c 20 66 61 69 6c 65 64 22 00 20 20 20 20 20 20 20 20 65 6c 73 65 00 20 20 20 20 20 20 20 20 20 l.failed".........else..........
5b40 20 70 72 69 6e 74 66 20 27 5b 64 72 79 5d 20 68 6f 73 74 6e 61 6d 65 63 74 6c 20 73 65 74 2d 68 .printf.'[dry].hostnamectl.set-h
5b60 6f 73 74 6e 61 6d 65 20 25 73 5c 6e 27 20 22 24 7b 63 61 70 74 75 72 65 64 5f 68 6f 73 74 6e 61 ostname.%s\n'."${captured_hostna
5b80 6d 65 7d 22 00 20 20 20 20 20 20 20 20 69 66 20 5b 5b 20 24 7b 44 52 59 5f 52 55 4e 7d 20 3d 3d me}".........if.[[.${DRY_RUN}.==
5ba0 20 74 72 75 65 20 5d 5d 3b 20 74 68 65 6e 00 20 20 20 20 20 20 69 66 20 70 72 6f 6d 70 74 5f 79 .true.]];.then.......if.prompt_y
5bc0 65 73 5f 6e 6f 20 22 41 70 70 6c 79 20 63 61 70 74 75 72 65 64 20 68 6f 73 74 6e 61 6d 65 20 6e es_no."Apply.captured.hostname.n
5be0 6f 77 3f 22 20 79 65 73 3b 20 74 68 65 6e 00 20 20 20 20 69 66 20 5b 5b 20 2d 6e 20 22 24 7b 63 ow?".yes;.then.....if.[[.-n."${c
5c00 61 70 74 75 72 65 64 5f 68 6f 73 74 6e 61 6d 65 7d 22 20 5d 5d 3b 20 74 68 65 6e 00 20 20 20 20 aptured_hostname}".]];.then.....
5c20 63 61 70 74 75 72 65 64 5f 68 6f 73 74 6e 61 6d 65 3d 22 24 28 68 65 61 64 20 2d 6e 31 20 22 24 captured_hostname="$(head.-n1."$
5c40 7b 62 61 73 65 7d 2f 65 74 63 2d 68 6f 73 74 6e 61 6d 65 22 20 32 3e 2f 64 65 76 2f 6e 75 6c 6c {base}/etc-hostname".2>/dev/null
5c60 20 7c 7c 20 74 72 75 65 29 22 00 20 20 20 20 6c 6f 63 61 6c 20 63 61 70 74 75 72 65 64 5f 68 6f .||.true)".....local.captured_ho
5c80 73 74 6e 61 6d 65 00 20 20 69 66 20 5b 5b 20 2d 66 20 22 24 7b 62 61 73 65 7d 2f 65 74 63 2d 68 stname...if.[[.-f."${base}/etc-h
5ca0 6f 73 74 6e 61 6d 65 22 20 5d 5d 3b 20 74 68 65 6e 00 00 20 20 6d 61 79 62 65 5f 72 65 73 74 6f ostname".]];.then....maybe_resto
5cc0 72 65 20 22 73 79 73 74 65 6d 2d 62 61 73 69 63 73 22 20 22 74 69 6d 65 7a 6f 6e 65 22 20 20 20 re."system-basics"."timezone"...
5ce0 20 20 20 20 20 20 20 22 24 7b 62 61 73 65 7d 2f 74 69 6d 65 7a 6f 6e 65 22 20 20 20 20 20 20 20 ......."${base}/timezone".......
5d00 20 20 20 22 2f 65 74 63 2f 74 69 6d 65 7a 6f 6e 65 22 00 20 20 6d 61 79 62 65 5f 72 65 73 74 6f ..."/etc/timezone"...maybe_resto
5d20 72 65 20 22 73 79 73 74 65 6d 2d 62 61 73 69 63 73 22 20 22 6c 6f 63 61 6c 65 2e 67 65 6e 22 20 re."system-basics"."locale.gen".
5d40 20 20 20 20 20 20 20 22 24 7b 62 61 73 65 7d 2f 6c 6f 63 61 6c 65 2e 67 65 6e 22 20 20 20 20 20 ......."${base}/locale.gen".....
5d60 20 20 20 22 2f 65 74 63 2f 6c 6f 63 61 6c 65 2e 67 65 6e 22 00 20 20 6d 61 79 62 65 5f 72 65 73 ..."/etc/locale.gen"...maybe_res
5d80 74 6f 72 65 20 22 73 79 73 74 65 6d 2d 62 61 73 69 63 73 22 20 22 65 74 63 2d 65 6e 76 69 72 6f tore."system-basics"."etc-enviro
5da0 6e 6d 65 6e 74 22 20 20 20 22 24 7b 62 61 73 65 7d 2f 65 74 63 2d 65 6e 76 69 72 6f 6e 6d 65 6e nment"..."${base}/etc-environmen
5dc0 74 22 20 20 20 22 2f 65 74 63 2f 65 6e 76 69 72 6f 6e 6d 65 6e 74 22 00 20 20 6d 61 79 62 65 5f t"..."/etc/environment"...maybe_
5de0 72 65 73 74 6f 72 65 20 22 73 79 73 74 65 6d 2d 62 61 73 69 63 73 22 20 22 65 74 63 2d 68 6f 73 restore."system-basics"."etc-hos
5e00 74 73 22 20 20 20 20 20 20 20 20 20 22 24 7b 62 61 73 65 7d 2f 65 74 63 2d 68 6f 73 74 73 22 20 ts"........."${base}/etc-hosts".
5e20 20 20 20 20 20 20 20 20 22 2f 65 74 63 2f 68 6f 73 74 73 22 00 20 20 6d 61 79 62 65 5f 72 65 73 ........"/etc/hosts"...maybe_res
5e40 74 6f 72 65 20 22 73 79 73 74 65 6d 2d 62 61 73 69 63 73 22 20 22 65 74 63 2d 68 6f 73 74 6e 61 tore."system-basics"."etc-hostna
5e60 6d 65 22 20 20 20 20 20 20 22 24 7b 62 61 73 65 7d 2f 65 74 63 2d 68 6f 73 74 6e 61 6d 65 22 20 me"......"${base}/etc-hostname".
5e80 20 20 20 20 20 22 2f 65 74 63 2f 68 6f 73 74 6e 61 6d 65 22 00 00 20 20 66 69 00 20 20 20 20 72 ....."/etc/hostname"....fi.....r
5ea0 65 74 75 72 6e 20 30 00 20 20 20 20 72 65 70 6f 72 74 20 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d eturn.0.....report."${SCRIPT_NAM
5ec0 45 7d 22 20 22 73 79 73 74 65 6d 2d 62 61 73 69 63 73 22 20 22 63 61 74 65 67 6f 72 79 22 20 22 E}"."system-basics"."category"."
5ee0 72 65 73 74 6f 72 65 22 20 22 73 6b 69 70 70 65 64 22 20 22 6f 70 65 72 61 74 6f 72 20 73 6b 69 restore"."skipped"."operator.ski
5f00 70 70 65 64 20 63 61 74 65 67 6f 72 79 22 20 22 22 00 20 20 69 66 20 21 20 70 72 6f 6d 70 74 5f pped.category".""...if.!.prompt_
5f20 79 65 73 5f 6e 6f 20 22 52 65 73 74 6f 72 65 20 63 61 74 65 67 6f 72 79 20 27 73 79 73 74 65 6d yes_no."Restore.category.'system
5f40 2d 62 61 73 69 63 73 27 3f 22 20 79 65 73 3b 20 74 68 65 6e 00 00 20 20 5b 5b 20 2d 64 20 22 24 -basics'?".yes;.then....[[.-d."$
5f60 7b 62 61 73 65 7d 22 20 5d 5d 20 7c 7c 20 7b 20 6d 61 72 6b 5f 6d 61 6e 75 61 6c 20 22 24 7b 53 {base}".]].||.{.mark_manual."${S
5f80 43 52 49 50 54 5f 4e 41 4d 45 7d 22 20 22 73 79 73 74 65 6d 2d 62 61 73 69 63 73 22 20 22 64 62 CRIPT_NAME}"."system-basics"."db
5fa0 22 20 22 6d 69 73 73 69 6e 67 20 24 7b 62 61 73 65 7d 22 3b 20 72 65 74 75 72 6e 20 30 3b 20 7d "."missing.${base}";.return.0;.}
5fc0 00 20 20 6c 6f 63 61 6c 20 62 61 73 65 3d 22 24 7b 50 55 42 4c 49 43 5f 44 49 52 7d 2f 73 79 73 ...local.base="${PUBLIC_DIR}/sys
5fe0 74 65 6d 22 00 72 65 73 74 6f 72 65 5f 73 79 73 74 65 6d 5f 62 61 73 69 63 73 28 29 20 7b 00 00 tem".restore_system_basics().{..
6000 61 64 00 00 25 00 00 00 71 01 00 00 00 10 00 00 4d 00 00 00 00 00 00 00 af 0f 00 00 59 0f 00 00 ad..%...q.......M...........Y...
6020 52 0f 00 00 f6 0e 00 00 f1 0e 00 00 f0 0e 00 00 a9 0e 00 00 7e 0e 00 00 36 0e 00 00 fc 0d 00 00 R...................~...6.......
6040 ca 0d 00 00 c9 0d 00 00 9f 0d 00 00 6b 0d 00 00 3c 0d 00 00 c7 0c 00 00 57 0c 00 00 de 0b 00 00 ............k...<.......W.......
6060 6a 0b 00 00 5d 0b 00 00 26 0b 00 00 f4 0a 00 00 82 0a 00 00 15 0a 00 00 9f 09 00 00 2e 09 00 00 j...]...&.......................
6080 23 09 00 00 22 09 00 00 d1 08 00 00 7d 08 00 00 72 08 00 00 0c 08 00 00 03 08 00 00 fc 07 00 00 #...".......}...r...............
60a0 f5 07 00 00 8d 07 00 00 88 07 00 00 87 07 00 00 5a 07 00 00 09 07 00 00 cf 06 00 00 92 06 00 00 ................Z...............
60c0 91 06 00 00 69 06 00 00 27 06 00 00 f2 05 00 00 99 05 00 00 8e 05 00 00 49 05 00 00 11 05 00 00 ....i...'...............I.......
60e0 b5 04 00 00 ac 04 00 00 ab 04 00 00 5a 04 00 00 04 04 00 00 fb 03 00 00 8d 03 00 00 86 03 00 00 ............Z...................
6100 81 03 00 00 80 03 00 00 67 03 00 00 41 03 00 00 22 03 00 00 d4 02 00 00 cb 02 00 00 b4 02 00 00 ........g...A..."...............
6120 5b 02 00 00 25 02 00 00 1a 02 00 00 c2 01 00 00 b9 01 00 00 b2 01 00 00 ad 01 00 00 ab 01 00 00 [...%...........................
6140 aa 01 00 00 96 01 00 00 71 01 00 00 70 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ........q...p...................
6160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20 20 6c 6f 63 61 6c 20 62 61 73 65 3d 22 24 ...................local.base="$
6180 7b 50 55 42 4c 49 43 5f 44 49 52 7d 2f 6e 65 74 77 6f 72 6b 22 00 72 65 73 74 6f 72 65 5f 6e 65 {PUBLIC_DIR}/network".restore_ne
61a0 74 77 6f 72 6b 28 29 20 7b 00 00 7d 00 20 20 66 69 00 20 20 20 20 66 69 00 20 20 20 20 20 20 66 twork().{..}...fi.....fi.......f
61c0 69 00 20 20 20 20 20 20 20 20 6e 6f 74 65 5f 66 61 69 6c 75 72 65 20 22 24 7b 53 43 52 49 50 54 i.........note_failure."${SCRIPT
61e0 5f 4e 41 4d 45 7d 22 20 22 73 73 68 22 20 22 76 61 6c 69 64 61 74 65 22 20 22 63 68 65 63 6b 22 _NAME}"."ssh"."validate"."check"
6200 20 22 73 73 68 64 20 76 61 6c 69 64 61 74 69 6f 6e 20 66 61 69 6c 65 64 22 00 20 20 20 20 20 20 ."sshd.validation.failed".......
6220 65 6c 73 65 00 20 20 20 20 20 20 20 20 73 79 73 74 65 6d 63 74 6c 20 72 65 73 74 61 72 74 20 73 else.........systemctl.restart.s
6240 73 68 20 3e 2f 64 65 76 2f 6e 75 6c 6c 20 32 3e 26 31 20 7c 7c 20 74 72 75 65 00 20 20 20 20 20 sh.>/dev/null.2>&1.||.true......
6260 20 20 20 72 65 70 6f 72 74 20 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d 45 7d 22 20 22 73 73 68 22 ...report."${SCRIPT_NAME}"."ssh"
6280 20 22 76 61 6c 69 64 61 74 65 22 20 22 63 68 65 63 6b 22 20 22 6f 6b 22 20 22 73 73 68 64 20 63 ."validate"."check"."ok"."sshd.c
62a0 6f 6e 66 69 67 20 76 61 6c 69 64 61 74 65 73 22 20 22 22 00 20 20 20 20 20 20 69 66 20 73 73 68 onfig.validates"."".......if.ssh
62c0 64 20 2d 74 3b 20 74 68 65 6e 00 20 20 20 20 65 6c 73 65 00 20 20 20 20 20 20 72 65 70 6f 72 74 d.-t;.then.....else.......report
62e0 20 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d 45 7d 22 20 22 73 73 68 22 20 22 76 61 6c 69 64 61 74 ."${SCRIPT_NAME}"."ssh"."validat
6300 65 22 20 22 63 68 65 63 6b 22 20 22 6f 6b 22 20 22 64 72 79 2d 72 75 6e 20 6f 6e 6c 79 22 20 22 e"."check"."ok"."dry-run.only"."
6320 22 00 20 20 20 20 20 20 70 72 69 6e 74 66 20 27 5b 64 72 79 5d 20 73 73 68 64 20 2d 74 5c 6e 27 ".......printf.'[dry].sshd.-t\n'
6340 00 20 20 20 20 69 66 20 5b 5b 20 24 7b 44 52 59 5f 52 55 4e 7d 20 3d 3d 20 74 72 75 65 20 5d 5d .....if.[[.${DRY_RUN}.==.true.]]
6360 3b 20 74 68 65 6e 00 20 20 69 66 20 68 61 76 65 5f 63 6d 64 20 73 73 68 64 3b 20 74 68 65 6e 00 ;.then...if.have_cmd.sshd;.then.
6380 00 20 20 66 69 00 20 20 20 20 66 69 00 20 20 20 20 20 20 72 65 70 6f 72 74 20 22 24 7b 53 43 52 ...fi.....fi.......report."${SCR
63a0 49 50 54 5f 4e 41 4d 45 7d 22 20 22 73 73 68 22 20 22 75 73 65 72 2d 6c 75 6b 61 73 7a 22 20 22 IPT_NAME}"."ssh"."user-lukasz"."
63c0 72 65 73 74 6f 72 65 22 20 22 73 6b 69 70 70 65 64 22 20 22 6f 70 65 72 61 74 6f 72 20 73 6b 69 restore"."skipped"."operator.ski
63e0 70 70 65 64 20 75 73 65 72 20 73 73 68 20 6d 61 74 65 72 69 61 6c 22 20 22 22 00 20 20 20 20 65 pped.user.ssh.material"."".....e
6400 6c 73 65 00 20 20 20 20 20 20 20 20 22 6e 6f 72 6d 61 6c 69 7a 65 64 20 2f 68 6f 6d 65 2f 6c 75 lse........."normalized./home/lu
6420 6b 61 73 7a 2f 2e 73 73 68 20 6f 77 6e 65 72 73 68 69 70 3d 6c 75 6b 61 73 7a 3a 6c 75 6b 61 73 kasz/.ssh.ownership=lukasz:lukas
6440 7a 20 64 69 72 3d 30 37 30 30 20 66 69 6c 65 73 3d 30 36 30 30 22 20 22 22 00 20 20 20 20 20 20 z.dir=0700.files=0600"."".......
6460 72 65 70 6f 72 74 20 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d 45 7d 22 20 22 73 73 68 22 20 22 75 report."${SCRIPT_NAME}"."ssh"."u
6480 73 65 72 2d 6c 75 6b 61 73 7a 2d 6d 65 74 61 64 61 74 61 22 20 22 72 65 73 74 6f 72 65 22 20 22 ser-lukasz-metadata"."restore"."
64a0 63 68 61 6e 67 65 64 22 20 5c 00 00 20 20 20 20 20 20 66 69 00 20 20 20 20 20 20 20 20 66 69 6e changed".\........fi.........fin
64c0 64 20 2f 68 6f 6d 65 2f 6c 75 6b 61 73 7a 2f 2e 73 73 68 20 2d 6d 61 78 64 65 70 74 68 20 31 20 d./home/lukasz/.ssh.-maxdepth.1.
64e0 2d 74 79 70 65 20 66 20 2d 65 78 65 63 20 63 68 6d 6f 64 20 36 30 30 20 7b 7d 20 2b 20 32 3e 2f -type.f.-exec.chmod.600.{}.+.2>/
6500 64 65 76 2f 6e 75 6c 6c 20 7c 7c 20 74 72 75 65 00 20 20 20 20 20 20 20 20 63 68 6d 6f 64 20 37 dev/null.||.true.........chmod.7
6520 30 30 20 2f 68 6f 6d 65 2f 6c 75 6b 61 73 7a 2f 2e 73 73 68 20 32 3e 2f 64 65 76 2f 6e 75 6c 6c 00./home/lukasz/.ssh.2>/dev/null
6540 20 7c 7c 20 74 72 75 65 00 20 20 20 20 20 20 20 20 63 68 6f 77 6e 20 2d 52 20 6c 75 6b 61 73 7a .||.true.........chown.-R.lukasz
6560 3a 6c 75 6b 61 73 7a 20 2f 68 6f 6d 65 2f 6c 75 6b 61 73 7a 2f 2e 73 73 68 20 32 3e 2f 64 65 76 :lukasz./home/lukasz/.ssh.2>/dev
6580 2f 6e 75 6c 6c 20 7c 7c 20 74 72 75 65 00 20 20 20 20 20 20 65 6c 73 65 00 20 20 20 20 20 20 20 /null.||.true.......else........
65a0 20 70 72 69 6e 74 66 20 27 5b 64 72 79 5d 20 66 69 6e 64 20 2f 68 6f 6d 65 2f 6c 75 6b 61 73 7a .printf.'[dry].find./home/lukasz
65c0 2f 2e 73 73 68 20 2d 6d 61 78 64 65 70 74 68 20 31 20 2d 74 79 70 65 20 66 20 2d 65 78 65 63 20 /.ssh.-maxdepth.1.-type.f.-exec.
65e0 63 68 6d 6f 64 20 36 30 30 20 7b 7d 20 2b 5c 6e 27 00 20 20 20 20 20 20 20 20 70 72 69 6e 74 66 chmod.600.{}.+\n'.........printf
6600 20 27 5b 64 72 79 5d 20 63 68 6d 6f 64 20 37 30 30 20 2f 68 6f 6d 65 2f 6c 75 6b 61 73 7a 2f 2e .'[dry].chmod.700./home/lukasz/.
6620 73 73 68 5c 6e 27 00 20 20 20 20 20 20 20 20 70 72 69 6e 74 66 20 27 5b 64 72 79 5d 20 63 68 6f ssh\n'.........printf.'[dry].cho
6640 77 6e 20 2d 52 20 6c 75 6b 61 73 7a 3a 6c 75 6b 61 73 7a 20 2f 68 6f 6d 65 2f 6c 75 6b 61 73 7a wn.-R.lukasz:lukasz./home/lukasz
6660 2f 2e 73 73 68 5c 6e 27 00 20 20 20 20 20 20 69 66 20 5b 5b 20 24 7b 44 52 59 5f 52 55 4e 7d 20 /.ssh\n'.......if.[[.${DRY_RUN}.
6680 3d 3d 20 74 72 75 65 20 5d 5d 3b 20 74 68 65 6e 00 00 20 20 20 20 20 20 20 20 22 24 7b 73 65 63 ==.true.]];.then.........."${sec
66a0 5f 73 73 68 7d 2f 75 73 65 72 2d 6c 75 6b 61 73 7a 22 20 22 2f 68 6f 6d 65 2f 6c 75 6b 61 73 7a _ssh}/user-lukasz"."/home/lukasz
66c0 2f 2e 73 73 68 22 20 7c 7c 20 74 72 75 65 00 20 20 20 20 20 20 72 65 73 74 6f 72 65 5f 70 61 74 /.ssh".||.true.......restore_pat
66e0 68 20 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d 45 7d 22 20 22 73 73 68 22 20 22 75 73 65 72 2d 6c h."${SCRIPT_NAME}"."ssh"."user-l
6700 75 6b 61 73 7a 22 20 5c 00 20 20 20 20 69 66 20 70 72 6f 6d 70 74 5f 79 65 73 5f 6e 6f 20 22 52 ukasz".\.....if.prompt_yes_no."R
6720 65 73 74 6f 72 65 20 6c 75 6b 61 73 7a 20 75 73 65 72 20 53 53 48 20 6d 61 74 65 72 69 61 6c 20 estore.lukasz.user.SSH.material.
6740 66 72 6f 6d 20 73 65 63 72 65 74 20 44 42 3f 22 20 6e 6f 3b 20 74 68 65 6e 00 20 20 69 66 20 5b from.secret.DB?".no;.then...if.[
6760 5b 20 2d 64 20 22 24 7b 73 65 63 5f 73 73 68 7d 2f 75 73 65 72 2d 6c 75 6b 61 73 7a 22 20 5d 5d [.-d."${sec_ssh}/user-lukasz".]]
6780 3b 20 74 68 65 6e 00 00 20 20 66 69 00 20 20 20 20 72 65 70 6f 72 74 20 22 24 7b 53 43 52 49 50 ;.then....fi.....report."${SCRIP
67a0 54 5f 4e 41 4d 45 7d 22 20 22 73 73 68 22 20 22 68 6f 73 74 2d 6b 65 79 73 22 20 22 72 65 73 74 T_NAME}"."ssh"."host-keys"."rest
67c0 6f 72 65 22 20 22 73 6b 69 70 70 65 64 22 20 22 6c 61 62 20 72 6f 6c 65 3a 20 68 6f 73 74 20 6b ore"."skipped"."lab.role:.host.k
67e0 65 79 73 20 6e 6f 74 20 72 65 73 74 6f 72 65 64 22 20 22 22 00 20 20 65 6c 73 65 00 20 20 20 20 eys.not.restored".""...else.....
6800 66 69 00 20 20 20 20 20 20 66 69 00 20 20 20 20 20 20 20 20 72 65 70 6f 72 74 20 22 24 7b 53 43 fi.......fi.........report."${SC
6820 52 49 50 54 5f 4e 41 4d 45 7d 22 20 22 73 73 68 22 20 22 68 6f 73 74 2d 6b 65 79 73 22 20 22 72 RIPT_NAME}"."ssh"."host-keys"."r
6840 65 73 74 6f 72 65 22 20 22 73 6b 69 70 70 65 64 22 20 22 6f 70 65 72 61 74 6f 72 20 73 6b 69 70 estore"."skipped"."operator.skip
6860 70 65 64 20 68 6f 73 74 20 6b 65 79 73 22 20 22 22 00 20 20 20 20 20 20 65 6c 73 65 00 20 20 20 ped.host.keys"."".......else....
6880 20 20 20 20 20 20 20 22 6e 6f 72 6d 61 6c 69 7a 65 64 20 53 53 48 20 68 6f 73 74 20 6b 65 79 20 ......."normalized.SSH.host.key.
68a0 6f 77 6e 65 72 73 68 69 70 3d 72 6f 6f 74 3a 72 6f 6f 74 20 70 72 69 76 61 74 65 3d 30 36 30 30 ownership=root:root.private=0600
68c0 20 70 75 62 6c 69 63 3d 30 36 34 34 22 20 22 22 00 20 20 20 20 20 20 20 20 72 65 70 6f 72 74 20 .public=0644"."".........report.
68e0 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d 45 7d 22 20 22 73 73 68 22 20 22 68 6f 73 74 2d 6b 65 79 "${SCRIPT_NAME}"."ssh"."host-key
6900 73 2d 6d 65 74 61 64 61 74 61 22 20 22 72 65 73 74 6f 72 65 22 20 22 63 68 61 6e 67 65 64 22 20 s-metadata"."restore"."changed".
6920 5c 00 00 20 20 20 20 20 20 20 20 66 69 00 20 20 20 20 20 20 20 20 20 20 66 69 6e 64 20 2f 65 74 \..........fi...........find./et
6940 63 2f 73 73 68 20 2d 6d 61 78 64 65 70 74 68 20 31 20 2d 74 79 70 65 20 66 20 2d 6e 61 6d 65 20 c/ssh.-maxdepth.1.-type.f.-name.
6960 27 73 73 68 5f 68 6f 73 74 5f 2a 5f 6b 65 79 2e 70 75 62 27 20 2d 65 78 65 63 20 63 68 6d 6f 64 'ssh_host_*_key.pub'.-exec.chmod
6980 20 30 36 34 34 20 7b 7d 20 2b 20 32 3e 2f 64 65 76 2f 6e 75 6c 6c 20 7c 7c 20 74 72 75 65 00 20 .0644.{}.+.2>/dev/null.||.true..
69a0 20 20 20 20 20 20 20 20 20 66 69 6e 64 20 2f 65 74 63 2f 73 73 68 20 2d 6d 61 78 64 65 70 74 68 .........find./etc/ssh.-maxdepth
69c0 20 31 20 2d 74 79 70 65 20 66 20 2d 6e 61 6d 65 20 27 73 73 68 5f 68 6f 73 74 5f 2a 5f 6b 65 79 .1.-type.f.-name.'ssh_host_*_key
69e0 2e 70 75 62 27 20 2d 65 78 65 63 20 63 68 6f 77 6e 20 72 6f 6f 74 3a 72 6f 6f 74 20 7b 7d 20 2b .pub'.-exec.chown.root:root.{}.+
6a00 20 32 3e 2f 64 65 76 2f 6e 75 6c 6c 20 7c 7c 20 74 72 75 65 00 20 20 20 20 20 20 20 20 20 20 66 .2>/dev/null.||.true...........f
6a20 69 6e 64 20 2f 65 74 63 2f 73 73 68 20 2d 6d 61 78 64 65 70 74 68 20 31 20 2d 74 79 70 65 20 66 ind./etc/ssh.-maxdepth.1.-type.f
6a40 20 2d 6e 61 6d 65 20 27 73 73 68 5f 68 6f 73 74 5f 2a 5f 6b 65 79 27 20 2d 65 78 65 63 20 63 68 .-name.'ssh_host_*_key'.-exec.ch
6a60 6d 6f 64 20 30 36 30 30 20 7b 7d 20 2b 20 32 3e 2f 64 65 76 2f 6e 75 6c 6c 20 7c 7c 20 74 72 75 mod.0600.{}.+.2>/dev/null.||.tru
6a80 65 00 20 20 20 20 20 20 20 20 20 20 66 69 6e 64 20 2f 65 74 63 2f 73 73 68 20 2d 6d 61 78 64 65 e...........find./etc/ssh.-maxde
6aa0 70 74 68 20 31 20 2d 74 79 70 65 20 66 20 2d 6e 61 6d 65 20 27 73 73 68 5f 68 6f 73 74 5f 2a 5f pth.1.-type.f.-name.'ssh_host_*_
6ac0 6b 65 79 27 20 2d 65 78 65 63 20 63 68 6f 77 6e 20 72 6f 6f 74 3a 72 6f 6f 74 20 7b 7d 20 2b 20 key'.-exec.chown.root:root.{}.+.
6ae0 32 3e 2f 64 65 76 2f 6e 75 6c 6c 20 7c 7c 20 74 72 75 65 00 20 20 20 20 20 20 20 20 20 20 63 68 2>/dev/null.||.true...........ch
6b00 6d 6f 64 20 30 37 35 35 20 2f 65 74 63 2f 73 73 68 20 32 3e 2f 64 65 76 2f 6e 75 6c 6c 20 7c 7c mod.0755./etc/ssh.2>/dev/null.||
6b20 20 74 72 75 65 00 20 20 20 20 20 20 20 20 20 20 63 68 6f 77 6e 20 72 6f 6f 74 3a 72 6f 6f 74 20 .true...........chown.root:root.
6b40 2f 65 74 63 2f 73 73 68 20 32 3e 2f 64 65 76 2f 6e 75 6c 6c 20 7c 7c 20 74 72 75 65 00 20 20 20 /etc/ssh.2>/dev/null.||.true....
6b60 20 20 20 20 20 65 6c 73 65 00 20 20 20 20 20 20 20 20 20 20 70 72 69 6e 74 66 20 27 5b 64 72 79 .....else...........printf.'[dry
6b80 5d 20 66 69 6e 64 20 2f 65 74 63 2f 73 73 68 20 2d 6d 61 78 64 65 70 74 68 20 31 20 2d 74 79 70 ].find./etc/ssh.-maxdepth.1.-typ
6ba0 65 20 66 20 2d 6e 61 6d 65 20 27 5c 27 27 73 73 68 5f 68 6f 73 74 5f 2a 5f 6b 65 79 2e 70 75 62 e.f.-name.'\''ssh_host_*_key.pub
6bc0 27 5c 27 27 20 2d 65 78 65 63 20 63 68 6d 6f 64 20 30 36 34 34 20 7b 7d 20 2b 5c 6e 27 00 20 20 '\''.-exec.chmod.0644.{}.+\n'...
6be0 20 20 20 20 20 20 20 20 70 72 69 6e 74 66 20 27 5b 64 72 79 5d 20 66 69 6e 64 20 2f 65 74 63 2f ........printf.'[dry].find./etc/
6c00 73 73 68 20 2d 6d 61 78 64 65 70 74 68 20 31 20 2d 74 79 70 65 20 66 20 2d 6e 61 6d 65 20 27 5c ssh.-maxdepth.1.-type.f.-name.'\
6c20 27 27 73 73 68 5f 68 6f 73 74 5f 2a 5f 6b 65 79 2e 70 75 62 27 5c 27 27 20 2d 65 78 65 63 20 63 ''ssh_host_*_key.pub'\''.-exec.c
6c40 68 6f 77 6e 20 72 6f 6f 74 3a 72 6f 6f 74 20 7b 7d 20 2b 5c 6e 27 00 20 20 20 20 20 20 20 20 20 hown.root:root.{}.+\n'..........
6c60 20 70 72 69 6e 74 66 20 27 5b 64 72 79 5d 20 66 69 6e 64 20 2f 65 74 63 2f 73 73 68 20 2d 6d 61 .printf.'[dry].find./etc/ssh.-ma
6c80 78 64 65 70 74 68 20 31 20 2d 74 79 70 65 20 66 20 2d 6e 61 6d 65 20 27 5c 27 27 73 73 68 5f 68 xdepth.1.-type.f.-name.'\''ssh_h
6ca0 6f 73 74 5f 2a 5f 6b 65 79 27 5c 27 27 20 2d 65 78 65 63 20 63 68 6d 6f 64 20 30 36 30 30 20 7b ost_*_key'\''.-exec.chmod.0600.{
6cc0 7d 20 2b 5c 6e 27 00 20 20 20 20 20 20 20 20 20 20 70 72 69 6e 74 66 20 27 5b 64 72 79 5d 20 66 }.+\n'...........printf.'[dry].f
6ce0 69 6e 64 20 2f 65 74 63 2f 73 73 68 20 2d 6d 61 78 64 65 70 74 68 20 31 20 2d 74 79 70 65 20 66 ind./etc/ssh.-maxdepth.1.-type.f
6d00 20 2d 6e 61 6d 65 20 27 5c 27 27 73 73 68 5f 68 6f 73 74 5f 2a 5f 6b 65 79 27 5c 27 27 20 2d 65 .-name.'\''ssh_host_*_key'\''.-e
6d20 78 65 63 20 63 68 6f 77 6e 20 72 6f 6f 74 3a 72 6f 6f 74 20 7b 7d 20 2b 5c 6e 27 00 20 20 20 20 xec.chown.root:root.{}.+\n'.....
6d40 20 20 20 20 20 20 70 72 69 6e 74 66 20 27 5b 64 72 79 5d 20 63 68 6d 6f 64 20 30 37 35 35 20 2f ......printf.'[dry].chmod.0755./
6d60 65 74 63 2f 73 73 68 5c 6e 27 00 20 20 20 20 20 20 20 20 20 20 70 72 69 6e 74 66 20 27 5b 64 72 etc/ssh\n'...........printf.'[dr
6d80 79 5d 20 63 68 6f 77 6e 20 72 6f 6f 74 3a 72 6f 6f 74 20 2f 65 74 63 2f 73 73 68 5c 6e 27 00 20 y].chown.root:root./etc/ssh\n'..
6da0 20 20 20 20 20 20 20 69 66 20 5b 5b 20 24 7b 44 52 59 5f 52 55 4e 7d 20 3d 3d 20 74 72 75 65 20 .......if.[[.${DRY_RUN}.==.true.
6dc0 5d 5d 3b 20 74 68 65 6e 00 00 20 20 20 20 20 20 20 20 20 20 22 24 7b 73 65 63 5f 73 73 68 7d 2f ]];.then............"${sec_ssh}/
6de0 65 74 63 2d 73 73 68 22 20 22 2f 65 74 63 2f 73 73 68 22 20 7c 7c 20 74 72 75 65 00 20 20 20 20 etc-ssh"."/etc/ssh".||.true.....
6e00 20 20 20 20 72 65 73 74 6f 72 65 5f 70 61 74 68 20 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d 45 7d ....restore_path."${SCRIPT_NAME}
6e20 22 20 22 73 73 68 22 20 22 68 6f 73 74 2d 6b 65 79 73 22 20 5c 00 20 20 20 20 20 20 69 66 20 70 "."ssh"."host-keys".\.......if.p
6e40 72 6f 6d 70 74 5f 79 65 73 5f 6e 6f 20 22 52 65 73 74 6f 72 65 20 53 53 48 20 68 6f 73 74 20 6b rompt_yes_no."Restore.SSH.host.k
6e60 65 79 73 20 66 72 6f 6d 20 73 65 63 72 65 74 20 44 42 3f 22 20 6e 6f 3b 20 74 68 65 6e 00 20 20 eys.from.secret.DB?".no;.then...
6e80 20 20 69 66 20 5b 5b 20 2d 64 20 22 24 7b 73 65 63 5f 73 73 68 7d 2f 65 74 63 2d 73 73 68 22 20 ..if.[[.-d."${sec_ssh}/etc-ssh".
6ea0 5d 5d 3b 20 74 68 65 6e 00 20 20 69 66 20 5b 5b 20 22 24 7b 52 4f 4c 45 7d 22 20 3d 3d 20 22 72 ]];.then...if.[[."${ROLE}".==."r
6ec0 65 70 6c 61 63 65 6d 65 6e 74 22 20 7c 7c 20 22 24 7b 52 4f 4c 45 7d 22 20 3d 3d 20 22 68 61 72 eplacement".||."${ROLE}".==."har
6ee0 64 77 61 72 65 22 20 5d 5d 3b 20 74 68 65 6e 00 00 20 20 66 69 00 20 20 20 20 72 65 70 6f 72 74 dware".]];.then....fi.....report
6f00 20 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d 45 7d 22 20 22 73 73 68 22 20 22 73 73 68 64 5f 63 6f ."${SCRIPT_NAME}"."ssh"."sshd_co
6f20 6e 66 69 67 2e 64 22 20 22 72 65 73 74 6f 72 65 22 20 22 73 6b 69 70 70 65 64 22 20 22 6f 70 65 nfig.d"."restore"."skipped"."ope
6f40 72 61 74 6f 72 20 73 6b 69 70 70 65 64 22 20 22 22 00 20 20 65 6c 73 65 00 20 20 20 20 20 20 22 rator.skipped".""...else......."
6f60 6e 6f 72 6d 61 6c 69 7a 65 64 20 2f 65 74 63 2f 73 73 68 2f 73 73 68 64 5f 63 6f 6e 66 69 67 2e normalized./etc/ssh/sshd_config.
6f80 64 20 6f 77 6e 65 72 73 68 69 70 3d 72 6f 6f 74 3a 72 6f 6f 74 20 64 69 72 73 3d 30 37 35 35 20 d.ownership=root:root.dirs=0755.
6fa0 66 69 6c 65 73 3d 30 36 34 34 22 20 22 22 00 20 20 20 20 72 65 70 6f 72 74 20 22 24 7b 53 43 52 files=0644"."".....report."${SCR
6fc0 49 50 54 5f 4e 41 4d 45 7d 22 20 22 73 73 68 22 20 22 73 73 68 64 5f 63 6f 6e 66 69 67 2e 64 2d IPT_NAME}"."ssh"."sshd_config.d-
6fe0 6d 65 74 61 64 61 74 61 22 20 22 72 65 73 74 6f 72 65 22 20 22 63 68 61 6e 67 65 64 22 20 5c 00 metadata"."restore"."changed".\.
7000 61 64 00 00 b3 03 00 00 df 04 00 00 00 10 00 00 45 00 00 00 00 00 00 00 a5 0f 00 00 a0 0f 00 00 ad..............E...............
7020 9e 0f 00 00 9d 0f 00 00 8d 0f 00 00 68 0f 00 00 43 0f 00 00 42 0f 00 00 0a 0f 00 00 aa 0e 00 00 ............h...C...B...........
7040 9d 0e 00 00 98 0e 00 00 97 0e 00 00 53 0e 00 00 21 0e 00 00 f4 0d 00 00 d7 0d 00 00 d0 0d 00 00 ............S...!...............
7060 7c 0d 00 00 77 0d 00 00 76 0d 00 00 2e 0d 00 00 fa 0c 00 00 c3 0c 00 00 c2 0c 00 00 9c 0c 00 00 |...w...v.......................
7080 61 0c 00 00 16 0c 00 00 cb 0b 00 00 c2 0b 00 00 99 0b 00 00 59 0b 00 00 09 0b 00 00 b9 0a 00 00 a...................Y...........
70a0 b0 0a 00 00 a9 0a 00 00 a8 0a 00 00 5d 0a 00 00 0d 0a 00 00 06 0a 00 00 b0 09 00 00 ab 09 00 00 ............]...................
70c0 aa 09 00 00 5e 09 00 00 15 09 00 00 db 08 00 00 a2 08 00 00 a1 08 00 00 79 08 00 00 34 08 00 00 ....^...................y...4...
70e0 eb 07 00 00 a2 07 00 00 97 07 00 00 70 07 00 00 26 07 00 00 d8 06 00 00 8a 06 00 00 7f 06 00 00 ............p...&...............
7100 76 06 00 00 75 06 00 00 24 06 00 00 ca 05 00 00 c1 05 00 00 65 05 00 00 5e 05 00 00 57 05 00 00 v...u...$...........e...^...W...
7120 e6 04 00 00 e1 04 00 00 df 04 00 00 87 06 00 00 82 06 00 00 81 06 00 00 43 06 00 00 f0 05 00 00 ........................C.......
7140 b0 05 00 00 64 05 00 00 63 05 00 00 3b 05 00 00 ff 04 00 00 b3 04 00 00 67 04 00 00 5c 04 00 00 ....d...c...;...........g...\...
7160 01 04 00 00 96 03 00 00 2b 03 00 00 22 03 00 00 21 03 00 00 ca 02 00 00 79 02 00 00 70 02 00 00 ........+..."...!.......y...p...
7180 0e 02 00 00 07 02 00 00 02 02 00 00 01 02 00 00 bb 01 00 00 ef 01 00 00 20 20 20 20 69 66 20 70 ............................if.p
71a0 72 6f 6d 70 74 5f 79 65 73 5f 6e 6f 20 00 20 20 69 66 20 5b 5b 20 2d 66 20 22 24 20 20 69 66 20 rompt_yes_no....if.[[.-f."$..if.
71c0 5b 5b 20 2d 66 20 22 24 7b 50 55 42 4c 49 43 5f 44 49 52 7d 2f 70 72 6f 6d 65 74 68 65 75 73 2f [[.-f."${PUBLIC_DIR}/prometheus/
71e0 6e 6f 64 65 2d 65 78 70 6f 72 74 65 72 2d 64 65 66 61 75 6c 74 73 22 20 5d 5d 3b 20 74 68 65 6e node-exporter-defaults".]];.then
7200 00 00 20 20 66 69 00 20 20 20 20 66 69 00 20 20 20 20 20 20 72 65 70 6f 72 74 20 22 24 7b 53 43 ....fi.....fi.......report."${SC
7220 52 49 50 54 5f 4e 41 4d 45 7d 22 20 22 6d 6f 6e 69 74 6f 72 69 6e 67 22 20 22 70 72 6f 6d 65 74 RIPT_NAME}"."monitoring"."promet
7240 68 65 75 73 22 20 22 72 65 73 74 6f 72 65 22 20 22 73 6b 69 70 70 65 64 22 20 22 6f 70 65 72 61 heus"."restore"."skipped"."opera
7260 74 6f 72 20 73 6b 69 70 70 65 64 22 20 22 22 00 20 20 20 20 65 6c 73 65 00 20 20 20 20 20 20 20 tor.skipped"."".....else........
7280 20 22 6e 6f 72 6d 61 6c 69 7a 65 64 20 2f 65 74 63 2f 70 72 6f 6d 65 74 68 65 75 73 20 6f 77 6e ."normalized./etc/prometheus.own
72a0 65 72 73 68 69 70 3d 72 6f 6f 74 3a 72 6f 6f 74 20 64 69 72 73 3d 30 37 35 35 20 66 69 6c 65 73 ership=root:root.dirs=0755.files
72c0 3d 30 36 34 34 22 20 22 22 00 20 20 20 20 20 20 72 65 70 6f 72 74 20 22 24 7b 53 43 52 49 50 54 =0644"."".......report."${SCRIPT
72e0 5f 4e 41 4d 45 7d 22 20 22 6d 6f 6e 69 74 6f 72 69 6e 67 22 20 22 70 72 6f 6d 65 74 68 65 75 73 _NAME}"."monitoring"."prometheus
7300 2d 6d 65 74 61 64 61 74 61 22 20 22 72 65 73 74 6f 72 65 22 20 22 63 68 61 6e 67 65 64 22 20 5c -metadata"."restore"."changed".\
7320 00 00 20 20 20 20 20 20 66 69 00 20 20 20 20 20 20 20 20 5b 5b 20 2d 64 20 2f 65 74 63 2f 70 72 ........fi.........[[.-d./etc/pr
7340 6f 6d 65 74 68 65 75 73 20 5d 5d 20 26 26 20 66 69 6e 64 20 2f 65 74 63 2f 70 72 6f 6d 65 74 68 ometheus.]].&&.find./etc/prometh
7360 65 75 73 20 2d 74 79 70 65 20 66 20 2d 65 78 65 63 20 63 68 6d 6f 64 20 30 36 34 34 20 7b 7d 20 eus.-type.f.-exec.chmod.0644.{}.
7380 2b 20 32 3e 2f 64 65 76 2f 6e 75 6c 6c 20 7c 7c 20 74 72 75 65 00 20 20 20 20 20 20 20 20 5b 5b +.2>/dev/null.||.true.........[[
73a0 20 2d 64 20 2f 65 74 63 2f 70 72 6f 6d 65 74 68 65 75 73 20 5d 5d 20 26 26 20 66 69 6e 64 20 2f .-d./etc/prometheus.]].&&.find./
73c0 65 74 63 2f 70 72 6f 6d 65 74 68 65 75 73 20 2d 74 79 70 65 20 64 20 2d 65 78 65 63 20 63 68 6d etc/prometheus.-type.d.-exec.chm
73e0 6f 64 20 30 37 35 35 20 7b 7d 20 2b 20 32 3e 2f 64 65 76 2f 6e 75 6c 6c 20 7c 7c 20 74 72 75 65 od.0755.{}.+.2>/dev/null.||.true
7400 00 20 20 20 20 20 20 20 20 5b 5b 20 2d 64 20 2f 65 74 63 2f 70 72 6f 6d 65 74 68 65 75 73 20 5d .........[[.-d./etc/prometheus.]
7420 5d 20 26 26 20 63 68 6f 77 6e 20 2d 52 20 72 6f 6f 74 3a 72 6f 6f 74 20 2f 65 74 63 2f 70 72 6f ].&&.chown.-R.root:root./etc/pro
7440 6d 65 74 68 65 75 73 20 32 3e 2f 64 65 76 2f 6e 75 6c 6c 20 7c 7c 20 74 72 75 65 00 20 20 20 20 metheus.2>/dev/null.||.true.....
7460 20 20 65 6c 73 65 00 20 20 20 20 20 20 20 20 70 72 69 6e 74 66 20 27 5b 64 72 79 5d 20 66 69 6e ..else.........printf.'[dry].fin
7480 64 20 2f 65 74 63 2f 70 72 6f 6d 65 74 68 65 75 73 20 2d 74 79 70 65 20 66 20 2d 65 78 65 63 20 d./etc/prometheus.-type.f.-exec.
74a0 63 68 6d 6f 64 20 30 36 34 34 20 7b 7d 20 2b 5c 6e 27 00 20 20 20 20 20 20 20 20 70 72 69 6e 74 chmod.0644.{}.+\n'.........print
74c0 66 20 27 5b 64 72 79 5d 20 66 69 6e 64 20 2f 65 74 63 2f 70 72 6f 6d 65 74 68 65 75 73 20 2d 7d f.'[dry].find./etc/prometheus.-}
74e0 00 20 20 66 69 00 20 20 20 20 72 65 70 6f 72 74 20 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d 45 7d ...fi.....report."${SCRIPT_NAME}
7500 22 20 22 74 6f 72 22 20 22 69 64 65 6e 74 69 74 79 22 20 22 72 65 73 74 6f 72 65 22 20 22 73 6b "."tor"."identity"."restore"."sk
7520 69 70 70 65 64 22 20 22 74 6f 72 20 70 72 69 76 61 74 65 20 64 61 74 61 20 6e 6f 74 20 72 65 73 ipped"."tor.private.data.not.res
7540 74 6f 72 65 64 20 69 6e 20 74 68 69 73 20 72 6f 6c 65 22 20 22 22 00 20 20 65 6c 73 65 00 20 20 tored.in.this.role".""...else...
7560 20 20 66 69 00 20 20 20 20 20 20 72 65 70 6f 72 74 20 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d 45 ..fi.......report."${SCRIPT_NAME
7580 7d 22 20 22 74 6f 72 22 20 22 76 61 72 2d 6c 69 62 2d 74 6f 72 22 20 22 72 65 73 74 6f 72 65 22 }"."tor"."var-lib-tor"."restore"
75a0 20 22 73 6b 69 70 70 65 64 22 20 22 6f 70 65 72 61 74 6f 72 20 73 6b 69 70 70 65 64 22 20 22 22 ."skipped"."operator.skipped".""
75c0 00 20 20 20 20 65 6c 73 65 00 20 20 20 20 20 20 20 20 22 6e 6f 72 6d 61 6c 69 7a 65 64 20 2f 76 .....else........."normalized./v
75e0 61 72 2f 6c 69 62 2f 74 6f 72 20 6f 77 6e 65 72 73 68 69 70 3d 64 65 62 69 61 6e 2d 74 6f 72 3a ar/lib/tor.ownership=debian-tor:
7600 64 65 62 69 61 6e 2d 74 6f 72 20 64 69 72 73 3d 30 37 30 30 20 66 69 6c 65 73 3d 30 36 30 30 22 debian-tor.dirs=0700.files=0600"
7620 20 22 22 00 20 20 20 20 20 20 72 65 70 6f 72 74 20 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d 45 7d ."".......report."${SCRIPT_NAME}
7640 22 20 22 74 6f 72 22 20 22 76 61 72 2d 6c 69 62 2d 74 6f 72 2d 6d 65 74 61 64 61 74 61 22 20 22 "."tor"."var-lib-tor-metadata"."
7660 72 65 73 74 6f 72 65 22 20 22 63 68 61 6e 67 65 64 22 20 5c 00 00 20 20 20 20 20 20 66 69 00 20 restore"."changed".\........fi..
7680 20 20 20 20 20 20 20 66 69 00 20 20 20 20 20 20 20 20 20 20 66 69 6e 64 20 2f 76 61 72 2f 6c 69 .......fi...........find./var/li
76a0 62 2f 74 6f 72 20 2d 74 79 70 65 20 66 20 2d 65 78 65 63 20 63 68 6d 6f 64 20 30 36 30 30 20 7b b/tor.-type.f.-exec.chmod.0600.{
76c0 7d 20 2b 20 32 3e 2f 64 65 76 2f 6e 75 6c 6c 20 7c 7c 20 74 72 75 65 00 20 20 20 20 20 20 20 20 }.+.2>/dev/null.||.true.........
76e0 20 20 66 69 6e 64 20 2f 76 61 72 2f 6c 69 62 2f 74 6f 72 20 2d 74 79 70 65 20 64 20 2d 65 78 65 ..find./var/lib/tor.-type.d.-exe
7700 63 20 63 68 6d 6f 64 20 30 37 30 30 20 7b 7d 20 2b 20 32 3e 2f 64 65 76 2f 6e 75 6c 6c 20 7c 7c c.chmod.0700.{}.+.2>/dev/null.||
7720 20 74 72 75 65 00 20 20 20 20 20 20 20 20 20 20 63 68 6f 77 6e 20 2d 52 20 64 65 62 69 61 6e 2d .true...........chown.-R.debian-
7740 74 6f 72 3a 64 65 62 69 61 6e 2d 74 6f 72 20 2f 76 61 72 2f 6c 69 62 2f 74 6f 72 20 32 3e 2f 64 tor:debian-tor./var/lib/tor.2>/d
7760 65 76 2f 6e 75 6c 6c 20 7c 7c 20 74 72 75 65 00 20 20 20 20 20 20 20 20 69 66 20 5b 5b 20 2d 64 ev/null.||.true.........if.[[.-d
7780 20 2f 76 61 72 2f 6c 69 62 2f 74 6f 72 20 5d 5d 3b 20 74 68 65 6e 00 20 20 20 20 20 20 65 6c 73 ./var/lib/tor.]];.then.......els
77a0 65 00 20 20 20 20 20 20 20 20 70 72 69 6e 74 66 20 27 5b 64 72 79 5d 20 66 69 6e 64 20 2f 76 61 e.........printf.'[dry].find./va
77c0 72 2f 6c 69 62 2f 74 6f 72 20 2d 74 79 70 65 20 66 20 2d 65 78 65 63 20 63 68 6d 6f 64 20 30 36 r/lib/tor.-type.f.-exec.chmod.06
77e0 30 30 20 7b 7d 20 2b 5c 6e 27 00 20 20 20 20 20 20 20 20 70 72 69 6e 74 66 20 27 5b 64 72 79 5d 00.{}.+\n'.........printf.'[dry]
7800 20 66 69 6e 64 20 2f 76 61 72 2f 6c 69 62 2f 74 6f 72 20 2d 74 79 70 65 20 64 20 2d 65 78 65 63 .find./var/lib/tor.-type.d.-exec
7820 20 63 68 6d 6f 64 20 30 37 30 30 20 7b 7d 20 2b 5c 6e 27 00 20 20 20 20 20 20 20 20 70 72 69 6e .chmod.0700.{}.+\n'.........prin
7840 74 66 20 27 5b 64 72 79 5d 20 63 68 6f 77 6e 20 2d 52 20 64 65 62 69 61 6e 2d 74 6f 72 3a 64 65 tf.'[dry].chown.-R.debian-tor:de
7860 62 69 61 6e 2d 74 6f 72 20 2f 76 61 72 2f 6c 69 62 2f 74 6f 72 5c 6e 27 00 20 20 20 20 20 20 69 bian-tor./var/lib/tor\n'.......i
7880 66 20 5b 5b 20 24 7b 44 52 59 5f 52 55 4e 7d 20 3d 3d 20 74 72 75 65 20 5d 5d 3b 20 74 68 65 6e f.[[.${DRY_RUN}.==.true.]];.then
78a0 00 00 20 20 20 20 20 20 20 20 22 24 7b 73 65 63 5f 62 61 73 65 7d 2f 76 61 72 2d 6c 69 62 2d 74 .........."${sec_base}/var-lib-t
78c0 6f 72 22 20 22 2f 76 61 72 2f 6c 69 62 2f 74 6f 72 22 20 7c 7c 20 74 72 75 65 00 20 20 20 20 20 or"."/var/lib/tor".||.true......
78e0 20 72 65 73 74 6f 72 65 5f 70 61 74 68 20 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d 45 7d 22 20 22 .restore_path."${SCRIPT_NAME}"."
7900 74 6f 72 22 20 22 76 61 72 2d 6c 69 62 2d 74 6f 72 22 20 5c 00 20 20 20 20 69 66 20 70 72 6f 6d tor"."var-lib-tor".\.....if.prom
7920 70 74 5f 79 65 73 5f 6e 6f 20 22 52 65 73 74 6f 72 65 20 74 6f 72 2f 76 61 72 2d 6c 69 62 2d 74 pt_yes_no."Restore.tor/var-lib-t
7940 6f 72 20 2d 3e 20 2f 76 61 72 2f 6c 69 62 2f 74 6f 72 3f 22 20 6e 6f 3b 20 74 68 65 6e 00 20 20 or.->./var/lib/tor?".no;.then...
7960 69 66 20 5b 5b 20 22 24 7b 52 4f 4c 45 7d 22 20 3d 3d 20 22 72 65 70 6c 61 63 65 6d 65 6e 74 22 if.[[."${ROLE}".==."replacement"
7980 20 26 26 20 2d 64 20 22 24 7b 73 65 63 5f 62 61 73 65 7d 2f 76 61 72 2d 6c 69 62 2d 74 6f 72 22 .&&.-d."${sec_base}/var-lib-tor"
79a0 20 5d 5d 3b 20 74 68 65 6e 00 00 20 20 66 69 00 20 20 20 20 72 65 70 6f 72 74 20 22 24 7b 53 43 .]];.then....fi.....report."${SC
79c0 52 49 50 54 5f 4e 41 4d 45 7d 22 20 22 74 6f 72 22 20 22 74 6f 72 72 63 2e 64 22 20 22 72 65 73 RIPT_NAME}"."tor"."torrc.d"."res
79e0 74 6f 72 65 22 20 22 73 6b 69 70 70 65 64 22 20 22 6f 70 65 72 61 74 6f 72 20 73 6b 69 70 70 65 tore"."skipped"."operator.skippe
7a00 64 22 20 22 22 00 20 20 65 6c 73 65 00 20 20 20 20 20 20 22 6e 6f 72 6d 61 6c 69 7a 65 64 20 2f d".""...else......."normalized./
7a20 65 74 63 2f 74 6f 72 2f 74 6f 72 72 63 2e 64 20 6f 77 6e 65 72 73 68 69 70 3d 72 6f 6f 74 3a 72 etc/tor/torrc.d.ownership=root:r
7a40 6f 6f 74 20 64 69 72 73 3d 30 37 35 35 20 66 69 6c 65 73 3d 30 36 34 34 22 20 22 22 00 20 20 20 oot.dirs=0755.files=0644".""....
7a60 20 72 65 70 6f 72 74 20 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d 45 7d 22 20 22 74 6f 72 22 20 22 .report."${SCRIPT_NAME}"."tor"."
7a80 74 6f 72 72 63 2e 64 2d 6d 65 74 61 64 61 74 61 22 20 22 72 65 73 74 6f 72 65 22 20 22 63 68 61 torrc.d-metadata"."restore"."cha
7aa0 6e 67 65 64 22 20 5c 00 00 20 20 20 20 66 69 00 20 20 20 20 20 20 66 69 00 20 20 20 20 20 20 20 nged".\......fi.......fi........
7ac0 20 66 69 6e 64 20 2f 65 74 63 2f 74 6f 72 2f 74 6f 72 72 63 2e 64 20 2d 74 79 70 65 20 66 20 2d .find./etc/tor/torrc.d.-type.f.-
7ae0 65 78 65 63 20 63 68 6d 6f 64 20 30 36 34 34 20 7b 7d 20 2b 20 32 3e 2f 64 65 76 2f 6e 75 6c 6c exec.chmod.0644.{}.+.2>/dev/null
7b00 20 7c 7c 20 74 72 75 65 00 20 20 20 20 20 20 20 20 66 69 6e 64 20 2f 65 74 63 2f 74 6f 72 2f 74 .||.true.........find./etc/tor/t
7b20 6f 72 72 63 2e 64 20 2d 74 79 70 65 20 64 20 2d 65 78 65 63 20 63 68 6d 6f 64 20 30 37 35 35 20 orrc.d.-type.d.-exec.chmod.0755.
7b40 7b 7d 20 2b 20 32 3e 2f 64 65 76 2f 6e 75 6c 6c 20 7c 7c 20 74 72 75 65 00 20 20 20 20 20 20 20 {}.+.2>/dev/null.||.true........
7b60 20 63 68 6f 77 6e 20 2d 52 20 72 6f 6f 74 3a 72 6f 6f 74 20 2f 65 74 63 2f 74 6f 72 2f 74 6f 72 .chown.-R.root:root./etc/tor/tor
7b80 72 63 2e 64 20 32 3e 2f 64 65 76 2f 6e 75 6c 6c 20 7c 7c 20 74 72 75 65 00 20 20 20 20 20 20 69 rc.d.2>/dev/null.||.true.......i
7ba0 66 20 5b 5b 20 2d 64 20 2f 65 74 63 2f 74 6f 72 2f 74 6f 72 72 63 2e 64 20 5d 5d 3b 20 74 68 65 f.[[.-d./etc/tor/torrc.d.]];.the
7bc0 6e 00 20 20 20 20 65 6c 73 65 00 20 20 20 20 20 20 70 72 69 6e 74 66 20 27 5b 64 72 79 5d 20 66 n.....else.......printf.'[dry].f
7be0 69 6e 64 20 2f 65 74 63 2f 74 6f 72 2f 74 6f 72 72 63 2e 64 20 2d 74 79 70 65 20 66 20 2d 65 78 ind./etc/tor/torrc.d.-type.f.-ex
7c00 65 63 20 63 68 6d 6f 64 20 30 36 34 34 20 7b 7d 20 2b 5c 6e 27 00 20 20 20 20 20 20 70 72 69 6e ec.chmod.0644.{}.+\n'.......prin
7c20 74 66 20 27 5b 64 72 79 5d 20 66 69 6e 64 20 2f 65 74 63 2f 74 6f 72 2f 74 6f 72 72 63 2e 64 20 tf.'[dry].find./etc/tor/torrc.d.
7c40 2d 74 79 70 65 20 64 20 2d 65 78 65 63 20 63 68 6d 6f 64 20 30 37 35 35 20 7b 7d 20 2b 5c 6e 27 -type.d.-exec.chmod.0755.{}.+\n'
7c60 00 20 20 20 20 20 20 70 72 69 6e 74 66 20 27 5b 64 72 79 5d 20 63 68 6f 77 6e 20 2d 52 20 72 6f .......printf.'[dry].chown.-R.ro
7c80 6f 74 3a 72 6f 6f 74 20 2f 65 74 63 2f 74 6f 72 2f 74 6f 72 72 63 2e 64 5c 6e 27 00 20 20 20 20 ot:root./etc/tor/torrc.d\n'.....
7ca0 69 66 20 5b 5b 20 24 7b 44 52 59 5f 52 55 4e 7d 20 3d 3d 20 74 72 75 65 20 5d 5d 3b 20 74 68 65 if.[[.${DRY_RUN}.==.true.]];.the
7cc0 6e 00 00 20 20 20 20 20 20 22 24 7b 70 75 62 5f 62 61 73 65 7d 2f 74 6f 72 72 63 2e 64 22 20 22 n........"${pub_base}/torrc.d"."
7ce0 2f 65 74 63 2f 74 6f 72 2f 74 6f 72 72 63 2e 64 22 20 7c 7c 20 74 72 75 65 00 20 20 20 20 72 65 /etc/tor/torrc.d".||.true.....re
7d00 73 74 6f 72 65 5f 70 61 74 68 20 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d 45 7d 22 20 22 74 6f 72 store_path."${SCRIPT_NAME}"."tor
7d20 22 20 22 74 6f 72 72 63 2e 64 22 20 5c 00 20 20 69 66 20 70 72 6f 6d 70 74 5f 79 65 73 5f 6e 6f "."torrc.d".\...if.prompt_yes_no
7d40 20 22 52 65 73 74 6f 72 65 20 74 6f 72 2f 74 6f 72 72 63 2e 64 20 2d 3e 20 2f 65 74 63 2f 74 6f ."Restore.tor/torrc.d.->./etc/to
7d60 72 2f 74 6f 72 72 63 2e 64 3f 22 20 79 65 73 3b 20 74 68 65 6e 00 00 20 20 66 69 00 20 20 20 20 r/torrc.d?".yes;.then....fi.....
7d80 72 65 70 6f 72 74 20 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d 45 7d 22 20 22 74 6f 72 22 20 22 74 report."${SCRIPT_NAME}"."tor"."t
7da0 6f 72 72 63 22 20 22 72 65 73 74 6f 72 65 22 20 22 73 6b 69 70 70 65 64 22 20 22 6f 70 65 72 61 orrc"."restore"."skipped"."opera
7dc0 74 6f 72 20 73 6b 69 70 70 65 64 22 20 22 22 00 20 20 65 6c 73 65 00 20 20 20 20 20 20 30 36 34 tor.skipped".""...else.......064
7de0 34 20 72 6f 6f 74 20 72 6f 6f 74 20 7c 7c 20 74 72 75 65 00 20 20 20 20 20 20 22 24 7b 70 75 62 4.root.root.||.true......."${pub
7e00 5f 62 61 73 65 7d 2f 74 6f 72 72 63 22 20 22 2f 65 74 63 2f 74 6f 72 2f 74 6f 72 72 63 22 20 5c _base}/torrc"."/etc/tor/torrc".\
7e20 00 20 20 20 20 72 65 73 74 6f 72 65 5f 70 61 74 68 20 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d 45 .....restore_path."${SCRIPT_NAME
7e40 7d 22 20 22 74 6f 72 22 20 22 74 6f 72 72 63 22 20 5c 00 20 20 69 66 20 70 72 6f 6d 70 74 5f 79 }"."tor"."torrc".\...if.prompt_y
7e60 65 73 5f 6e 6f 20 22 52 65 73 74 6f 72 65 20 74 6f 72 2f 74 6f 72 72 63 20 2d 3e 20 2f 65 74 63 es_no."Restore.tor/torrc.->./etc
7e80 2f 74 6f 72 2f 74 6f 72 72 63 3f 22 20 79 65 73 3b 20 74 68 65 6e 00 00 20 20 66 69 00 20 20 20 /tor/torrc?".yes;.then....fi....
7ea0 20 72 65 74 75 72 6e 20 30 00 20 20 20 20 72 65 70 6f 72 74 20 22 24 7b 53 43 52 49 50 54 5f 4e .return.0.....report."${SCRIPT_N
7ec0 41 4d 45 7d 22 20 22 74 6f 72 22 20 22 63 61 74 65 67 6f 72 79 22 20 22 72 65 73 74 6f 72 65 22 AME}"."tor"."category"."restore"
7ee0 20 22 73 6b 69 70 70 65 64 22 20 22 6f 70 65 72 61 74 6f 72 20 73 6b 69 70 70 65 64 20 63 61 74 ."skipped"."operator.skipped.cat
7f00 65 67 6f 72 79 22 20 22 22 00 20 20 69 66 20 21 20 70 72 6f 6d 70 74 5f 79 65 73 5f 6e 6f 20 22 egory".""...if.!.prompt_yes_no."
7f20 52 65 73 74 6f 72 65 20 63 61 74 65 67 6f 72 79 20 27 74 6f 72 27 3f 22 20 6e 6f 3b 20 74 68 65 Restore.category.'tor'?".no;.the
7f40 6e 00 00 20 20 6c 6f 63 61 6c 20 73 65 63 5f 62 61 73 65 3d 22 24 7b 53 45 43 52 45 54 5f 44 49 n....local.sec_base="${SECRET_DI
7f60 52 7d 2f 74 6f 72 22 00 20 20 6c 6f 63 61 6c 20 70 75 62 5f 62 61 73 65 3d 22 24 7b 50 55 42 4c R}/tor"...local.pub_base="${PUBL
7f80 49 43 5f 44 49 52 7d 2f 74 6f 72 22 00 72 65 73 74 6f 72 65 5f 74 6f 72 28 29 20 7b 00 00 7d 00 IC_DIR}/tor".restore_tor().{..}.
7fa0 20 20 66 69 00 20 20 20 20 72 65 70 6f 72 74 20 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d 45 7d 22 ..fi.....report."${SCRIPT_NAME}"
7fc0 20 22 70 72 6f 73 6f 64 79 22 20 22 24 7b 6c 61 62 65 6c 7d 22 20 22 72 65 73 74 6f 72 65 22 20 ."prosody"."${label}"."restore".
7fe0 22 73 6b 69 70 70 65 64 22 20 22 6f 70 65 72 61 74 6f 72 20 73 6b 69 70 70 65 64 22 20 22 22 00 "skipped"."operator.skipped"."".
8000 61 64 00 00 27 00 00 00 87 01 00 00 00 10 00 00 52 00 00 00 00 00 00 00 9b 0f 00 00 9a 0f 00 00 ad..'...........R...............
8020 3f 0f 00 00 db 0e 00 00 ce 0e 00 00 c9 0e 00 00 c8 0e 00 00 a4 0e 00 00 5d 0e 00 00 06 0e 00 00 ?.......................].......
8040 f9 0d 00 00 f4 0d 00 00 f3 0d 00 00 9c 0d 00 00 45 0d 00 00 e6 0c 00 00 89 0c 00 00 2e 0c 00 00 ................E...............
8060 d4 0b 00 00 d2 0b 00 00 d1 0b 00 00 c1 0b 00 00 a0 0b 00 00 3f 0b 00 00 3e 0b 00 00 e5 0a 00 00 ....................?...>.......
8080 85 0a 00 00 78 0a 00 00 73 0a 00 00 72 0a 00 00 4e 0a 00 00 de 09 00 00 d1 09 00 00 cc 09 00 00 ....x...s...r...N...............
80a0 cb 09 00 00 7b 09 00 00 2e 09 00 00 e3 08 00 00 94 08 00 00 92 08 00 00 91 08 00 00 7c 08 00 00 ....{.......................|...
80c0 56 08 00 00 f0 07 00 00 ef 07 00 00 93 07 00 00 2e 07 00 00 21 07 00 00 1c 07 00 00 1b 07 00 00 V...................!...........
80e0 f7 06 00 00 7d 06 00 00 70 06 00 00 6b 06 00 00 6a 06 00 00 12 06 00 00 bd 05 00 00 bc 05 00 00 ....}...p...k...j...............
8100 6e 05 00 00 da 04 00 00 d5 04 00 00 d3 04 00 00 d2 04 00 00 c0 04 00 00 93 04 00 00 30 04 00 00 n...........................0...
8120 2f 04 00 00 f5 03 00 00 93 03 00 00 86 03 00 00 81 03 00 00 80 03 00 00 45 03 00 00 44 03 00 00 /.......................E...D...
8140 20 03 00 00 fa 02 00 00 c2 02 00 00 93 02 00 00 22 02 00 00 ea 01 00 00 90 01 00 00 87 01 00 00 ................"...............
8160 86 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
8180 00 00 00 00 00 00 00 20 20 20 20 65 6c 73 65 00 20 20 20 20 20 20 70 72 69 6e 74 66 20 27 5b 64 ...........else.......printf.'[d
81a0 72 79 5d 20 6c 6e 20 2d 73 66 20 2e 2e 2f 73 69 74 65 73 2d 61 76 61 69 6c 61 62 6c 65 2f 64 65 ry].ln.-sf.../sites-available/de
81c0 66 61 75 6c 74 20 2f 65 74 63 2f 6e 67 69 6e 78 2f 73 69 74 65 73 2d 65 6e 61 62 6c 65 64 2f 64 fault./etc/nginx/sites-enabled/d
81e0 65 66 61 75 6c 74 5c 6e 27 00 20 20 20 20 20 20 70 72 69 6e 74 66 20 27 5b 64 72 79 5d 20 72 6d efault\n'.......printf.'[dry].rm
8200 20 2d 66 20 2f 65 74 63 2f 6e 67 69 6e 78 2f 73 69 74 65 73 2d 65 6e 61 62 6c 65 64 2f 2a 5c 6e .-f./etc/nginx/sites-enabled/*\n
8220 27 00 20 20 20 20 20 20 70 72 69 6e 74 66 20 27 5b 64 72 79 5d 20 66 69 6e 64 20 2f 65 74 63 2f '.......printf.'[dry].find./etc/
8240 6e 67 69 6e 78 20 2d 6d 61 78 64 65 70 74 68 20 31 20 2d 74 79 70 65 20 64 20 2d 6e 61 6d 65 20 nginx.-maxdepth.1.-type.d.-name.
8260 27 5c 27 27 73 69 74 65 73 2d 61 76 61 69 6c 61 62 6c 65 2e 62 61 6b 2e 2a 27 5c 27 27 20 2d 65 '\''sites-available.bak.*'\''.-e
8280 78 65 63 20 72 6d 20 2d 72 66 20 7b 7d 20 2b 5c 6e 27 00 20 20 20 20 20 20 70 72 69 6e 74 66 20 xec.rm.-rf.{}.+\n'.......printf.
82a0 27 5b 64 72 79 5d 20 72 6d 20 2d 72 66 20 2f 65 74 63 2f 6e 67 69 6e 78 2f 6e 67 69 6e 78 5c 6e '[dry].rm.-rf./etc/nginx/nginx\n
82c0 27 00 20 20 20 20 20 20 70 72 69 6e 74 66 20 27 5b 64 72 79 5d 20 73 61 6e 69 74 69 7a 65 20 2f '.......printf.'[dry].sanitize./
82e0 65 74 63 2f 6e 67 69 6e 78 20 66 6f 72 20 6c 61 62 20 72 6f 6c 65 5c 6e 27 00 20 20 20 20 69 66 etc/nginx.for.lab.role\n'.....if
8300 20 5b 5b 20 24 7b 44 52 59 5f 52 55 4e 7d 20 3d 3d 20 74 72 75 65 20 5d 5d 3b 20 74 68 65 6e 00 .[[.${DRY_RUN}.==.true.]];.then.
8320 20 20 69 66 20 5b 5b 20 22 24 7b 52 4f 4c 45 7d 22 20 3d 3d 20 22 6c 61 62 22 20 5d 5d 3b 20 74 ..if.[[."${ROLE}".==."lab".]];.t
8340 68 65 6e 00 00 20 20 6d 61 79 62 65 5f 72 65 73 74 6f 72 65 20 22 6e 67 69 6e 78 22 20 22 65 74 hen....maybe_restore."nginx"."et
8360 63 2d 6e 67 69 6e 78 22 20 22 24 7b 62 61 73 65 7d 22 20 22 2f 65 74 63 2f 6e 67 69 6e 78 22 00 c-nginx"."${base}"."/etc/nginx".
8380 00 20 20 66 69 00 20 20 20 20 72 65 74 75 72 6e 20 30 00 20 20 20 20 72 65 70 6f 72 74 20 22 24 ...fi.....return.0.....report."$
83a0 7b 53 43 52 49 50 54 5f 4e 41 4d 45 7d 22 20 22 6e 67 69 6e 78 22 20 22 63 61 74 65 67 6f 72 79 {SCRIPT_NAME}"."nginx"."category
83c0 22 20 22 72 65 73 74 6f 72 65 22 20 22 73 6b 69 70 70 65 64 22 20 22 6f 70 65 72 61 74 6f 72 20 "."restore"."skipped"."operator.
83e0 73 6b 69 70 70 65 64 20 63 61 74 65 67 6f 72 79 22 20 22 22 00 20 20 69 66 20 21 20 70 72 6f 6d skipped.category".""...if.!.prom
8400 70 74 5f 79 65 73 5f 6e 6f 20 22 52 65 73 74 6f 72 65 20 63 61 74 65 67 6f 72 79 20 27 6e 67 69 pt_yes_no."Restore.category.'ngi
8420 6e 78 27 3f 22 20 6e 6f 3b 20 74 68 65 6e 00 00 20 20 5b 5b 20 2d 64 20 22 24 7b 62 61 73 65 7d nx'?".no;.then....[[.-d."${base}
8440 22 20 5d 5d 20 7c 7c 20 7b 20 6d 61 72 6b 5f 6d 61 6e 75 61 6c 20 22 24 7b 53 43 52 49 50 54 5f ".]].||.{.mark_manual."${SCRIPT_
8460 4e 41 4d 45 7d 22 20 22 6e 67 69 6e 78 22 20 22 64 62 22 20 22 6d 69 73 73 69 6e 67 20 24 7b 62 NAME}"."nginx"."db"."missing.${b
8480 61 73 65 7d 22 3b 20 72 65 74 75 72 6e 20 30 3b 20 7d 00 20 20 6c 6f 63 61 6c 20 62 61 73 65 3d ase}";.return.0;.}...local.base=
84a0 22 24 7b 50 55 42 4c 49 43 5f 44 49 52 7d 2f 6e 67 69 6e 78 2f 65 74 63 2d 6e 67 69 6e 78 22 00 "${PUBLIC_DIR}/nginx/etc-nginx".
84c0 72 65 73 74 6f 72 65 5f 6e 67 69 6e 78 28 29 20 7b 00 00 7d 00 20 20 66 69 00 20 20 20 20 6e 66 restore_nginx().{..}...fi.....nf
84e0 74 20 2d 63 20 2d 66 20 2f 65 74 63 2f 6e 66 74 61 62 6c 65 73 2e 63 6f 6e 66 20 3e 2f 64 65 76 t.-c.-f./etc/nftables.conf.>/dev
8500 2f 6e 75 6c 6c 20 32 3e 26 31 20 7c 7c 20 6e 6f 74 65 5f 66 61 69 6c 75 72 65 20 22 24 7b 53 43 /null.2>&1.||.note_failure."${SC
8520 52 49 50 54 5f 4e 41 4d 45 7d 22 20 22 66 69 72 65 77 61 6c 6c 22 20 22 76 61 6c 69 64 61 74 65 RIPT_NAME}"."firewall"."validate
8540 22 20 22 63 68 65 63 6b 22 20 22 6e 66 74 61 62 6c 65 73 20 63 6f 6e 66 69 67 20 76 61 6c 69 64 "."check"."nftables.config.valid
8560 61 74 69 6f 6e 20 66 61 69 6c 65 64 22 00 20 20 69 66 20 5b 5b 20 24 7b 44 52 59 5f 52 55 4e 7d ation.failed"...if.[[.${DRY_RUN}
8580 20 3d 3d 20 66 61 6c 73 65 20 26 26 20 2d 66 20 2f 65 74 63 2f 6e 66 74 61 62 6c 65 73 2e 63 6f .==.false.&&.-f./etc/nftables.co
85a0 6e 66 20 5d 5d 20 26 26 20 68 61 76 65 5f 63 6d 64 20 6e 66 74 3b 20 74 68 65 6e 00 00 20 20 6d nf.]].&&.have_cmd.nft;.then....m
85c0 61 79 62 65 5f 72 65 73 74 6f 72 65 20 22 66 69 72 65 77 61 6c 6c 22 20 22 6e 66 74 61 62 6c 65 aybe_restore."firewall"."nftable
85e0 73 2e 64 22 20 20 20 20 22 24 7b 62 61 73 65 7d 2f 6e 66 74 61 62 6c 65 73 2e 64 22 20 20 20 20 s.d"...."${base}/nftables.d"....
8600 22 2f 65 74 63 2f 6e 66 74 61 62 6c 65 73 2e 64 22 00 20 20 6d 61 79 62 65 5f 72 65 73 74 6f 72 "/etc/nftables.d"...maybe_restor
8620 65 20 22 66 69 72 65 77 61 6c 6c 22 20 22 6e 66 74 61 62 6c 65 73 2e 63 6f 6e 66 22 20 22 24 7b e."firewall"."nftables.conf"."${
8640 62 61 73 65 7d 2f 6e 66 74 61 62 6c 65 73 2e 63 6f 6e 66 22 20 22 2f 65 74 63 2f 6e 66 74 61 62 base}/nftables.conf"."/etc/nftab
8660 6c 65 73 2e 63 6f 6e 66 22 00 00 20 20 66 69 00 20 20 20 20 72 65 74 75 72 6e 20 30 00 20 20 20 les.conf"....fi.....return.0....
8680 20 72 65 70 6f 72 74 20 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d 45 7d 22 20 22 66 69 72 65 77 61 .report."${SCRIPT_NAME}"."firewa
86a0 6c 6c 22 20 22 63 61 74 65 67 6f 72 79 22 20 22 6d 61 6e 75 61 6c 22 20 22 6d 61 6e 75 61 6c 22 ll"."category"."manual"."manual"
86c0 20 22 6c 61 62 20 72 6f 6c 65 3a 20 66 69 72 65 77 61 6c 6c 20 72 65 73 74 6f 72 65 20 69 6e 74 ."lab.role:.firewall.restore.int
86e0 65 6e 74 69 6f 6e 61 6c 6c 79 20 73 6b 69 70 70 65 64 22 20 22 22 00 20 20 69 66 20 5b 5b 20 22 entionally.skipped".""...if.[[."
8700 24 7b 52 4f 4c 45 7d 22 20 3d 3d 20 22 6c 61 62 22 20 5d 5d 3b 20 74 68 65 6e 00 00 20 20 66 69 ${ROLE}".==."lab".]];.then....fi
8720 00 20 20 20 20 72 65 74 75 72 6e 20 30 00 20 20 20 20 72 65 70 6f 72 74 20 22 24 7b 53 43 52 49 .....return.0.....report."${SCRI
8740 50 54 5f 4e 41 4d 45 7d 22 20 22 66 69 72 65 77 61 6c 6c 22 20 22 63 61 74 65 67 6f 72 79 22 20 PT_NAME}"."firewall"."category".
8760 22 72 65 73 74 6f 72 65 22 20 22 73 6b 69 70 70 65 64 22 20 22 6f 70 65 72 61 74 6f 72 20 73 6b "restore"."skipped"."operator.sk
8780 69 70 70 65 64 20 63 61 74 65 67 6f 72 79 22 20 22 22 00 20 20 69 66 20 21 20 70 72 6f 6d 70 74 ipped.category".""...if.!.prompt
87a0 5f 79 65 73 5f 6e 6f 20 22 52 65 73 74 6f 72 65 20 63 61 74 65 67 6f 72 79 20 27 66 69 72 65 77 _yes_no."Restore.category.'firew
87c0 61 6c 6c 27 3f 20 54 68 69 73 20 63 61 6e 20 64 69 73 72 75 70 74 20 63 6f 6e 6e 65 63 74 69 76 all'?.This.can.disrupt.connectiv
87e0 69 74 79 2e 22 20 6e 6f 3b 20 74 68 65 6e 00 00 20 20 5b 5b 20 2d 64 20 22 24 7b 62 61 73 65 7d ity.".no;.then....[[.-d."${base}
8800 22 20 5d 5d 20 7c 7c 20 7b 20 6d 61 72 6b 5f 6d 61 6e 75 61 6c 20 22 24 7b 53 43 52 49 50 54 5f ".]].||.{.mark_manual."${SCRIPT_
8820 4e 41 4d 45 7d 22 20 22 66 69 72 65 77 61 6c 6c 22 20 22 64 62 22 20 22 6d 69 73 73 69 6e 67 20 NAME}"."firewall"."db"."missing.
8840 24 7b 62 61 73 65 7d 22 3b 20 72 65 74 75 72 6e 20 30 3b 20 7d 00 20 20 6c 6f 63 61 6c 20 62 61 ${base}";.return.0;.}...local.ba
8860 73 65 3d 22 24 7b 50 55 42 4c 49 43 5f 44 49 52 7d 2f 66 69 72 65 77 61 6c 6c 22 00 72 65 73 74 se="${PUBLIC_DIR}/firewall".rest
8880 6f 72 65 5f 66 69 72 65 77 61 6c 6c 28 29 20 7b 00 00 7d 00 20 20 6d 61 79 62 65 5f 72 65 73 74 ore_firewall().{..}...maybe_rest
88a0 6f 72 65 20 22 64 6e 73 22 20 22 72 65 73 6f 6c 76 2e 63 6f 6e 66 22 20 20 22 24 7b 62 61 73 65 ore."dns"."resolv.conf".."${base
88c0 7d 2f 72 65 73 6f 6c 76 2e 63 6f 6e 66 22 20 20 22 2f 65 74 63 2f 72 65 73 6f 6c 76 2e 63 6f 6e }/resolv.conf".."/etc/resolv.con
88e0 66 22 00 20 20 6d 61 79 62 65 5f 72 65 73 74 6f 72 65 20 22 64 6e 73 22 20 22 65 74 63 2d 75 6e f"...maybe_restore."dns"."etc-un
8900 62 6f 75 6e 64 22 20 20 22 24 7b 62 61 73 65 7d 2f 65 74 63 2d 75 6e 62 6f 75 6e 64 22 20 20 22 bound".."${base}/etc-unbound".."
8920 2f 65 74 63 2f 75 6e 62 6f 75 6e 64 22 00 20 20 6d 61 79 62 65 5f 72 65 73 74 6f 72 65 20 22 64 /etc/unbound"...maybe_restore."d
8940 6e 73 22 20 22 64 6e 73 6d 61 73 71 2e 64 22 20 20 20 20 22 24 7b 62 61 73 65 7d 2f 64 6e 73 6d ns"."dnsmasq.d"...."${base}/dnsm
8960 61 73 71 2e 64 22 20 20 20 20 22 2f 65 74 63 2f 64 6e 73 6d 61 73 71 2e 64 22 00 20 20 6d 61 79 asq.d"...."/etc/dnsmasq.d"...may
8980 62 65 5f 72 65 73 74 6f 72 65 20 22 64 6e 73 22 20 22 64 6e 73 6d 61 73 71 2e 63 6f 6e 66 22 20 be_restore."dns"."dnsmasq.conf".
89a0 22 24 7b 62 61 73 65 7d 2f 64 6e 73 6d 61 73 71 2e 63 6f 6e 66 22 20 22 2f 65 74 63 2f 64 6e 73 "${base}/dnsmasq.conf"."/etc/dns
89c0 6d 61 73 71 2e 63 6f 6e 66 22 00 00 20 20 66 69 00 20 20 20 20 72 65 74 75 72 6e 20 30 00 20 20 masq.conf"....fi.....return.0...
89e0 20 20 72 65 70 6f 72 74 20 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d 45 7d 22 20 22 64 6e 73 22 20 ..report."${SCRIPT_NAME}"."dns".
8a00 22 63 61 74 65 67 6f 72 79 22 20 22 6d 61 6e 75 61 6c 22 20 22 6d 61 6e 75 61 6c 22 20 22 6c 61 "category"."manual"."manual"."la
8a20 62 20 72 6f 6c 65 3a 20 44 4e 53 20 72 65 73 74 6f 72 65 20 69 6e 74 65 6e 74 69 6f 6e 61 6c 6c b.role:.DNS.restore.intentionall
8a40 79 20 73 6b 69 70 70 65 64 22 20 22 22 00 20 20 69 66 20 5b 5b 20 22 24 7b 52 4f 4c 45 7d 22 20 y.skipped".""...if.[[."${ROLE}".
8a60 3d 3d 20 22 6c 61 62 22 20 5d 5d 3b 20 74 68 65 6e 00 00 20 20 66 69 00 20 20 20 20 72 65 74 75 ==."lab".]];.then....fi.....retu
8a80 72 6e 20 30 00 20 20 20 20 72 65 70 6f 72 74 20 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d 45 7d 22 rn.0.....report."${SCRIPT_NAME}"
8aa0 20 22 64 6e 73 22 20 22 63 61 74 65 67 6f 72 79 22 20 22 72 65 73 74 6f 72 65 22 20 22 73 6b 69 ."dns"."category"."restore"."ski
8ac0 70 70 65 64 22 20 22 6f 70 65 72 61 74 6f 72 20 73 6b 69 70 70 65 64 20 63 61 74 65 67 6f 72 79 pped"."operator.skipped.category
8ae0 22 20 22 22 00 20 20 69 66 20 21 20 70 72 6f 6d 70 74 5f 79 65 73 5f 6e 6f 20 22 52 65 73 74 6f ".""...if.!.prompt_yes_no."Resto
8b00 72 65 20 63 61 74 65 67 6f 72 79 20 27 64 6e 73 27 3f 20 54 68 69 73 20 63 61 6e 20 64 69 73 72 re.category.'dns'?.This.can.disr
8b20 75 70 74 20 72 65 73 6f 6c 76 65 72 20 73 74 61 74 65 2e 22 20 6e 6f 3b 20 74 68 65 6e 00 00 20 upt.resolver.state.".no;.then...
8b40 20 5b 5b 20 2d 64 20 22 24 7b 62 61 73 65 7d 22 20 5d 5d 20 7c 7c 20 7b 20 6d 61 72 6b 5f 6d 61 .[[.-d."${base}".]].||.{.mark_ma
8b60 6e 75 61 6c 20 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d 45 7d 22 20 22 64 6e 73 22 20 22 64 62 22 nual."${SCRIPT_NAME}"."dns"."db"
8b80 20 22 6d 69 73 73 69 6e 67 20 24 7b 62 61 73 65 7d 22 3b 20 72 65 74 75 72 6e 20 30 3b 20 7d 00 ."missing.${base}";.return.0;.}.
8ba0 20 20 6c 6f 63 61 6c 20 62 61 73 65 3d 22 24 7b 50 55 42 4c 49 43 5f 44 49 52 7d 2f 64 6e 73 22 ..local.base="${PUBLIC_DIR}/dns"
8bc0 00 72 65 73 74 6f 72 65 5f 64 6e 73 28 29 20 7b 00 00 7d 00 20 20 6d 61 79 62 65 5f 72 65 73 74 .restore_dns().{..}...maybe_rest
8be0 6f 72 65 20 22 6e 65 74 77 6f 72 6b 22 20 22 68 6f 73 74 73 2e 64 65 6e 79 22 20 20 20 20 20 20 ore."network"."hosts.deny"......
8c00 20 22 24 7b 62 61 73 65 7d 2f 68 6f 73 74 73 2e 64 65 6e 79 22 20 20 20 20 20 20 20 22 2f 65 74 ."${base}/hosts.deny"......."/et
8c20 63 2f 68 6f 73 74 73 2e 64 65 6e 79 22 00 20 20 6d 61 79 62 65 5f 72 65 73 74 6f 72 65 20 22 6e c/hosts.deny"...maybe_restore."n
8c40 65 74 77 6f 72 6b 22 20 22 68 6f 73 74 73 2e 61 6c 6c 6f 77 22 20 20 20 20 20 20 22 24 7b 62 61 etwork"."hosts.allow"......"${ba
8c60 73 65 7d 2f 68 6f 73 74 73 2e 61 6c 6c 6f 77 22 20 20 20 20 20 20 22 2f 65 74 63 2f 68 6f 73 74 se}/hosts.allow"......"/etc/host
8c80 73 2e 61 6c 6c 6f 77 22 00 20 20 6d 61 79 62 65 5f 72 65 73 74 6f 72 65 20 22 6e 65 74 77 6f 72 s.allow"...maybe_restore."networ
8ca0 6b 22 20 22 6e 73 73 77 69 74 63 68 2e 63 6f 6e 66 22 20 20 20 20 22 24 7b 62 61 73 65 7d 2f 6e k"."nsswitch.conf"...."${base}/n
8cc0 73 73 77 69 74 63 68 2e 63 6f 6e 66 22 20 20 20 20 22 2f 65 74 63 2f 6e 73 73 77 69 74 63 68 2e sswitch.conf"...."/etc/nsswitch.
8ce0 63 6f 6e 66 22 00 20 20 6d 61 79 62 65 5f 72 65 73 74 6f 72 65 20 22 6e 65 74 77 6f 72 6b 22 20 conf"...maybe_restore."network".
8d00 22 73 79 73 74 65 6d 64 2d 6e 65 74 77 6f 72 6b 22 20 20 22 24 7b 62 61 73 65 7d 2f 73 79 73 74 "systemd-network".."${base}/syst
8d20 65 6d 64 2d 6e 65 74 77 6f 72 6b 22 20 20 22 2f 65 74 63 2f 73 79 73 74 65 6d 64 2f 6e 65 74 77 emd-network".."/etc/systemd/netw
8d40 6f 72 6b 22 00 20 20 6d 61 79 62 65 5f 72 65 73 74 6f 72 65 20 22 6e 65 74 77 6f 72 6b 22 20 22 ork"...maybe_restore."network"."
8d60 65 74 63 2d 6e 65 74 70 6c 61 6e 22 20 20 20 20 20 20 22 24 7b 62 61 73 65 7d 2f 65 74 63 2d 6e etc-netplan"......"${base}/etc-n
8d80 65 74 70 6c 61 6e 22 20 20 20 20 20 20 22 2f 65 74 63 2f 6e 65 74 70 6c 61 6e 22 00 20 20 6d 61 etplan"......"/etc/netplan"...ma
8da0 79 62 65 5f 72 65 73 74 6f 72 65 20 22 6e 65 74 77 6f 72 6b 22 20 22 65 74 63 2d 6e 65 74 77 6f ybe_restore."network"."etc-netwo
8dc0 72 6b 22 20 20 20 20 20 20 22 24 7b 62 61 73 65 7d 2f 65 74 63 2d 6e 65 74 77 6f 72 6b 22 20 20 rk"......"${base}/etc-network"..
8de0 20 20 20 20 22 2f 65 74 63 2f 6e 65 74 77 6f 72 6b 22 00 00 20 20 66 69 00 20 20 20 20 72 65 74 ...."/etc/network"....fi.....ret
8e00 75 72 6e 20 30 00 20 20 20 20 72 65 70 6f 72 74 20 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d 45 7d urn.0.....report."${SCRIPT_NAME}
8e20 22 20 22 6e 65 74 77 6f 72 6b 22 20 22 63 61 74 65 67 6f 72 79 22 20 22 6d 61 6e 75 61 6c 22 20 "."network"."category"."manual".
8e40 22 6d 61 6e 75 61 6c 22 20 22 24 7b 6d 61 6e 75 61 6c 5f 6c 69 6e 65 7d 22 20 22 22 00 20 20 20 "manual"."${manual_line}".""....
8e60 20 6d 61 6e 75 61 6c 5f 6c 69 6e 65 3d 22 6c 61 62 20 72 6f 6c 65 3a 20 66 75 6c 6c 20 6e 65 74 .manual_line="lab.role:.full.net
8e80 77 6f 72 6b 20 72 65 73 74 6f 72 65 20 69 6e 74 65 6e 74 69 6f 6e 61 6c 6c 79 20 73 6b 69 70 70 work.restore.intentionally.skipp
8ea0 65 64 22 00 20 20 69 66 20 5b 5b 20 22 24 7b 52 4f 4c 45 7d 22 20 3d 3d 20 22 6c 61 62 22 20 5d ed"...if.[[."${ROLE}".==."lab".]
8ec0 5d 3b 20 74 68 65 6e 00 00 20 20 66 69 00 20 20 20 20 72 65 74 75 72 6e 20 30 00 20 20 20 20 72 ];.then....fi.....return.0.....r
8ee0 65 70 6f 72 74 20 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d 45 7d 22 20 22 6e 65 74 77 6f 72 6b 22 eport."${SCRIPT_NAME}"."network"
8f00 20 22 63 61 74 65 67 6f 72 79 22 20 22 72 65 73 74 6f 72 65 22 20 22 73 6b 69 70 70 65 64 22 20 ."category"."restore"."skipped".
8f20 22 6f 70 65 72 61 74 6f 72 20 73 6b 69 70 70 65 64 20 63 61 74 65 67 6f 72 79 22 20 22 22 00 20 "operator.skipped.category".""..
8f40 20 69 66 20 21 20 70 72 6f 6d 70 74 5f 79 65 73 5f 6e 6f 20 22 52 65 73 74 6f 72 65 20 63 61 74 .if.!.prompt_yes_no."Restore.cat
8f60 65 67 6f 72 79 20 27 6e 65 74 77 6f 72 6b 27 3f 20 54 68 69 73 20 63 61 6e 20 64 69 73 72 75 70 egory.'network'?.This.can.disrup
8f80 74 20 63 6f 6e 6e 65 63 74 69 76 69 74 79 2e 22 20 6e 6f 3b 20 74 68 65 6e 00 00 20 20 5b 5b 20 t.connectivity.".no;.then....[[.
8fa0 2d 64 20 22 24 7b 62 61 73 65 7d 22 20 5d 5d 20 7c 7c 20 7b 20 6d 61 72 6b 5f 6d 61 6e 75 61 6c -d."${base}".]].||.{.mark_manual
8fc0 20 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d 45 7d 22 20 22 6e 65 74 77 6f 72 6b 22 20 22 64 62 22 ."${SCRIPT_NAME}"."network"."db"
8fe0 20 22 6d 69 73 73 69 6e 67 20 24 7b 62 61 73 65 7d 22 3b 20 72 65 74 75 72 6e 20 30 3b 20 7d 00 ."missing.${base}";.return.0;.}.
9000 61 64 00 00 77 00 00 00 bf 01 00 00 00 10 00 00 4c 00 00 00 00 00 00 00 89 0f 00 00 3b 0f 00 00 ad..w...........L...........;...
9020 ff 0e 00 00 cd 0e 00 00 ae 0e 00 00 a5 0e 00 00 35 0e 00 00 2e 0e 00 00 29 0e 00 00 28 0e 00 00 ................5.......)...(...
9040 f6 0d 00 00 af 0d 00 00 75 0d 00 00 3b 0d 00 00 3a 0d 00 00 12 0d 00 00 dc 0c 00 00 96 0c 00 00 ........u...;...:...............
9060 50 0c 00 00 45 0c 00 00 f6 0b 00 00 97 0b 00 00 38 0b 00 00 2f 0b 00 00 2e 0b 00 00 dd 0a 00 00 P...E...........8.../...........
9080 92 0a 00 00 89 0a 00 00 2d 0a 00 00 26 0a 00 00 21 0a 00 00 20 0a 00 00 e8 09 00 00 9b 09 00 00 ........-...&...!...............
90a0 5e 09 00 00 1b 09 00 00 1a 09 00 00 f2 08 00 00 b9 08 00 00 70 08 00 00 27 08 00 00 1c 08 00 00 ^...................p...'.......
90c0 c7 07 00 00 62 07 00 00 fd 06 00 00 f4 06 00 00 f3 06 00 00 9f 06 00 00 51 06 00 00 48 06 00 00 ....b...................Q...H...
90e0 e9 05 00 00 e2 05 00 00 dd 05 00 00 dc 05 00 00 a8 05 00 00 5f 05 00 00 24 05 00 00 e7 04 00 00 ...................._...$.......
9100 e6 04 00 00 be 04 00 00 87 04 00 00 40 04 00 00 f9 03 00 00 ee 03 00 00 9d 03 00 00 3c 03 00 00 ............@...............<...
9120 db 02 00 00 d2 02 00 00 d1 02 00 00 7f 02 00 00 33 02 00 00 2a 02 00 00 cd 01 00 00 c6 01 00 00 ................3...*...........
9140 c1 01 00 00 bf 01 00 00 2e 02 00 00 08 02 00 00 e2 01 00 00 bc 01 00 00 9a 01 00 00 00 00 00 00 ................................
9160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
9180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20 20 20 20 74 6f ..............................to
91a0 72 29 20 20 20 20 20 20 20 20 20 20 20 72 65 73 74 6f 72 65 5f 74 6f 72 20 3b 3b 00 20 20 20 7d r)...........restore_tor.;;....}
91c0 00 20 20 66 69 00 20 20 20 20 66 69 00 20 20 20 20 20 20 72 65 70 6f 72 74 20 22 24 7b 53 43 52 ...fi.....fi.......report."${SCR
91e0 49 50 54 5f 4e 41 4d 45 7d 22 20 22 6d 6f 6e 69 74 6f 72 69 6e 67 22 20 22 61 6c 6c 6f 79 22 20 IPT_NAME}"."monitoring"."alloy".
9200 22 72 65 73 74 6f 72 65 22 20 22 73 6b 69 70 70 65 64 22 20 22 6f 70 65 72 61 74 6f 72 20 73 6b "restore"."skipped"."operator.sk
9220 69 70 70 65 64 22 20 22 22 00 20 20 20 20 65 6c 73 65 00 20 20 20 20 20 20 20 20 22 6e 6f 72 6d ipped"."".....else........."norm
9240 61 6c 69 7a 65 64 20 2f 65 74 63 2f 61 6c 6c 6f 79 20 6f 77 6e 65 72 73 68 69 70 3d 72 6f 6f 74 alized./etc/alloy.ownership=root
9260 3a 72 6f 6f 74 20 64 69 72 73 3d 30 37 35 35 20 66 69 6c 65 73 3d 30 36 34 34 22 20 22 22 00 20 :root.dirs=0755.files=0644".""..
9280 20 20 20 20 20 72 65 70 6f 72 74 20 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d 45 7d 22 20 22 6d 6f .....report."${SCRIPT_NAME}"."mo
92a0 6e 69 74 6f 72 69 6e 67 22 20 22 61 6c 6c 6f 79 2d 6d 65 74 61 64 61 74 61 22 20 22 72 65 73 74 nitoring"."alloy-metadata"."rest
92c0 6f 72 65 22 20 22 63 68 61 6e 67 65 64 22 20 5c 00 00 20 20 20 20 20 20 66 69 00 20 20 20 20 20 ore"."changed".\........fi......
92e0 20 20 20 5b 5b 20 2d 64 20 2f 65 74 63 2f 61 6c 6c 6f 79 20 5d 5d 20 26 26 20 66 69 6e 64 20 2f ...[[.-d./etc/alloy.]].&&.find./
9300 65 74 63 2f 61 6c 6c 6f 79 20 2d 74 79 70 65 20 66 20 2d 65 78 65 63 20 63 68 6d 6f 64 20 30 36 etc/alloy.-type.f.-exec.chmod.06
9320 34 34 20 7b 7d 20 2b 20 32 3e 2f 64 65 76 2f 6e 75 6c 6c 20 7c 7c 20 74 72 75 65 00 20 20 20 20 44.{}.+.2>/dev/null.||.true.....
9340 20 20 20 20 5b 5b 20 2d 64 20 2f 65 74 63 2f 61 6c 6c 6f 79 20 5d 5d 20 26 26 20 66 69 6e 64 20 ....[[.-d./etc/alloy.]].&&.find.
9360 2f 65 74 63 2f 61 6c 6c 6f 79 20 2d 74 79 70 65 20 64 20 2d 65 78 65 63 20 63 68 6d 6f 64 20 30 /etc/alloy.-type.d.-exec.chmod.0
9380 37 35 35 20 7b 7d 20 2b 20 32 3e 2f 64 65 76 2f 6e 75 6c 6c 20 7c 7c 20 74 72 75 65 00 20 20 20 755.{}.+.2>/dev/null.||.true....
93a0 20 20 20 20 20 5b 5b 20 2d 64 20 2f 65 74 63 2f 61 6c 6c 6f 79 20 5d 5d 20 26 26 20 63 68 6f 77 .....[[.-d./etc/alloy.]].&&.chow
93c0 6e 20 2d 52 20 72 6f 6f 74 3a 72 6f 6f 74 20 2f 65 74 63 2f 61 6c 6c 6f 79 20 32 3e 2f 64 65 76 n.-R.root:root./etc/alloy.2>/dev
93e0 2f 6e 75 6c 6c 20 7c 7c 20 74 72 75 65 00 20 20 20 20 20 20 65 6c 73 65 00 20 20 20 20 20 20 20 /null.||.true.......else........
9400 20 70 72 69 6e 74 66 20 27 5b 64 72 79 5d 20 66 69 6e 64 20 2f 65 74 63 2f 61 6c 6c 6f 79 20 2d .printf.'[dry].find./etc/alloy.-
9420 74 79 70 65 20 66 20 2d 65 78 65 63 20 63 68 6d 6f 64 20 30 36 34 34 20 7b 7d 20 2b 5c 6e 27 00 type.f.-exec.chmod.0644.{}.+\n'.
9440 20 20 20 20 20 20 20 20 70 72 69 6e 74 66 20 27 5b 64 72 79 5d 20 66 69 6e 64 20 2f 65 74 63 2f ........printf.'[dry].find./etc/
9460 61 6c 6c 6f 79 20 2d 74 79 70 65 20 64 20 2d 65 78 65 63 20 63 68 6d 6f 64 20 30 37 35 35 20 7b alloy.-type.d.-exec.chmod.0755.{
9480 7d 20 2b 5c 6e 27 00 20 20 20 20 20 20 20 20 70 72 69 6e 74 66 20 27 5b 64 72 79 5d 20 63 68 6f }.+\n'.........printf.'[dry].cho
94a0 77 6e 20 2d 52 20 72 6f 6f 74 3a 72 6f 6f 74 20 2f 65 74 63 2f 61 6c 6c 6f 79 5c 6e 27 00 20 20 wn.-R.root:root./etc/alloy\n'...
94c0 20 20 20 20 69 66 20 5b 5b 20 24 7b 44 52 59 5f 52 55 4e 7d 20 3d 3d 20 74 72 75 65 20 5d 5d 3b ....if.[[.${DRY_RUN}.==.true.]];
94e0 20 74 68 65 6e 00 00 20 20 20 20 20 20 20 20 22 24 7b 53 45 43 52 45 54 5f 44 49 52 7d 2f 61 6c .then.........."${SECRET_DIR}/al
9500 6c 6f 79 2f 65 74 63 2d 61 6c 6c 6f 79 22 20 22 2f 65 74 63 2f 61 6c 6c 6f 79 22 20 7c 7c 20 74 loy/etc-alloy"."/etc/alloy".||.t
9520 72 75 65 00 20 20 20 20 20 20 72 65 73 74 6f 72 65 5f 70 61 74 68 20 22 24 7b 53 43 52 49 50 54 rue.......restore_path."${SCRIPT
9540 5f 4e 41 4d 45 7d 22 20 22 6d 6f 6e 69 74 6f 72 69 6e 67 22 20 22 61 6c 6c 6f 79 22 20 5c 00 20 _NAME}"."monitoring"."alloy".\..
9560 20 20 20 69 66 20 70 72 6f 6d 70 74 5f 79 65 73 5f 6e 6f 20 22 52 65 73 74 6f 72 65 20 6d 6f 6e ...if.prompt_yes_no."Restore.mon
9580 69 74 6f 72 69 6e 67 2f 61 6c 6c 6f 79 20 2d 3e 20 2f 65 74 63 2f 61 6c 6c 6f 79 3f 22 20 79 65 itoring/alloy.->./etc/alloy?".ye
95a0 73 3b 20 74 68 65 6e 00 20 20 69 66 20 5b 5b 20 2d 64 20 22 24 7b 53 45 43 52 45 54 5f 44 49 52 s;.then...if.[[.-d."${SECRET_DIR
95c0 7d 2f 61 6c 6c 6f 79 2f 65 74 63 2d 61 6c 6c 6f 79 22 20 5d 5d 3b 20 74 68 65 6e 00 00 20 20 66 }/alloy/etc-alloy".]];.then....f
95e0 69 00 20 20 20 20 66 69 00 20 20 20 20 20 20 72 65 70 6f 72 74 20 22 24 7b 53 43 52 49 50 54 5f i.....fi.......report."${SCRIPT_
9600 4e 41 4d 45 7d 22 20 22 6d 6f 6e 69 74 6f 72 69 6e 67 22 20 22 67 72 61 66 61 6e 61 22 20 22 72 NAME}"."monitoring"."grafana"."r
9620 65 73 74 6f 72 65 22 20 22 73 6b 69 70 70 65 64 22 20 22 6f 70 65 72 61 74 6f 72 20 73 6b 69 70 estore"."skipped"."operator.skip
9640 70 65 64 22 20 22 22 00 20 20 20 20 65 6c 73 65 00 20 20 20 20 20 20 20 20 22 6e 6f 72 6d 61 6c ped"."".....else........."normal
9660 69 7a 65 64 20 2f 65 74 63 2f 67 72 61 66 61 6e 61 20 6f 77 6e 65 72 73 68 69 70 3d 72 6f 6f 74 ized./etc/grafana.ownership=root
9680 3a 72 6f 6f 74 20 64 69 72 73 3d 30 37 35 35 20 66 69 6c 65 73 3d 30 36 34 34 22 20 22 22 00 20 :root.dirs=0755.files=0644".""..
96a0 20 20 20 20 20 72 65 70 6f 72 74 20 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d 45 7d 22 20 22 6d 6f .....report."${SCRIPT_NAME}"."mo
96c0 6e 69 74 6f 72 69 6e 67 22 20 22 67 72 61 66 61 6e 61 2d 6d 65 74 61 64 61 74 61 22 20 22 72 65 nitoring"."grafana-metadata"."re
96e0 73 74 6f 72 65 22 20 22 63 68 61 6e 67 65 64 22 20 5c 00 00 20 20 20 20 20 20 66 69 00 20 20 20 store"."changed".\........fi....
9700 20 20 20 20 20 5b 5b 20 2d 64 20 2f 65 74 63 2f 67 72 61 66 61 6e 61 20 5d 5d 20 26 26 20 66 69 .....[[.-d./etc/grafana.]].&&.fi
9720 6e 64 20 2f 65 74 63 2f 67 72 61 66 61 6e 61 20 2d 74 79 70 65 20 66 20 2d 65 78 65 63 20 63 68 nd./etc/grafana.-type.f.-exec.ch
9740 6d 6f 64 20 30 36 34 34 20 7b 7d 20 2b 20 32 3e 2f 64 65 76 2f 6e 75 6c 6c 20 7c 7c 20 74 72 75 mod.0644.{}.+.2>/dev/null.||.tru
9760 65 00 20 20 20 20 20 20 20 20 5b 5b 20 2d 64 20 2f 65 74 63 2f 67 72 61 66 61 6e 61 20 5d 5d 20 e.........[[.-d./etc/grafana.]].
9780 26 26 20 66 69 6e 64 20 2f 65 74 63 2f 67 72 61 66 61 6e 61 20 2d 74 79 70 65 20 64 20 2d 65 78 &&.find./etc/grafana.-type.d.-ex
97a0 65 63 20 63 68 6d 6f 64 20 30 37 35 35 20 7b 7d 20 2b 20 32 3e 2f 64 65 76 2f 6e 75 6c 6c 20 7c ec.chmod.0755.{}.+.2>/dev/null.|
97c0 7c 20 74 72 75 65 00 20 20 20 20 20 20 20 20 5b 5b 20 2d 64 20 2f 65 74 63 2f 67 72 61 66 61 6e |.true.........[[.-d./etc/grafan
97e0 61 20 5d 5d 20 26 26 20 63 68 6f 77 6e 20 2d 52 20 72 6f 6f 74 3a 72 6f 6f 74 20 2f 65 74 63 2f a.]].&&.chown.-R.root:root./etc/
9800 67 72 61 66 61 6e 61 20 32 3e 2f 64 65 76 2f 6e 75 6c 6c 20 7c 7c 20 74 72 75 65 00 20 20 20 20 grafana.2>/dev/null.||.true.....
9820 20 20 65 6c 73 65 00 20 20 20 20 20 20 20 20 70 72 69 6e 74 66 20 27 5b 64 72 79 5d 20 66 69 6e ..else.........printf.'[dry].fin
9840 64 20 2f 65 74 63 2f 67 72 61 66 61 6e 61 20 2d 74 79 70 65 20 66 20 2d 65 78 65 63 20 63 68 6d d./etc/grafana.-type.f.-exec.chm
9860 6f 64 20 30 36 34 34 20 7b 7d 20 2b 5c 6e 27 00 20 20 20 20 20 20 20 20 70 72 69 6e 74 66 20 27 od.0644.{}.+\n'.........printf.'
9880 5b 64 72 79 5d 20 66 69 6e 64 20 2f 65 74 63 2f 67 72 61 66 61 6e 61 20 2d 74 79 70 65 20 64 20 [dry].find./etc/grafana.-type.d.
98a0 2d 65 78 65 63 20 63 68 6d 6f 64 20 30 37 35 35 20 7b 7d 20 2b 5c 6e 27 00 20 20 20 20 20 20 20 -exec.chmod.0755.{}.+\n'........
98c0 20 70 72 69 6e 74 66 20 27 5b 64 72 79 5d 20 63 68 6f 77 6e 20 2d 52 20 72 6f 6f 74 3a 72 6f 6f .printf.'[dry].chown.-R.root:roo
98e0 74 20 2f 65 74 63 2f 67 72 61 66 61 6e 61 5c 6e 27 00 20 20 20 20 20 20 69 66 20 5b 5b 20 24 7b t./etc/grafana\n'.......if.[[.${
9900 44 52 59 5f 52 55 4e 7d 20 3d 3d 20 74 72 75 65 20 5d 5d 3b 20 74 68 65 6e 00 00 20 20 20 20 20 DRY_RUN}.==.true.]];.then.......
9920 20 20 20 22 24 7b 50 55 42 4c 49 43 5f 44 49 52 7d 2f 67 72 61 66 61 6e 61 2f 65 74 63 2d 67 72 ..."${PUBLIC_DIR}/grafana/etc-gr
9940 61 66 61 6e 61 22 20 22 2f 65 74 63 2f 67 72 61 66 61 6e 61 22 20 7c 7c 20 74 72 75 65 00 20 20 afana"."/etc/grafana".||.true...
9960 20 20 20 20 72 65 73 74 6f 72 65 5f 70 61 74 68 20 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d 45 7d ....restore_path."${SCRIPT_NAME}
9980 22 20 22 6d 6f 6e 69 74 6f 72 69 6e 67 22 20 22 67 72 61 66 61 6e 61 22 20 5c 00 20 20 20 20 69 "."monitoring"."grafana".\.....i
99a0 66 20 70 72 6f 6d 70 74 5f 79 65 73 5f 6e 6f 20 22 52 65 73 74 6f 72 65 20 6d 6f 6e 69 74 6f 72 f.prompt_yes_no."Restore.monitor
99c0 69 6e 67 2f 67 72 61 66 61 6e 61 20 2d 3e 20 2f 65 74 63 2f 67 72 61 66 61 6e 61 3f 22 20 79 65 ing/grafana.->./etc/grafana?".ye
99e0 73 3b 20 74 68 65 6e 00 20 20 69 66 20 5b 5b 20 2d 64 20 22 24 7b 50 55 42 4c 49 43 5f 44 49 52 s;.then...if.[[.-d."${PUBLIC_DIR
9a00 7d 2f 67 72 61 66 61 6e 61 2f 65 74 63 2d 67 72 61 66 61 6e 61 22 20 5d 5d 3b 20 74 68 65 6e 00 }/grafana/etc-grafana".]];.then.
9a20 00 20 20 66 69 00 20 20 20 20 66 69 00 20 20 20 20 20 20 72 65 70 6f 72 74 20 22 24 7b 53 43 52 ...fi.....fi.......report."${SCR
9a40 49 50 54 5f 4e 41 4d 45 7d 22 20 22 6d 6f 6e 69 74 6f 72 69 6e 67 22 20 22 6c 6f 6b 69 22 20 22 IPT_NAME}"."monitoring"."loki"."
9a60 72 65 73 74 6f 72 65 22 20 22 73 6b 69 70 70 65 64 22 20 22 6f 70 65 72 61 74 6f 72 20 73 6b 69 restore"."skipped"."operator.ski
9a80 70 70 65 64 22 20 22 22 00 20 20 20 20 65 6c 73 65 00 20 20 20 20 20 20 20 20 22 6e 6f 72 6d 61 pped"."".....else........."norma
9aa0 6c 69 7a 65 64 20 2f 65 74 63 2f 6c 6f 6b 69 20 6f 77 6e 65 72 73 68 69 70 3d 72 6f 6f 74 3a 72 lized./etc/loki.ownership=root:r
9ac0 6f 6f 74 20 64 69 72 73 3d 30 37 35 35 20 66 69 6c 65 73 3d 30 36 34 34 22 20 22 22 00 20 20 20 oot.dirs=0755.files=0644".""....
9ae0 20 20 20 72 65 70 6f 72 74 20 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d 45 7d 22 20 22 6d 6f 6e 69 ...report."${SCRIPT_NAME}"."moni
9b00 74 6f 72 69 6e 67 22 20 22 6c 6f 6b 69 2d 6d 65 74 61 64 61 74 61 22 20 22 72 65 73 74 6f 72 65 toring"."loki-metadata"."restore
9b20 22 20 22 63 68 61 6e 67 65 64 22 20 5c 00 00 20 20 20 20 20 20 66 69 00 20 20 20 20 20 20 20 20 "."changed".\........fi.........
9b40 5b 5b 20 2d 64 20 2f 65 74 63 2f 6c 6f 6b 69 20 5d 5d 20 26 26 20 66 69 6e 64 20 2f 65 74 63 2f [[.-d./etc/loki.]].&&.find./etc/
9b60 6c 6f 6b 69 20 2d 74 79 70 65 20 66 20 2d 65 78 65 63 20 63 68 6d 6f 64 20 30 36 34 34 20 7b 7d loki.-type.f.-exec.chmod.0644.{}
9b80 20 2b 20 32 3e 2f 64 65 76 2f 6e 75 6c 6c 20 7c 7c 20 74 72 75 65 00 20 20 20 20 20 20 20 20 5b .+.2>/dev/null.||.true.........[
9ba0 5b 20 2d 64 20 2f 65 74 63 2f 6c 6f 6b 69 20 5d 5d 20 26 26 20 66 69 6e 64 20 2f 65 74 63 2f 6c [.-d./etc/loki.]].&&.find./etc/l
9bc0 6f 6b 69 20 2d 74 79 70 65 20 64 20 2d 65 78 65 63 20 63 68 6d 6f 64 20 30 37 35 35 20 7b 7d 20 oki.-type.d.-exec.chmod.0755.{}.
9be0 2b 20 32 3e 2f 64 65 76 2f 6e 75 6c 6c 20 7c 7c 20 74 72 75 65 00 20 20 20 20 20 20 20 20 5b 5b +.2>/dev/null.||.true.........[[
9c00 20 2d 64 20 2f 65 74 63 2f 6c 6f 6b 69 20 5d 5d 20 26 26 20 63 68 6f 77 6e 20 2d 52 20 72 6f 6f .-d./etc/loki.]].&&.chown.-R.roo
9c20 74 3a 72 6f 6f 74 20 2f 65 74 63 2f 6c 6f 6b 69 20 32 3e 2f 64 65 76 2f 6e 75 6c 6c 20 7c 7c 20 t:root./etc/loki.2>/dev/null.||.
9c40 74 72 75 65 00 20 20 20 20 20 20 65 6c 73 65 00 20 20 20 20 20 20 20 20 70 72 69 6e 74 66 20 27 true.......else.........printf.'
9c60 5b 64 72 79 5d 20 66 69 6e 64 20 2f 65 74 63 2f 6c 6f 6b 69 20 2d 74 79 70 65 20 66 20 2d 65 78 [dry].find./etc/loki.-type.f.-ex
9c80 65 63 20 63 68 6d 6f 64 20 30 36 34 34 20 7b 7d 20 2b 5c 6e 27 00 20 20 20 20 20 20 20 20 70 72 ec.chmod.0644.{}.+\n'.........pr
9ca0 69 6e 74 66 20 27 5b 64 72 79 5d 20 66 69 6e 64 20 2f 65 74 63 2f 6c 6f 6b 69 20 2d 74 79 70 65 intf.'[dry].find./etc/loki.-type
9cc0 20 64 20 2d 65 78 65 63 20 63 68 6d 6f 64 20 30 37 35 35 20 7b 7d 20 2b 5c 6e 27 00 20 20 20 20 .d.-exec.chmod.0755.{}.+\n'.....
9ce0 20 20 20 20 70 72 69 6e 74 66 20 27 5b 64 72 79 5d 20 63 68 6f 77 6e 20 2d 52 20 72 6f 6f 74 3a ....printf.'[dry].chown.-R.root:
9d00 72 6f 6f 74 20 2f 65 74 63 2f 6c 6f 6b 69 5c 6e 27 00 20 20 20 20 20 20 69 66 20 5b 5b 20 24 7b root./etc/loki\n'.......if.[[.${
9d20 44 52 59 5f 52 55 4e 7d 20 3d 3d 20 74 72 75 65 20 5d 5d 3b 20 74 68 65 6e 00 00 20 20 20 20 20 DRY_RUN}.==.true.]];.then.......
9d40 20 20 20 22 24 7b 50 55 42 4c 49 43 5f 44 49 52 7d 2f 6c 6f 6b 69 2f 65 74 63 2d 6c 6f 6b 69 22 ..."${PUBLIC_DIR}/loki/etc-loki"
9d60 20 22 2f 65 74 63 2f 6c 6f 6b 69 22 20 7c 7c 20 74 72 75 65 00 20 20 20 20 20 20 72 65 73 74 6f ."/etc/loki".||.true.......resto
9d80 72 65 5f 70 61 74 68 20 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d 45 7d 22 20 22 6d 6f 6e 69 74 6f re_path."${SCRIPT_NAME}"."monito
9da0 72 69 6e 67 22 20 22 6c 6f 6b 69 22 20 5c 00 20 20 20 20 69 66 20 70 72 6f 6d 70 74 5f 79 65 73 ring"."loki".\.....if.prompt_yes
9dc0 5f 6e 6f 20 22 52 65 73 74 6f 72 65 20 6d 6f 6e 69 74 6f 72 69 6e 67 2f 6c 6f 6b 69 20 2d 3e 20 _no."Restore.monitoring/loki.->.
9de0 2f 65 74 63 2f 6c 6f 6b 69 3f 22 20 79 65 73 3b 20 74 68 65 6e 00 20 20 69 66 20 5b 5b 20 2d 64 /etc/loki?".yes;.then...if.[[.-d
9e00 20 22 24 7b 50 55 42 4c 49 43 5f 44 49 52 7d 2f 6c 6f 6b 69 2f 65 74 63 2d 6c 6f 6b 69 22 20 5d ."${PUBLIC_DIR}/loki/etc-loki".]
9e20 5d 3b 20 74 68 65 6e 00 00 20 20 66 69 00 20 20 20 20 66 69 00 20 20 20 20 20 20 72 65 70 6f 72 ];.then....fi.....fi.......repor
9e40 74 20 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d 45 7d 22 20 22 6d 6f 6e 69 74 6f 72 69 6e 67 22 20 t."${SCRIPT_NAME}"."monitoring".
9e60 22 70 72 6f 6d 65 74 68 65 75 73 2d 6e 6f 64 65 2d 65 78 70 6f 72 74 65 72 22 20 22 72 65 73 74 "prometheus-node-exporter"."rest
9e80 6f 72 65 22 20 22 73 6b 69 70 70 65 64 22 20 22 6f 70 65 72 61 74 6f 72 20 73 6b 69 70 70 65 64 ore"."skipped"."operator.skipped
9ea0 22 20 22 22 00 20 20 20 20 65 6c 73 65 00 20 20 20 20 20 20 20 20 30 36 34 34 20 72 6f 6f 74 20 "."".....else.........0644.root.
9ec0 72 6f 6f 74 20 7c 7c 20 74 72 75 65 00 20 20 20 20 20 20 20 20 22 2f 65 74 63 2f 64 65 66 61 75 root.||.true........."/etc/defau
9ee0 6c 74 2f 70 72 6f 6d 65 74 68 65 75 73 2d 6e 6f 64 65 2d 65 78 70 6f 72 74 65 72 22 20 5c 00 20 lt/prometheus-node-exporter".\..
9f00 20 20 20 20 20 20 20 22 24 7b 50 55 42 4c 49 43 5f 44 49 52 7d 2f 70 72 6f 6d 65 74 68 65 75 73 ......."${PUBLIC_DIR}/prometheus
9f20 2f 6e 6f 64 65 2d 65 78 70 6f 72 74 65 72 2d 64 65 66 61 75 6c 74 73 22 20 5c 00 20 20 20 20 20 /node-exporter-defaults".\......
9f40 20 72 65 73 74 6f 72 65 5f 70 61 74 68 20 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d 45 7d 22 20 22 .restore_path."${SCRIPT_NAME}"."
9f60 6d 6f 6e 69 74 6f 72 69 6e 67 22 20 22 70 72 6f 6d 65 74 68 65 75 73 2d 6e 6f 64 65 2d 65 78 70 monitoring"."prometheus-node-exp
9f80 6f 72 74 65 72 22 20 5c 00 20 20 20 20 69 66 20 70 72 6f 6d 70 74 5f 79 65 73 5f 6e 6f 20 22 52 orter".\.....if.prompt_yes_no."R
9fa0 65 73 74 6f 72 65 20 6d 6f 6e 69 74 6f 72 69 6e 67 2f 70 72 6f 6d 65 74 68 65 75 73 2d 6e 6f 64 estore.monitoring/prometheus-nod
9fc0 65 2d 65 78 70 6f 72 74 65 72 20 2d 3e 20 2f 65 74 63 2f 64 65 66 61 75 6c 74 2f 70 72 6f 6d 65 e-exporter.->./etc/default/prome
9fe0 74 68 65 75 73 2d 6e 6f 64 65 2d 65 78 70 6f 72 74 65 72 3f 22 20 79 65 73 3b 20 74 68 65 6e 00 theus-node-exporter?".yes;.then.
a000 61 64 00 00 aa 0d 00 00 fe 0d 00 00 00 10 00 00 0f 00 00 00 00 00 00 00 ff 0f 00 00 d8 0f 00 00 ad..............................
a020 af 0f 00 00 97 0f 00 00 6b 0f 00 00 47 0f 00 00 25 0f 00 00 ff 0e 00 00 dd 0e 00 00 b6 0e 00 00 ........k...G...%...............
a040 92 0e 00 00 6c 0e 00 00 46 0e 00 00 20 0e 00 00 fe 0d 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ....l...F.......................
a060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a0a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a0c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a0e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a1a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a1c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a1e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a220 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a240 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a260 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a280 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a2a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a2c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a2e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a300 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a320 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a340 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a360 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a380 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a3a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a3c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a3e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a400 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a420 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a440 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a460 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a480 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a4a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a4c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a4e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a500 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a520 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a540 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a560 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a580 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a5a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a5c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a5e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a600 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a620 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a640 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a660 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a680 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a6a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a6c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a6e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a700 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a720 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a740 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a760 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a780 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a7a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a7c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a7e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a800 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a820 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a840 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a860 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a880 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a8a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a8c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a8e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a900 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a920 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a940 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a960 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a980 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a9a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a9c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
a9e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
aa00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
aa20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
aa40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
aa60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
aa80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
aaa0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
aac0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
aae0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
ab00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
ab20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
ab40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
ab60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
ab80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
aba0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
abc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
abe0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
ac00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
ac20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
ac40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
ac60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
ac80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
aca0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
acc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
ace0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
ad00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
ad20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
ad40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
ad60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
ad80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
ada0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
adc0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
ade0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20 20 ................................
ae00 20 20 74 6f 72 29 20 20 20 20 20 20 20 20 20 20 20 72 65 73 74 6f 72 65 5f 74 6f 72 20 3b 3b 00 ..tor)...........restore_tor.;;.
ae20 20 20 20 20 70 72 6f 73 6f 64 79 29 20 20 20 20 20 20 20 72 65 73 74 6f 72 65 5f 70 72 6f 73 6f ....prosody).......restore_proso
ae40 64 79 20 3b 3b 00 20 20 20 20 70 6f 73 74 66 69 78 29 20 20 20 20 20 20 20 72 65 73 74 6f 72 65 dy.;;.....postfix).......restore
ae60 5f 70 6f 73 74 66 69 78 20 3b 3b 00 20 20 20 20 6d 61 72 69 61 64 62 29 20 20 20 20 20 20 20 72 _postfix.;;.....mariadb).......r
ae80 65 73 74 6f 72 65 5f 6d 61 72 69 61 64 62 20 3b 3b 00 20 20 20 20 6e 67 69 6e 78 29 20 20 20 20 estore_mariadb.;;.....nginx)....
aea0 20 20 20 20 20 72 65 73 74 6f 72 65 5f 6e 67 69 6e 78 20 3b 3b 00 20 20 20 20 66 69 72 65 77 61 .....restore_nginx.;;.....firewa
aec0 6c 6c 29 20 20 20 20 20 20 72 65 73 74 6f 72 65 5f 66 69 72 65 77 61 6c 6c 20 3b 3b 00 20 20 20 ll)......restore_firewall.;;....
aee0 20 64 6e 73 29 20 20 20 20 20 20 20 20 20 20 20 72 65 73 74 6f 72 65 5f 64 6e 73 20 3b 3b 00 20 .dns)...........restore_dns.;;..
af00 20 20 20 6e 65 74 77 6f 72 6b 29 20 20 20 20 20 20 20 72 65 73 74 6f 72 65 5f 6e 65 74 77 6f 72 ...network).......restore_networ
af20 6b 20 3b 3b 00 20 20 20 20 73 73 68 29 20 20 20 20 20 20 20 20 20 20 20 72 65 73 74 6f 72 65 5f k.;;.....ssh)...........restore_
af40 73 73 68 20 3b 3b 00 20 20 20 20 75 73 65 72 73 29 20 20 20 20 20 20 20 20 20 72 65 73 74 6f 72 ssh.;;.....users).........restor
af60 65 5f 75 73 65 72 73 20 3b 3b 00 20 20 20 20 73 79 73 74 65 6d 2d 62 61 73 69 63 73 29 20 72 65 e_users.;;.....system-basics).re
af80 73 74 6f 72 65 5f 73 79 73 74 65 6d 5f 62 61 73 69 63 73 20 3b 3b 00 20 20 63 61 73 65 20 22 24 store_system_basics.;;...case."$
afa0 7b 63 61 74 65 67 6f 72 79 7d 22 20 69 6e 00 20 20 6c 6f 67 20 22 70 72 6f 63 65 73 73 69 6e 67 {category}".in...log."processing
afc0 20 63 61 74 65 67 6f 72 79 3a 20 24 7b 63 61 74 65 67 6f 72 79 7d 22 00 66 6f 72 20 63 61 74 65 .category:.${category}".for.cate
afe0 67 6f 72 79 20 69 6e 20 22 24 7b 43 41 54 45 47 4f 52 49 45 53 5b 40 5d 7d 22 3b 20 64 6f 00 00 gory.in."${CATEGORIES[@]}";.do..
b000 61 64 00 00 a8 05 00 00 a8 06 00 00 00 10 00 00 3a 00 00 00 00 00 00 00 ff 0f 00 00 ee 0f 00 00 ad..............:...............
b020 c8 0f 00 00 a2 0f 00 00 a1 0f 00 00 68 0f 00 00 07 0f 00 00 fa 0e 00 00 f5 0e 00 00 f4 0e 00 00 ............h...................
b040 b1 0e 00 00 7b 0e 00 00 4a 0e 00 00 49 0e 00 00 23 0e 00 00 ef 0d 00 00 ab 0d 00 00 67 0d 00 00 ....{...J...I...#...........g...
b060 5e 0d 00 00 3c 0d 00 00 03 0d 00 00 ba 0c 00 00 71 0c 00 00 68 0c 00 00 61 0c 00 00 60 0c 00 00 ^...<...........q...h...a...`...
b080 13 0c 00 00 ca 0b 00 00 c3 0b 00 00 6b 0b 00 00 66 0b 00 00 65 0b 00 00 18 0b 00 00 cc 0a 00 00 ............k...f...e...........
b0a0 90 0a 00 00 55 0a 00 00 54 0a 00 00 2c 0a 00 00 f2 09 00 00 a8 09 00 00 5e 09 00 00 53 09 00 00 ....U...T...,...........^...S...
b0c0 2b 09 00 00 ec 08 00 00 9d 08 00 00 4e 08 00 00 43 08 00 00 3a 08 00 00 39 08 00 00 e6 07 00 00 +...........N...C...:...9.......
b0e0 97 07 00 00 8e 07 00 00 30 07 00 00 29 07 00 00 22 07 00 00 af 06 00 00 aa 06 00 00 a8 06 00 00 ........0...)..."...............
b100 26 07 00 00 21 07 00 00 1f 07 00 00 1e 07 00 00 07 07 00 00 c8 06 00 00 61 06 00 00 54 06 00 00 &...!...................a...T...
b120 4f 06 00 00 4e 06 00 00 10 06 00 00 bd 05 00 00 7d 05 00 00 31 05 00 00 30 05 00 00 08 05 00 00 O...N...........}...1...0.......
b140 cc 04 00 00 80 04 00 00 34 04 00 00 29 04 00 00 ce 03 00 00 63 03 00 00 f8 02 00 00 ef 02 00 00 ........4...).......c...........
b160 ee 02 00 00 97 02 00 00 46 02 00 00 3d 02 00 00 db 01 00 00 d4 01 00 00 cf 01 00 00 ce 01 00 00 ........F...=...................
b180 88 01 00 00 00 00 00 00 20 20 69 66 20 5b 5b 20 2d 66 20 22 24 7b 50 55 42 4c 49 43 5f 44 49 52 ..........if.[[.-f."${PUBLIC_DIR
b1a0 7d 2f 70 72 6f 6d 65 74 68 65 75 73 2f 6e 6f 64 65 2d 65 78 70 6f 72 74 65 72 2d 64 65 66 61 75 }/prometheus/node-exporter-defau
b1c0 6c 74 73 22 20 5d 5d 3b 20 74 68 65 6e 00 00 20 20 66 69 00 20 20 20 20 66 69 00 20 20 20 20 20 lts".]];.then....fi.....fi......
b1e0 20 72 65 70 6f 72 74 20 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d 45 7d 22 20 22 6d 6f 6e 69 74 6f .report."${SCRIPT_NAME}"."monito
b200 72 69 6e 67 22 20 22 70 72 6f 6d 65 74 68 65 75 73 22 20 22 72 65 73 74 6f 72 65 22 20 22 73 6b ring"."prometheus"."restore"."sk
b220 69 70 70 65 64 22 20 22 6f 70 65 72 61 74 6f 72 20 73 6b 69 70 70 65 64 22 20 22 22 00 20 20 20 ipped"."operator.skipped".""....
b240 20 65 6c 73 65 00 20 20 20 20 20 20 20 20 22 6e 6f 72 6d 61 6c 69 7a 65 64 20 2f 65 74 63 2f 70 .else........."normalized./etc/p
b260 72 6f 6d 65 74 68 65 75 73 20 6f 77 6e 65 72 73 68 69 70 3d 72 6f 6f 74 3a 72 6f 6f 74 20 64 69 rometheus.ownership=root:root.di
b280 72 73 3d 30 37 35 35 20 66 69 6c 65 73 3d 30 36 34 34 22 20 22 22 00 20 20 20 20 20 20 72 65 70 rs=0755.files=0644"."".......rep
b2a0 6f 72 74 20 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d 45 7d 22 20 22 6d 6f 6e 69 74 6f 72 69 6e 67 ort."${SCRIPT_NAME}"."monitoring
b2c0 22 20 22 70 72 6f 6d 65 74 68 65 75 73 2d 6d 65 74 61 64 61 74 61 22 20 22 72 65 73 74 6f 72 65 "."prometheus-metadata"."restore
b2e0 22 20 22 63 68 61 6e 67 65 64 22 20 5c 00 00 20 20 20 20 20 20 66 69 00 20 20 20 20 20 20 20 20 "."changed".\........fi.........
b300 5b 5b 20 2d 64 20 2f 65 74 63 2f 70 72 6f 6d 65 74 68 65 75 73 20 5d 5d 20 26 26 20 66 69 6e 64 [[.-d./etc/prometheus.]].&&.find
b320 20 2f 65 74 63 2f 70 72 6f 6d 65 74 68 65 75 73 20 2d 74 79 70 65 20 66 20 2d 65 78 65 63 20 63 ./etc/prometheus.-type.f.-exec.c
b340 68 6d 6f 64 20 30 36 34 34 20 7b 7d 20 2b 20 32 3e 2f 64 65 76 2f 6e 75 6c 6c 20 7c 7c 20 74 72 hmod.0644.{}.+.2>/dev/null.||.tr
b360 75 65 00 20 20 20 20 20 20 20 20 5b 5b 20 2d 64 20 2f 65 74 63 2f 70 72 6f 6d 65 74 68 65 75 73 ue.........[[.-d./etc/prometheus
b380 20 5d 5d 20 26 26 20 66 69 6e 64 20 2f 65 74 63 2f 70 72 6f 6d 65 74 68 65 75 73 20 2d 74 79 70 .]].&&.find./etc/prometheus.-typ
b3a0 65 20 64 20 2d 65 78 65 63 20 63 68 6d 6f 64 20 30 37 35 35 20 7b 7d 20 2b 20 32 3e 2f 64 65 76 e.d.-exec.chmod.0755.{}.+.2>/dev
b3c0 2f 6e 75 6c 6c 20 7c 7c 20 74 72 75 65 00 20 20 20 20 20 20 20 20 5b 5b 20 2d 64 20 2f 65 74 63 /null.||.true.........[[.-d./etc
b3e0 2f 70 72 6f 6d 65 74 68 65 75 73 20 5d 5d 20 26 26 20 63 68 6f 77 6e 20 2d 52 20 72 6f 6f 74 3a /prometheus.]].&&.chown.-R.root:
b400 72 6f 6f 74 20 2f 65 74 63 2f 70 72 6f 6d 65 74 68 65 75 73 20 32 3e 2f 64 65 76 2f 6e 75 6c 6c root./etc/prometheus.2>/dev/null
b420 20 7c 7c 20 74 72 75 65 00 20 20 20 20 20 20 65 6c 73 65 00 20 20 20 20 20 20 20 20 70 72 69 6e .||.true.......else.........prin
b440 74 66 20 27 5b 64 72 79 5d 20 66 69 6e 64 20 2f 65 74 63 2f 70 72 6f 6d 65 74 68 65 75 73 20 2d tf.'[dry].find./etc/prometheus.-
b460 74 79 70 65 20 66 20 2d 65 78 65 63 20 63 68 6d 6f 64 20 30 36 34 34 20 7b 7d 20 2b 5c 6e 27 00 type.f.-exec.chmod.0644.{}.+\n'.
b480 20 20 20 20 20 20 20 20 70 72 69 6e 74 66 20 27 5b 64 72 79 5d 20 66 69 6e 64 20 2f 65 74 63 2f ........printf.'[dry].find./etc/
b4a0 70 72 6f 6d 65 74 68 65 75 73 20 2d 74 79 70 65 20 64 20 2d 65 78 65 63 20 63 68 6d 6f 64 20 30 prometheus.-type.d.-exec.chmod.0
b4c0 37 35 35 20 7b 7d 20 2b 5c 6e 27 00 20 20 20 20 20 20 20 20 70 72 69 6e 74 66 20 27 5b 64 72 79 755.{}.+\n'.........printf.'[dry
b4e0 5d 20 63 68 6f 77 6e 20 2d 52 20 72 6f 6f 74 3a 72 6f 6f 74 20 2f 65 74 63 2f 70 72 6f 6d 65 74 ].chown.-R.root:root./etc/promet
b500 68 65 75 73 5c 6e 27 00 20 20 20 20 20 20 69 66 20 5b 5b 20 24 7b 44 52 59 5f 52 55 4e 7d 20 3d heus\n'.......if.[[.${DRY_RUN}.=
b520 3d 20 74 72 75 65 20 5d 5d 3b 20 74 68 65 6e 00 00 20 20 20 20 20 20 20 20 22 24 7b 50 55 42 4c =.true.]];.then.........."${PUBL
b540 49 43 5f 44 49 52 7d 2f 70 72 6f 6d 65 74 68 65 75 73 2f 65 74 63 2d 70 72 6f 6d 65 74 68 65 75 IC_DIR}/prometheus/etc-prometheu
b560 73 22 20 22 2f 65 74 63 2f 70 72 6f 6d 65 74 68 65 75 73 22 20 7c 7c 20 74 72 75 65 00 20 20 20 s"."/etc/prometheus".||.true....
b580 20 20 20 72 65 73 74 6f 72 65 5f 70 61 74 68 20 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d 45 7d 22 ...restore_path."${SCRIPT_NAME}"
b5a0 20 22 6d 6f 6e 69 74 6f 72 69 6e 67 22 20 22 70 72 6f 6d 65 74 68 65 75 73 22 20 5c 00 20 20 20 ."monitoring"."prometheus".\....
b5c0 20 69 66 20 70 72 6f 6d 70 74 5f 79 65 73 5f 6e 6f 20 22 52 65 73 74 6f 72 65 20 6d 6f 6e 69 74 .if.prompt_yes_no."Restore.monit
b5e0 6f 72 69 6e 67 2f 70 72 6f 6d 65 74 68 65 75 73 20 2d 3e 20 2f 65 74 63 2f 70 72 6f 6d 65 74 68 oring/prometheus.->./etc/prometh
b600 65 75 73 3f 22 20 79 65 73 3b 20 74 68 65 6e 00 20 20 69 66 20 5b 5b 20 2d 64 20 22 24 7b 50 55 eus?".yes;.then...if.[[.-d."${PU
b620 42 4c 49 43 5f 44 49 52 7d 2f 70 72 6f 6d 65 74 68 65 75 73 2f 65 74 63 2d 70 72 6f 6d 65 74 68 BLIC_DIR}/prometheus/etc-prometh
b640 65 75 73 22 20 5d 5d 3b 20 74 68 65 6e 00 00 20 20 66 69 00 20 20 20 20 72 65 74 75 72 6e 20 30 eus".]];.then....fi.....return.0
b660 00 20 20 20 20 72 65 70 6f 72 74 20 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d 45 7d 22 20 22 6d 6f .....report."${SCRIPT_NAME}"."mo
b680 6e 69 74 6f 72 69 6e 67 22 20 22 63 61 74 65 67 6f 72 79 22 20 22 72 65 73 74 6f 72 65 22 20 22 nitoring"."category"."restore"."
b6a0 73 6b 69 70 70 65 64 7d 7d 00 20 20 66 69 00 20 20 20 20 72 65 70 6f 72 74 20 22 24 7b 53 43 52 skipped}}...fi.....report."${SCR
b6c0 49 50 54 5f 4e 41 4d 45 7d 22 20 22 69 32 70 64 22 20 22 69 64 65 6e 74 69 74 79 22 20 22 72 65 IPT_NAME}"."i2pd"."identity"."re
b6e0 73 74 6f 72 65 22 20 22 73 6b 69 70 70 65 64 22 20 22 69 32 70 64 20 70 72 69 76 61 74 65 20 64 store"."skipped"."i2pd.private.d
b700 61 74 61 20 6e 6f 74 20 72 65 73 74 6f 72 65 64 20 69 6e 20 74 68 69 73 20 72 6f 6c 65 22 20 22 ata.not.restored.in.this.role"."
b720 22 00 20 20 65 6c 73 65 00 20 20 20 20 66 69 00 20 20 20 20 20 20 72 65 70 6f 72 74 20 22 24 7b "...else.....fi.......report."${
b740 53 43 52 49 50 54 5f 4e 41 4d 45 7d 22 20 22 69 32 70 64 22 20 22 76 61 72 2d 6c 69 62 2d 69 32 SCRIPT_NAME}"."i2pd"."var-lib-i2
b760 70 64 22 20 22 72 65 73 74 6f 72 65 22 20 22 73 6b 69 70 70 65 64 22 20 22 6f 70 65 72 61 74 6f pd"."restore"."skipped"."operato
b780 72 20 73 6b 69 70 70 65 64 22 20 22 22 00 20 20 20 20 65 6c 73 65 00 20 20 20 20 20 20 20 20 22 r.skipped"."".....else........."
b7a0 6e 6f 72 6d 61 6c 69 7a 65 64 20 2f 76 61 72 2f 6c 69 62 2f 69 32 70 64 20 6f 77 6e 65 72 73 68 normalized./var/lib/i2pd.ownersh
b7c0 69 70 3d 69 32 70 64 3a 69 32 70 64 20 64 69 72 73 3d 30 37 30 30 20 66 69 6c 65 73 3d 30 36 30 ip=i2pd:i2pd.dirs=0700.files=060
b7e0 30 22 20 22 22 00 20 20 20 20 20 20 72 65 70 6f 72 74 20 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d 0"."".......report."${SCRIPT_NAM
b800 45 7d 22 20 22 69 32 70 64 22 20 22 76 61 72 2d 6c 69 62 2d 69 32 70 64 2d 6d 65 74 61 64 61 74 E}"."i2pd"."var-lib-i2pd-metadat
b820 61 22 20 22 72 65 73 74 6f 72 65 22 20 22 63 68 61 6e 67 65 64 22 20 5c 00 00 20 20 20 20 20 20 a"."restore"."changed".\........
b840 66 69 00 20 20 20 20 20 20 20 20 66 69 00 20 20 20 20 20 20 20 20 20 20 66 69 6e 64 20 2f 76 61 fi.........fi...........find./va
b860 72 2f 6c 69 62 2f 69 32 70 64 20 2d 74 79 70 65 20 66 20 2d 65 78 65 63 20 63 68 6d 6f 64 20 30 r/lib/i2pd.-type.f.-exec.chmod.0
b880 36 30 30 20 7b 7d 20 2b 20 32 3e 2f 64 65 76 2f 6e 75 6c 6c 20 7c 7c 20 74 72 75 65 00 20 20 20 600.{}.+.2>/dev/null.||.true....
b8a0 20 20 20 20 20 20 20 66 69 6e 64 20 2f 76 61 72 2f 6c 69 62 2f 69 32 70 64 20 2d 74 79 70 65 20 .......find./var/lib/i2pd.-type.
b8c0 64 20 2d 65 78 65 63 20 63 68 6d 6f 64 20 30 37 30 30 20 7b 7d 20 2b 20 32 3e 2f 64 65 76 2f 6e d.-exec.chmod.0700.{}.+.2>/dev/n
b8e0 75 6c 6c 20 7c 7c 20 74 72 75 65 00 20 20 20 20 20 20 20 20 20 20 63 68 6f 77 6e 20 2d 52 20 69 ull.||.true...........chown.-R.i
b900 32 70 64 3a 69 32 70 64 20 2f 76 61 72 2f 6c 69 62 2f 69 32 70 64 20 32 3e 2f 64 65 76 2f 6e 75 2pd:i2pd./var/lib/i2pd.2>/dev/nu
b920 6c 6c 20 7c 7c 20 74 72 75 65 00 20 20 20 20 20 20 20 20 69 66 20 5b 5b 20 2d 64 20 2f 76 61 72 ll.||.true.........if.[[.-d./var
b940 2f 6c 69 62 2f 69 32 70 64 20 5d 5d 3b 20 74 68 65 6e 00 20 20 20 20 20 20 65 6c 73 65 00 20 20 /lib/i2pd.]];.then.......else...
b960 20 20 20 20 20 20 70 72 69 6e 74 66 20 27 5b 64 72 79 5d 20 66 69 6e 64 20 2f 76 61 72 2f 6c 69 ......printf.'[dry].find./var/li
b980 62 2f 69 32 70 64 20 2d 74 79 70 65 20 66 20 2d 65 78 65 63 20 63 68 6d 6f 64 20 30 36 30 30 20 b/i2pd.-type.f.-exec.chmod.0600.
b9a0 7b 7d 20 2b 5c 6e 27 00 20 20 20 20 20 20 20 20 70 72 69 6e 74 66 20 27 5b 64 72 79 5d 20 66 69 {}.+\n'.........printf.'[dry].fi
b9c0 6e 64 20 2f 76 61 72 2f 6c 69 62 2f 69 32 70 64 20 2d 74 79 70 65 20 64 20 2d 65 78 65 63 20 63 nd./var/lib/i2pd.-type.d.-exec.c
b9e0 68 6d 6f 64 20 30 37 30 30 20 7b 7d 20 2b 5c 6e 27 00 20 20 20 20 20 20 20 20 70 72 69 6e 74 66 hmod.0700.{}.+\n'.........printf
ba00 20 27 5b 64 72 79 5d 20 63 68 6f 77 6e 20 2d 52 20 69 32 70 64 3a 69 32 70 64 20 2f 76 61 72 2f .'[dry].chown.-R.i2pd:i2pd./var/
ba20 6c 69 62 2f 69 32 70 64 5c 6e 27 00 20 20 20 20 20 20 69 66 20 5b 5b 20 24 7b 44 52 59 5f 52 55 lib/i2pd\n'.......if.[[.${DRY_RU
ba40 4e 7d 20 3d 3d 20 74 72 75 65 20 5d 5d 3b 20 74 68 65 6e 00 00 20 20 20 20 20 20 20 20 22 24 7b N}.==.true.]];.then.........."${
ba60 73 65 63 5f 62 61 73 65 7d 2f 76 61 72 2d 6c 69 62 2d 69 32 70 64 22 20 22 2f 76 61 72 2f 6c 69 sec_base}/var-lib-i2pd"."/var/li
ba80 62 2f 69 32 70 64 22 20 7c 7c 20 74 72 75 65 00 20 20 20 20 20 20 72 65 73 74 6f 72 65 5f 70 61 b/i2pd".||.true.......restore_pa
baa0 74 68 20 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d 45 7d 22 20 22 69 32 70 64 22 20 22 76 61 72 2d th."${SCRIPT_NAME}"."i2pd"."var-
bac0 6c 69 62 2d 69 32 70 64 22 20 5c 00 20 20 20 20 69 66 20 70 72 6f 6d 70 74 5f 79 65 73 5f 6e 6f lib-i2pd".\.....if.prompt_yes_no
bae0 20 22 52 65 73 74 6f 72 65 20 69 32 70 64 2f 76 61 72 2d 6c 69 62 2d 69 32 70 64 20 2d 3e 20 2f ."Restore.i2pd/var-lib-i2pd.->./
bb00 76 61 72 2f 6c 69 62 2f 69 32 70 64 3f 22 20 6e 6f 3b 20 74 68 65 6e 00 20 20 69 66 20 5b 5b 20 var/lib/i2pd?".no;.then...if.[[.
bb20 22 24 7b 52 4f 4c 45 7d 22 20 3d 3d 20 22 72 65 70 6c 61 63 65 6d 65 6e 74 22 20 26 26 20 2d 64 "${ROLE}".==."replacement".&&.-d
bb40 20 22 24 7b 73 65 63 5f 62 61 73 65 7d 2f 76 61 72 2d 6c 69 62 2d 69 32 70 64 22 20 5d 5d 3b 20 ."${sec_base}/var-lib-i2pd".]];.
bb60 74 68 65 6e 00 00 20 20 66 69 00 20 20 20 20 72 65 70 6f 72 74 20 22 24 7b 53 43 52 49 50 54 5f then....fi.....report."${SCRIPT_
bb80 4e 41 4d 45 7d 22 20 22 69 32 70 64 22 20 22 65 74 63 2d 69 32 70 64 22 20 22 72 65 73 74 6f 72 NAME}"."i2pd"."etc-i2pd"."restor
bba0 65 22 20 22 73 6b 69 70 70 65 64 22 20 22 6f 70 65 72 61 74 6f 72 20 73 6b 69 70 70 65 64 22 20 e"."skipped"."operator.skipped".
bbc0 22 22 00 20 20 65 6c 73 65 00 20 20 20 20 20 20 22 6e 6f 72 6d 61 6c 69 7a 65 64 20 2f 65 74 63 ""...else......."normalized./etc
bbe0 2f 69 32 70 64 20 6f 77 6e 65 72 73 68 69 70 3d 72 6f 6f 74 3a 72 6f 6f 74 20 64 69 72 73 3d 30 /i2pd.ownership=root:root.dirs=0
bc00 37 35 35 20 66 69 6c 65 73 3d 30 36 34 34 22 20 22 22 00 20 20 20 20 72 65 70 6f 72 74 20 22 24 755.files=0644"."".....report."$
bc20 7b 53 43 52 49 50 54 5f 4e 41 4d 45 7d 22 20 22 69 32 70 64 22 20 22 65 74 63 2d 69 32 70 64 2d {SCRIPT_NAME}"."i2pd"."etc-i2pd-
bc40 6d 65 74 61 64 61 74 61 22 20 22 72 65 73 74 6f 72 65 22 20 22 63 68 61 6e 67 65 64 22 20 5c 00 metadata"."restore"."changed".\.
bc60 00 20 20 20 20 66 69 00 20 20 20 20 20 20 66 69 00 20 20 20 20 20 20 20 20 66 69 6e 64 20 2f 65 .....fi.......fi.........find./e
bc80 74 63 2f 69 32 70 64 20 2d 74 79 70 65 20 66 20 2d 65 78 65 63 20 63 68 6d 6f 64 20 30 36 34 34 tc/i2pd.-type.f.-exec.chmod.0644
bca0 20 7b 7d 20 2b 20 32 3e 2f 64 65 76 2f 6e 75 6c 6c 20 7c 7c 20 74 72 75 65 00 20 20 20 20 20 20 .{}.+.2>/dev/null.||.true.......
bcc0 20 20 66 69 6e 64 20 2f 65 74 63 2f 69 32 70 64 20 2d 74 79 70 65 20 64 20 2d 65 78 65 63 20 63 ..find./etc/i2pd.-type.d.-exec.c
bce0 68 6d 6f 64 20 30 37 35 35 20 7b 7d 20 2b 20 32 3e 2f 64 65 76 2f 6e 75 6c 6c 20 7c 7c 20 74 72 hmod.0755.{}.+.2>/dev/null.||.tr
bd00 75 65 00 20 20 20 20 20 20 20 20 63 68 6f 77 6e 20 2d 52 20 72 6f 6f 74 3a 72 6f 6f 74 20 2f 65 ue.........chown.-R.root:root./e
bd20 74 63 2f 69 32 70 64 20 32 3e 2f 64 65 76 2f 6e 75 6c 6c 20 7c 7c 20 74 72 75 65 00 20 20 20 20 tc/i2pd.2>/dev/null.||.true.....
bd40 20 20 69 66 20 5b 5b 20 2d 64 20 2f 65 74 63 2f 69 32 70 64 20 5d 5d 3b 20 74 68 65 6e 00 20 20 ..if.[[.-d./etc/i2pd.]];.then...
bd60 20 20 65 6c 73 65 00 20 20 20 20 20 20 70 72 69 6e 74 66 20 27 5b 64 72 79 5d 20 66 69 6e 64 20 ..else.......printf.'[dry].find.
bd80 2f 65 74 63 2f 69 32 70 64 20 2d 74 79 70 65 20 66 20 2d 65 78 65 63 20 63 68 6d 6f 64 20 30 36 /etc/i2pd.-type.f.-exec.chmod.06
bda0 34 34 20 7b 7d 20 2b 5c 6e 27 00 20 20 20 20 20 20 70 72 69 6e 74 66 20 27 5b 64 72 79 5d 20 66 44.{}.+\n'.......printf.'[dry].f
bdc0 69 6e 64 20 2f 65 74 63 2f 69 32 70 64 20 2d 74 79 70 65 20 64 20 2d 65 78 65 63 20 63 68 6d 6f ind./etc/i2pd.-type.d.-exec.chmo
bde0 64 20 30 37 35 35 20 7b 7d 20 2b 5c 6e 27 00 20 20 20 20 20 20 70 72 69 6e 74 66 20 27 5b 64 72 d.0755.{}.+\n'.......printf.'[dr
be00 79 5d 20 63 68 6f 77 6e 20 2d 52 20 72 6f 6f 74 3a 72 6f 6f 74 20 2f 65 74 63 2f 69 32 70 64 5c y].chown.-R.root:root./etc/i2pd\
be20 6e 27 00 20 20 20 20 69 66 20 5b 5b 20 24 7b 44 52 59 5f 52 55 4e 7d 20 3d 3d 20 74 72 75 65 20 n'.....if.[[.${DRY_RUN}.==.true.
be40 5d 5d 3b 20 74 68 65 6e 00 00 20 20 20 20 20 20 22 24 7b 70 75 62 5f 62 61 73 65 7d 2f 65 74 63 ]];.then........"${pub_base}/etc
be60 2d 69 32 70 64 22 20 22 2f 65 74 63 2f 69 32 70 64 22 20 7c 7c 20 74 72 75 65 00 20 20 20 20 72 -i2pd"."/etc/i2pd".||.true.....r
be80 65 73 74 6f 72 65 5f 70 61 74 68 20 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d 45 7d 22 20 22 69 32 estore_path."${SCRIPT_NAME}"."i2
bea0 70 64 22 20 22 65 74 63 2d 69 32 70 64 22 20 5c 00 20 20 69 66 20 70 72 6f 6d 70 74 5f 79 65 73 pd"."etc-i2pd".\...if.prompt_yes
bec0 5f 6e 6f 20 22 52 65 73 74 6f 72 65 20 69 32 70 64 2f 65 74 63 2d 69 32 70 64 20 2d 3e 20 2f 65 _no."Restore.i2pd/etc-i2pd.->./e
bee0 74 63 2f 69 32 70 64 3f 22 20 79 65 73 3b 20 74 68 65 6e 00 00 20 20 66 69 00 20 20 20 20 72 65 tc/i2pd?".yes;.then....fi.....re
bf00 74 75 72 6e 20 30 00 20 20 20 20 72 65 70 6f 72 74 20 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d 45 turn.0.....report."${SCRIPT_NAME
bf20 7d 22 20 22 69 32 70 64 22 20 22 63 61 74 65 67 6f 72 79 22 20 22 72 65 73 74 6f 72 65 22 20 22 }"."i2pd"."category"."restore"."
bf40 73 6b 69 70 70 65 64 22 20 22 6f 70 65 72 61 74 6f 72 20 73 6b 69 70 70 65 64 20 63 61 74 65 67 skipped"."operator.skipped.categ
bf60 6f 72 79 22 20 22 22 00 20 20 69 66 20 21 20 70 72 6f 6d 70 74 5f 79 65 73 5f 6e 6f 20 22 52 65 ory".""...if.!.prompt_yes_no."Re
bf80 73 74 6f 72 65 20 63 61 74 65 67 6f 72 79 20 27 69 32 70 64 27 3f 22 20 6e 6f 3b 20 74 68 65 6e store.category.'i2pd'?".no;.then
bfa0 00 00 20 20 6c 6f 63 61 6c 20 73 65 63 5f 62 61 73 65 3d 22 24 7b 53 45 43 52 45 54 5f 44 49 52 ....local.sec_base="${SECRET_DIR
bfc0 7d 2f 69 32 70 64 22 00 20 20 6c 6f 63 61 6c 20 70 75 62 5f 62 61 73 65 3d 22 24 7b 50 55 42 4c }/i2pd"...local.pub_base="${PUBL
bfe0 49 43 5f 44 49 52 7d 2f 69 32 70 64 22 00 72 65 73 74 6f 72 65 5f 69 32 70 64 28 29 20 7b 00 00 IC_DIR}/i2pd".restore_i2pd().{..
c000 61 64 00 00 49 06 00 00 35 07 00 00 00 10 00 00 35 00 00 00 00 00 00 00 ff 0f 00 00 ec 0f 00 00 ad..I...5.......5...............
c020 c4 0f 00 00 9c 0f 00 00 9b 0f 00 00 60 0f 00 00 fd 0e 00 00 f0 0e 00 00 eb 0e 00 00 ea 0e 00 00 ............`...................
c040 94 0e 00 00 59 0e 00 00 1d 0e 00 00 00 0e 00 00 f9 0d 00 00 9c 0d 00 00 97 0d 00 00 96 0d 00 00 ....Y...........................
c060 67 0d 00 00 1f 0d 00 00 d3 0c 00 00 ce 0c 00 00 cc 0c 00 00 cb 0c 00 00 b4 0c 00 00 75 0c 00 00 g...........................u...
c080 0e 0c 00 00 01 0c 00 00 fc 0b 00 00 fb 0b 00 00 bd 0b 00 00 6a 0b 00 00 2a 0b 00 00 de 0a 00 00 ....................j...*.......
c0a0 dd 0a 00 00 b5 0a 00 00 79 0a 00 00 2d 0a 00 00 e1 09 00 00 d6 09 00 00 7b 09 00 00 10 09 00 00 ........y...-...........{.......
c0c0 a5 08 00 00 9c 08 00 00 9b 08 00 00 44 08 00 00 f3 07 00 00 ea 07 00 00 88 07 00 00 81 07 00 00 ............D...................
c0e0 7c 07 00 00 7b 07 00 00 35 07 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |...{...5.......................
c100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
c120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
c140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
c160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
c180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
c1a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
c1c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
c1e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
c200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
c220 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
c240 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
c260 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
c280 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
c2a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
c2c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
c2e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
c300 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
c320 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
c340 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
c360 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
c380 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
c3a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
c3c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
c3e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
c400 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
c420 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
c440 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
c460 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
c480 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
c4a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
c4c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
c4e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
c500 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
c520 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
c540 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
c560 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
c580 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
c5a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
c5c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
c5e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
c600 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
c620 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
c640 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
c660 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
c680 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
c6a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
c6c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
c6e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
c700 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................................
c720 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20 20 69 66 20 5b 5b 20 2d 66 20 .......................if.[[.-f.
c740 22 24 7b 50 55 42 4c 49 43 5f 44 49 52 7d 2f 70 72 6f 6d 65 74 68 65 75 73 2f 6e 6f 64 65 2d 65 "${PUBLIC_DIR}/prometheus/node-e
c760 78 70 6f 72 74 65 72 2d 64 65 66 61 75 6c 74 73 22 20 5d 5d 3b 20 74 68 65 6e 00 00 20 20 66 69 xporter-defaults".]];.then....fi
c780 00 20 20 20 20 66 69 00 20 20 20 20 20 20 72 65 70 6f 72 74 20 22 24 7b 53 43 52 49 50 54 5f 4e .....fi.......report."${SCRIPT_N
c7a0 41 4d 45 7d 22 20 22 6d 6f 6e 69 74 6f 72 69 6e 67 22 20 22 70 72 6f 6d 65 74 68 65 75 73 22 20 AME}"."monitoring"."prometheus".
c7c0 22 72 65 73 74 6f 72 65 22 20 22 73 6b 69 70 70 65 64 22 20 22 6f 70 65 72 61 74 6f 72 20 73 6b "restore"."skipped"."operator.sk
c7e0 69 70 70 65 64 22 20 22 22 00 20 20 20 20 65 6c 73 65 00 20 20 20 20 20 20 20 20 22 6e 6f 72 6d ipped"."".....else........."norm
c800 61 6c 69 7a 65 64 20 2f 65 74 63 2f 70 72 6f 6d 65 74 68 65 75 73 20 6f 77 6e 65 72 73 68 69 70 alized./etc/prometheus.ownership
c820 3d 72 6f 6f 74 3a 72 6f 6f 74 20 64 69 72 73 3d 30 37 35 35 20 66 69 6c 65 73 3d 30 36 34 34 22 =root:root.dirs=0755.files=0644"
c840 20 22 22 00 20 20 20 20 20 20 72 65 70 6f 72 74 20 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d 45 7d ."".......report."${SCRIPT_NAME}
c860 22 20 22 6d 6f 6e 69 74 6f 72 69 6e 67 22 20 22 70 72 6f 6d 65 74 68 65 75 73 2d 6d 65 74 61 64 "."monitoring"."prometheus-metad
c880 61 74 61 22 20 22 72 65 73 74 6f 72 65 22 20 22 63 68 61 6e 67 65 64 22 20 5c 00 00 20 20 20 20 ata"."restore"."changed".\......
c8a0 20 20 66 69 00 20 20 20 20 20 20 20 20 5b 5b 20 2d 64 20 2f 65 74 63 2f 70 72 6f 6d 65 74 68 65 ..fi.........[[.-d./etc/promethe
c8c0 75 73 20 5d 5d 20 26 26 20 66 69 6e 64 20 2f 65 74 63 2f 70 72 6f 6d 65 74 68 65 75 73 20 2d 74 us.]].&&.find./etc/prometheus.-t
c8e0 79 70 65 20 66 20 2d 65 78 65 63 20 63 68 6d 6f 64 20 30 36 34 34 20 7b 7d 20 2b 20 32 3e 2f 64 ype.f.-exec.chmod.0644.{}.+.2>/d
c900 65 76 2f 6e 75 6c 6c 20 7c 7c 20 74 72 75 65 00 20 20 20 20 20 20 20 20 5b 5b 20 2d 64 20 2f 65 ev/null.||.true.........[[.-d./e
c920 74 63 2f 70 72 6f 6d 65 74 68 65 75 73 20 5d 5d 20 26 26 20 66 69 6e 64 20 2f 65 74 63 2f 70 72 tc/prometheus.]].&&.find./etc/pr
c940 6f 6d 65 74 68 65 75 73 20 2d 74 79 70 65 20 64 20 2d 65 78 65 63 20 63 68 6d 6f 64 20 30 37 35 ometheus.-type.d.-exec.chmod.075
c960 35 20 7b 7d 20 2b 20 32 3e 2f 64 65 76 2f 6e 75 6c 6c 20 7c 7c 20 74 72 75 65 00 20 20 20 20 20 5.{}.+.2>/dev/null.||.true......
c980 20 20 20 5b 5b 20 2d 64 20 2f 65 74 63 2f 70 72 6f 6d 65 74 68 65 75 73 20 5d 5d 20 26 26 20 63 ...[[.-d./etc/prometheus.]].&&.c
c9a0 68 6f 77 6e 20 2d 52 20 72 6f 6f 74 3a 72 6f 6f 74 20 2f 65 74 63 2f 70 72 6f 6d 65 74 68 65 75 hown.-R.root:root./etc/prometheu
c9c0 73 20 32 3e 2f 64 65 76 2f 6e 75 6c 6c 20 7c 7c 20 74 72 75 65 00 20 20 20 20 20 20 65 6c 73 65 s.2>/dev/null.||.true.......else
c9e0 00 20 20 20 20 20 20 20 20 70 72 69 6e 74 66 20 27 5b 64 72 79 5d 20 66 69 6e 64 20 2f 65 74 63 .........printf.'[dry].find./etc
ca00 2f 70 72 6f 6d 65 74 68 65 75 73 20 2d 74 79 70 65 20 66 20 2d 65 78 65 63 20 63 68 6d 6f 64 20 /prometheus.-type.f.-exec.chmod.
ca20 30 36 34 34 20 7b 7d 20 2b 5c 6e 27 00 20 20 20 20 20 20 20 20 70 72 69 6e 74 66 20 27 5b 64 72 0644.{}.+\n'.........printf.'[dr
ca40 79 5d 20 66 69 6e 64 20 2f 65 74 63 2f 70 72 6f 6d 65 74 68 65 75 73 20 2d 74 79 70 65 20 64 20 y].find./etc/prometheus.-type.d.
ca60 2d 65 78 65 63 20 63 68 6d 6f 64 20 30 37 35 35 20 7b 7d 20 2b 5c 6e 27 00 20 20 20 20 20 20 20 -exec.chmod.0755.{}.+\n'........
ca80 20 70 72 69 6e 74 66 20 27 5b 64 72 79 5d 20 63 68 6f 77 6e 20 2d 52 20 72 6f 6f 74 3a 72 6f 6f .printf.'[dry].chown.-R.root:roo
caa0 74 20 2f 65 74 63 2f 70 72 6f 6d 65 74 68 65 75 73 5c 6e 27 00 20 20 20 20 20 20 69 66 20 5b 5b t./etc/prometheus\n'.......if.[[
cac0 20 24 7b 44 52 59 5f 52 55 4e 7d 20 3d 3d 20 74 72 75 65 20 5d 5d 3b 20 74 68 65 6e 00 00 20 20 .${DRY_RUN}.==.true.]];.then....
cae0 20 20 20 20 20 20 22 24 7b 50 55 42 4c 49 43 5f 44 49 52 7d 2f 70 72 6f 6d 65 74 68 65 75 73 2f ......"${PUBLIC_DIR}/prometheus/
cb00 65 74 63 2d 70 72 6f 6d 65 74 68 65 75 73 22 20 22 2f 65 74 63 2f 70 72 6f 6d 65 74 68 65 75 73 etc-prometheus"."/etc/prometheus
cb20 22 20 7c 7c 20 74 72 75 65 00 20 20 20 20 20 20 72 65 73 74 6f 72 65 5f 70 61 74 68 20 22 24 7b ".||.true.......restore_path."${
cb40 53 43 52 49 50 54 5f 4e 41 4d 45 7d 22 20 22 6d 6f 6e 69 74 6f 72 69 6e 67 22 20 22 70 72 6f 6d SCRIPT_NAME}"."monitoring"."prom
cb60 65 74 68 65 75 73 22 20 5c 00 20 20 20 20 69 66 20 70 72 6f 6d 70 74 5f 79 65 73 5f 6e 6f 20 22 etheus".\.....if.prompt_yes_no."
cb80 52 65 73 74 6f 72 65 20 6d 6f 6e 69 74 6f 72 69 6e 67 2f 70 72 6f 6d 65 74 68 65 75 73 20 2d 3e Restore.monitoring/prometheus.->
cba0 20 2f 65 74 63 2f 70 72 6f 6d 65 74 68 65 75 73 3f 22 20 79 65 73 3b 20 74 68 65 6e 00 20 20 69 ./etc/prometheus?".yes;.then...i
cbc0 66 20 5b 5b 20 2d 64 20 22 24 7b 50 55 42 4c 49 43 5f 44 49 52 7d 2f 70 72 6f 6d 65 74 68 65 75 f.[[.-d."${PUBLIC_DIR}/prometheu
cbe0 73 2f 65 74 63 2d 70 72 6f 6d 65 74 68 65 75 73 22 20 5d 5d 3b 20 74 68 65 6e 00 00 20 20 66 69 s/etc-prometheus".]];.then....fi
cc00 00 20 20 20 20 72 65 74 75 72 6e 20 30 00 20 20 20 20 72 65 70 6f 72 74 20 22 24 7b 53 43 52 49 .....return.0.....report."${SCRI
cc20 50 54 5f 4e 41 4d 45 7d 22 20 22 6d 6f 6e 69 74 6f 72 69 6e 67 22 20 22 63 61 74 65 67 6f 72 79 PT_NAME}"."monitoring"."category
cc40 22 20 22 72 65 73 74 6f 72 65 22 20 22 73 6b 69 70 70 65 64 22 20 22 6f 70 65 72 61 74 6f 72 20 "."restore"."skipped"."operator.
cc60 73 6b 69 70 70 65 64 20 63 61 74 65 67 6f 72 79 22 20 22 22 00 20 20 69 66 20 21 20 70 72 6f 6d skipped.category".""...if.!.prom
cc80 70 74 5f 79 65 73 5f 6e 6f 20 22 52 65 73 74 6f 72 65 20 63 61 74 65 67 6f 72 79 20 27 6d 6f 6e pt_yes_no."Restore.category.'mon
cca0 69 74 6f 72 69 6e 67 27 3f 22 20 6e 6f 3b 20 74 68 65 6e 00 72 65 73 74 6f 72 65 5f 6d 6f 6e 69 itoring'?".no;.then.restore_moni
ccc0 74 6f 72 69 6e 67 28 29 20 7b 00 00 7d 00 20 20 66 69 00 20 20 20 20 20 20 22 63 6f 6d 70 6f 73 toring().{..}...fi......."compos
cce0 65 20 66 69 6c 65 73 20 61 76 61 69 6c 61 62 6c 65 20 69 6e 20 73 65 63 72 65 74 20 44 42 3b 20 e.files.available.in.secret.DB;.
cd00 72 65 73 74 6f 72 65 20 6d 61 6e 75 61 6c 6c 79 20 70 65 72 20 73 74 61 63 6b 22 20 22 22 00 20 restore.manually.per.stack".""..
cd20 20 20 20 72 65 70 6f 72 74 20 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d 45 7d 22 20 22 64 6f 63 6b ...report."${SCRIPT_NAME}"."dock
cd40 65 72 22 20 22 63 6f 6d 70 6f 73 65 2d 66 75 6c 6c 22 20 22 6d 61 6e 75 61 6c 22 20 22 6d 61 6e er"."compose-full"."manual"."man
cd60 75 61 6c 22 20 5c 00 20 20 69 66 20 5b 5b 20 2d 64 20 22 24 7b 73 65 63 5f 62 61 73 65 7d 2f 63 ual".\...if.[[.-d."${sec_base}/c
cd80 6f 6d 70 6f 73 65 2d 66 75 6c 6c 22 20 5d 5d 3b 20 74 68 65 6e 00 00 20 20 66 69 00 20 20 20 20 ompose-full".]];.then....fi.....
cda0 72 65 70 6f 72 74 20 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d 45 7d 22 20 22 64 6f 63 6b 65 72 22 report."${SCRIPT_NAME}"."docker"
cdc0 20 22 64 61 65 6d 6f 6e 2e 6a 73 6f 6e 22 20 22 72 65 73 74 6f 72 65 22 20 22 73 6b 69 70 70 65 ."daemon.json"."restore"."skippe
cde0 64 22 20 22 6f 70 65 72 61 74 6f 72 20 73 6b 69 70 70 65 64 22 20 22 22 00 20 20 65 6c 73 65 00 d"."operator.skipped".""...else.
ce00 20 20 20 20 20 20 30 36 34 34 20 72 6f 6f 74 20 72 6f 6f 74 20 7c 7c 20 74 72 75 65 00 20 20 20 ......0644.root.root.||.true....
ce20 20 20 20 22 24 7b 70 75 62 5f 62 61 73 65 7d 2f 64 61 65 6d 6f 6e 2e 6a 73 6f 6e 22 20 22 2f 65 ..."${pub_base}/daemon.json"."/e
ce40 74 63 2f 64 6f 63 6b 65 72 2f 64 61 65 6d 6f 6e 2e 6a 73 6f 6e 22 20 5c 00 20 20 20 20 72 65 73 tc/docker/daemon.json".\.....res
ce60 74 6f 72 65 5f 70 61 74 68 20 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d 45 7d 22 20 22 64 6f 63 6b tore_path."${SCRIPT_NAME}"."dock
ce80 65 72 22 20 22 64 61 65 6d 6f 6e 2e 6a 73 6f 6e 22 20 5c 00 20 20 69 66 20 70 72 6f 6d 70 74 5f er"."daemon.json".\...if.prompt_
cea0 79 65 73 5f 6e 6f 20 22 52 65 73 74 6f 72 65 20 64 6f 63 6b 65 72 2f 64 61 65 6d 6f 6e 2e 6a 73 yes_no."Restore.docker/daemon.js
cec0 6f 6e 20 2d 3e 20 2f 65 74 63 2f 64 6f 63 6b 65 72 2f 64 61 65 6d 6f 6e 2e 6a 73 6f 6e 3f 22 20 on.->./etc/docker/daemon.json?".
cee0 79 65 73 3b 20 74 68 65 6e 00 00 20 20 66 69 00 20 20 20 20 72 65 74 75 72 6e 20 30 00 20 20 20 yes;.then....fi.....return.0....
cf00 20 72 65 70 6f 72 74 20 22 24 7b 53 43 52 49 50 54 5f 4e 41 4d 45 7d 22 20 22 64 6f 63 6b 65 72 .report."${SCRIPT_NAME}"."docker
cf20 22 20 22 63 61 74 65 67 6f 72 79 22 20 22 72 65 73 74 6f 72 65 22 20 22 73 6b 69 70 70 65 64 22 "."category"."restore"."skipped"
cf40 20 22 6f 70 65 72 61 74 6f 72 20 73 6b 69 70 70 65 64 20 63 61 74 65 67 6f 72 79 22 20 22 22 00 ."operator.skipped.category"."".
cf60 20 20 69 66 20 21 20 70 72 6f 6d 70 74 5f 79 65 73 5f 6e 6f 20 22 52 65 73 74 6f 72 65 20 63 61 ..if.!.prompt_yes_no."Restore.ca
cf80 74 65 67 6f 72 79 20 27 64 6f 63 6b 65 72 27 3f 22 20 6e 6f 3b 20 74 68 65 6e 00 00 20 20 6c 6f tegory.'docker'?".no;.then....lo
cfa0 63 61 6c 20 73 65 63 5f 62 61 73 65 3d 22 24 7b 53 45 43 52 45 54 5f 44 49 52 7d 2f 64 6f 63 6b cal.sec_base="${SECRET_DIR}/dock
cfc0 65 72 22 00 20 20 6c 6f 63 61 6c 20 70 75 62 5f 62 61 73 65 3d 22 24 7b 50 55 42 4c 49 43 5f 44 er"...local.pub_base="${PUBLIC_D
cfe0 49 52 7d 2f 64 6f 63 6b 65 72 22 00 72 65 73 74 6f 72 65 5f 64 6f 63 6b 65 72 28 29 20 7b 00 00 IR}/docker".restore_docker().{..