User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

mysql [2009/02/10 12:03]
kkeane created
mysql [2010/01/12 22:12] (current)
wilagobler Changed redirect from append >> to truncate >. Append creates infinitely growing files that will eventually use all disk space.
Line 62: Line 62:
      echo "​Backing up $db into $BACKUPFILE"​      echo "​Backing up $db into $BACKUPFILE"​
-     /​usr/​bin/​mysqldump --defaults-extra-file=/​root/​.my.cnf $db >> $BACKUPFILE+     /​usr/​bin/​mysqldump --defaults-extra-file=/​root/​.my.cnf $db > $BACKUPFILE
   done   done
mysql.1234267392.txt.gz ยท Last modified: 2009/02/10 12:03 by kkeane