From 891acf4aef196ca722fc2d1a33091620a4089b37 Mon Sep 17 00:00:00 2001 From: Quentin Duchemin <quentinduchemin@tuta.io> Date: Thu, 30 Jan 2020 19:39:39 +0100 Subject: [PATCH] [DBBackup] Fix JSON formatting --- pica-db-backup/config/backup_config.json | 67 +++++++++++------------- 1 file changed, 32 insertions(+), 35 deletions(-) diff --git a/pica-db-backup/config/backup_config.json b/pica-db-backup/config/backup_config.json index dd627cd5..b053a4de 100644 --- a/pica-db-backup/config/backup_config.json +++ b/pica-db-backup/config/backup_config.json @@ -1,37 +1,34 @@ { - "mattermost": - { - "Host": "mattermost-db", - "Port": "5432", - "User": "MATTERMOST_DB_USER", - "Password": "MATTERMOST_DB_PASSWORD", - "Database": "mattermost", - "Type": "postgres", - "Folder": "mattermost", - "Cron" : "0 * * * *", - "Init-Backup" : "1", - }, - "etherpad": - { - "Host": "etherpad-db", - "Port": "3306", - "User": "ETHERPAD_DB_USER", - "Password": "ETHERPAD_DB_PASSWORD", - "Database": "--all-databases", - "Type": "mysql", - "Folder": "etherpad", - "Cron" : "0 */6 * * *", - "Options" : "--single-transaction", - "Init-Backup" : "1", - }, - "wekan": - { - "Host": "wekan-db", - "Port": "27017", - "Database": "wekan", - "Type": "mongo", - "Folder": "wekan", - "Cron" : "0 */12 * * *", - "Init-Backup" : "1", - } + "mattermost": { + "Host": "mattermost-db", + "Port": "5432", + "User": "MATTERMOST_DB_USER", + "Password": "MATTERMOST_DB_PASSWORD", + "Database": "mattermost", + "Type": "postgres", + "Folder": "mattermost", + "Cron": "0 * * * *", + "Init-Backup": "1" + }, + "etherpad": { + "Host": "etherpad-db", + "Port": "3306", + "User": "ETHERPAD_DB_USER", + "Password": "ETHERPAD_DB_PASSWORD", + "Database": "--all-databases", + "Type": "mysql", + "Folder": "etherpad", + "Cron": "0 */6 * * *", + "Options": "--single-transaction", + "Init-Backup": "1" + }, + "wekan": { + "Host": "wekan-db", + "Port": "27017", + "Database": "wekan", + "Type": "mongo", + "Folder": "wekan", + "Cron": "0 */12 * * *", + "Init-Backup": "1" + } } -- GitLab