Fix missing Mastodon/PosgreSQL backups

The backup cookbook was incomplete, and also there was no database
configured to be backed up.
This commit is contained in:
2018-09-08 12:54:51 +08:00
parent 214e69427e
commit 4bccf4dd88
4 changed files with 22 additions and 12 deletions

View File

@@ -26,6 +26,11 @@ set_unless["backup"]["mysql"]["databases"] = []
set_unless["backup"]["mysql"]["username"] = "root"
set_unless["backup"]["mysql"]["host"] = "localhost"
# PostgreSQL default settings
set_unless["backup"]["postgresql"]["databases"] = []
set_unless["backup"]["postgresql"]["host"] = "localhost"
set_unless["backup"]["postgresql"]["port"] = 5432
# Redis default settings
set_unless["backup"]["redis"]["databases"] = []
set_unless["backup"]["redis"]["host"] = "localhost"