Compare commits

...

2 Commits

Author SHA1 Message Date
d8acd0a697 fix db vars 2022-04-16 22:59:06 +02:00
67e0f3cc1b fix basecommand shittery 2022-04-16 21:48:40 +02:00
3 changed files with 16 additions and 0 deletions

View File

@ -6,6 +6,7 @@ backup:
host: backup.stargate.internal host: backup.stargate.internal
internal: true internal: true
prearecommand: "" prearecommand: ""
basedir: /mnt/backupstore
firewall: firewall:
- port: "2222" - port: "2222"
proto: tcp proto: tcp

View File

@ -3,4 +3,11 @@ firewall:
- port: "3306" - port: "3306"
proto: tcp proto: tcp
interface: "eth0" interface: "eth0"
backup:
folder: "/var/lib/mysql/backup"
tarfolder: "backup"
host: backup.stargate.internal
internal: true
prearecommand: "time ( mysqldump --all-databases --single-transaction --quick --lock-tables=false > /var/lib/mysql/backup/mysqldump.sql"
basedir: /mnt/backupstore
... ...

View File

@ -1,6 +1,14 @@
--- ---
servicename: postgres
firewall: firewall:
- port: "5432" - port: "5432"
proto: tcp proto: tcp
interface: "eth0" interface: "eth0"
backup:
folder: "/var/lib/postgresql/backup"
tarfolder: "backup"
host: backup.stargate.internal
internal: true
prearecommand: "time ( sudo -u postgres pg_dumpall > /var/lib/postgresql/backup/postgres.sql )"
basedir: /mnt/backupstore
... ...