Friday, August 1, 2008

MySQL backup script

I just basically run this script on a cron job every night.


#! /bin/bash
BACKUPDATE=$(date +%Y%m%d).sql.gz
echo "Start backup SMFSG"
mysqldump -u username -ppassword dbname | gzip -v9 > /destfolder/smfsg$BACKUPDATE

4 comments:

brucewayne said...

When does registration resume?

kuc1n993m0k said...

hi fujiko i dont know where to ask since i was banned.

this is the message that i just got from the site.

Sorry kucingneko, you are banned from using this forum!

I dont know why this happened to me?

Anonymous said...

Hi Fujiko, I can't believe yu had to switch domains, weak sauce! Well being the lazy guy I am I had my password on remeber and never wrote it down, so I can't log back in and the "forgot password feature doesn't seem to want to send me a new password. please help, my handle is thisguy. Thanks

Marenda said...

Good words.