mysql -u yourusername -p "password" myfile_db <
/home/ftpadmin/pub/myfile_db.backup

Don wrote:
> 
> Hi,
> 
> I have a cron script that issues a:
> 
> mysqldump --opt -p  myfile_db  /home/ftpadmin/pub/myfile_db.backup
> 
> Now, I wish to do the opposite, that is, restore it into my database.  After
> issuing a:
> 
> mysql -p
> 
> and entering the password, what command do I enter to restore my database
> from the backup file?
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
Francis Fillion, BAA SI
Broadcasting live from his linux box.
And the maintainer of http://www.windplanet.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to