Changeset 2261

Show
Ignore:
Timestamp:
07/10/08 23:40:03 (3 months ago)
Author:
anarcat
Message:

port to 0.9.8: mysql information is not in local.sh anymore

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • alternc/trunk/src/sqlbackup.sh

    r2259 r2261  
    404404# the "<< EOF" mean send data to the command until EOF (end of file) 
    405405# 
    406 debug /usr/bin/mysql -h"$MYSQL_HOST" -u"$MYSQL_USER" -p"XXXX" "$MYSQL_DATABASE" -B  
    407 /usr/bin/mysql -h"$MYSQL_HOST" -u"$MYSQL_USER" -p"$MYSQL_PASS" \ 
    408 "$MYSQL_DATABASE" --batch << EOF | tail -n '+2' | dobck 
     406debug /usr/bin/mysql --defaults-file=/etc/alternc/my.cnf --batch 
     407/usr/bin/mysql --defaults-file=/etc/alternc/my.cnf --batch << EOF | tail -n '+2' | dobck 
    409408SELECT login, pass, db, bck_history, bck_gzip, bck_dir 
    410409  FROM db