madmac wrote:
Hi List,
looking at modifying the backup and restore scripts, to allow me to backup, then scp the tar file to my backup server, then run a cron job to do the restore . Always having a replacement server ready.

However I continually run into the problem asking for the mysql password.
Any programmers out there who can tell me where to modify the restore script please.


Thanks



Change:
read -p "Please enter your MySQL Root password: " mysqlrootpass

to
#read -p "Please enter your MySQL Root password: " mysqlrootpass
mysqlrootpass=your_password

--
-Eric 'shubes'


---------------------------------------------------------------------------------
                Managed Qmailtoaster servers are now available
      Visit http://qmailtoaster.com/QMTManaged.html to order yours today!

Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)

    Please visit qmailtoaster.com for the latest news, updates, and packages.


         To unsubscribe, e-mail: [email protected]
        For additional commands, e-mail: [email protected]


Reply via email to