Help - Search - Members - Calendar
Full Version: Shell Scripting
BleepingComputer.com > Operating Systems > Linux & Unix
   
forrestmage
I don't know shell scripting but I would like to script the backup so that my sql database password is not in the crontab file. This is what I'm running in crontab
mkdir /backups/daily_`date --iso-8601` && mysqldump --tab=/backups/daily_`date --iso-8601` database -u **** -p******

fyi, I have Gutsy Gibbon server

thanks, aaron
raw
Here's a good thread about that:
http://www.webhostingtalk.com/archive/inde...p/t-467630.html
forrestmage
Thanks for the link, I was able to figure it out! smile.gif Nothing fancy, but it works smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.