Search
j0ke.net Open Build Service
>
Projects
>
server:backup
>
automysqlbackup
> automysqlbackup.sh.multihost_per_environment.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File automysqlbackup.sh.multihost_per_environment.patch of Package automysqlbackup (Revision 8)
Currently displaying revision
8
,
show latest
--- automysqlbackup.sh.2.5.orig 2009-06-26 14:18:40.000000000 +0200 +++ automysqlbackup.sh.2.5 2009-06-26 14:18:26.000000000 +0200 @@ -25,19 +25,19 @@ #===================================================================== # Username to access the MySQL server e.g. dbuser -USERNAME=dbuser +USERNAME=`echo ${USERNAME:=dbuser}` # Username to access the MySQL server e.g. password -PASSWORD=password +PASSWORD=`echo ${PASSWORD:=password}` # Host name (or IP address) of MySQL server e.g localhost -DBHOST=localhost +DBHOST=`echo ${DBHOST:=localhost}` # List of DBNAMES for Daily/Weekly Backup e.g. "DB1 DB2 DB3" -DBNAMES="DB1 DB2 DB3" +DBNAMES=`echo ${DBNAMES:="DB1 DB2 DB3"}` # Backup directory location e.g /backups -BACKUPDIR="/backups" +BACKUPDIR=`echo ${BACKUPDIR:="/backup/mysql/${DBHOST}"}` # Mail setup # What would you like to be mailed to you? @@ -62,7 +62,7 @@ MDBNAMES="mysql $DBNAMES" # List of DBNAMES to EXLUCDE if DBNAMES are set to all (must be in " quotes) -DBEXCLUDE="" +DBEXCLUDE=`echo ${DBEXCLUDE:=""}` # Include CREATE DATABASE in backup? CREATE_DATABASE=yes