Compare commits
2 Commits
5d2d1be654
...
d8acd0a697
Author | SHA1 | Date | |
---|---|---|---|
d8acd0a697 | |||
67e0f3cc1b |
@ -6,6 +6,7 @@ backup:
|
||||
host: backup.stargate.internal
|
||||
internal: true
|
||||
prearecommand: ""
|
||||
basedir: /mnt/backupstore
|
||||
firewall:
|
||||
- port: "2222"
|
||||
proto: tcp
|
||||
|
@ -3,4 +3,11 @@ firewall:
|
||||
- port: "3306"
|
||||
proto: tcp
|
||||
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
|
||||
...
|
||||
|
@ -1,6 +1,14 @@
|
||||
---
|
||||
servicename: postgres
|
||||
firewall:
|
||||
- port: "5432"
|
||||
proto: tcp
|
||||
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
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user