script ve notlar

This commit is contained in:
2026-02-11 18:12:24 +03:00
parent eacfacb13b
commit 051c456d56
2 changed files with 24 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
#!/bin/bash
rsync -azP /opt/baggib2b/ root@46.224.33.150:/opt/b2b --delete
cd /tmp && sudo -u postgres pg_dump baggib2b -Fc > /tmp/baggib2b.backup
scp /tmp/baggib2b.backup root@46.224.33.150:/tmp/