Live backup of 216 on 247 (zareian-pg216-* units, Postgres 16 tools in our dir, SCRAM hash only on 216), backup scripts take PGB_ROOT/PGB_BIN/PGB_PORT with 249 defaults, anti-bot layers documented
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
11
ops/pgbackup/zareian-pg216-basebackup.service
Normal file
11
ops/pgbackup/zareian-pg216-basebackup.service
Normal file
@@ -0,0 +1,11 @@
|
||||
# روی سرورِ بکاپ (۲۴۷). نسخهی کاملِ روزانه از ۲۱۶؛ همان basebackup.sh با مسیر و پورتِ ۲۱۶.
|
||||
[Unit]
|
||||
Description=Zareian MathApp: daily base backup from 216
|
||||
Requires=zareian-pg216-tunnel.service
|
||||
After=zareian-pg216-tunnel.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
User=administrator
|
||||
Environment=PGB_ROOT=/home/administrator/zareian-pgbackup-216 PGB_BIN=/home/administrator/zareian-pgbackup-216/pg16/root/usr/lib/postgresql/16/bin PGB_PORT=15441 LD_LIBRARY_PATH=/home/administrator/zareian-pgbackup-216/pg16/root/usr/lib/x86_64-linux-gnu
|
||||
ExecStart=/home/administrator/zareian-pgbackup-216/bin/basebackup.sh
|
||||
Reference in New Issue
Block a user