--- badi/public_scripts/db_backup/dbs.example 2011/07/18 12:19:20 1.1 +++ badi/public_scripts/db_backup/dbs.example 2012/09/06 19:35:15 1.2 @@ -1,16 +1,17 @@ -# db_backup List of databases to backup/ password file +# db_backup: List of databases to backup/ password file # Please do not expose this file to the public! # for better performance mix source hosts # This file contains all dbs you want to backup with db_backup. -# Put one db on each line. +# Put one db and its connection parameters on one line. # use the follwing form: -# database host : database type : database name : username : password +# [:] : : : [ : ] # # "database type" is either mysql or postgresql +# The field separator is , not just a colon. -dbserver.mydomain.example : mysql : foo : backup_dbuser : *very-secret* +dbserver.mydomain.example:13306 : mysql : foo : backup_dbuser : *very-secret* dbserver2.mydomain.example : postgresql : bar : backup_dbuser : *very-secret*