diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2010-04-27 02:31:46 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2010-04-27 02:51:20 +0200 |
commit | c5d3f3ca23bf4199db7432855c1e960051a445c7 (patch) | |
tree | 138e5676ccb4e0240eb2e0adfde278c197cf6d2f /mysql/mysql_backup.sh | |
parent | acf151887dadf21aac804b641187f6f497e30f41 (diff) | |
download | backup-master.tar.gz backup-master.tar.xz backup-master.zip |
Diffstat (limited to 'mysql/mysql_backup.sh')
-rwxr-xr-x | mysql/mysql_backup.sh | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/mysql/mysql_backup.sh b/mysql/mysql_backup.sh index 2110b14..b48f3f6 100755 --- a/mysql/mysql_backup.sh +++ b/mysql/mysql_backup.sh @@ -2,6 +2,8 @@ # this script will backup all mysql databases from the server to a ftp # server +source $(dirname $0)/ftp.settings + # mysql server informations MYSQL_SERVER="localhost" MYSQL_USER="backup" @@ -11,15 +13,6 @@ MYSQL_PASSWORD="password" # TODO #MYSQL_EXCLUDE_DB="" -# ftp server data -FTP_SERVER="backup" -FTP_USER="ftp" -FTP_PASSWORD="password" - -# target directory on the ftp (if no / at the beginning, relativ to -# the first directory after login) -FTP_TARGET="mysql" - # temporary directory TMP_DIRECTORY="/tmp" |