Re: Restoring a backup
| From: | Francis Fillion | Date: | Thu, 19 Jul 2001 16:43:19 +0000 |
| Subject: | Re: Restoring a backup | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-58739@lists.php.net to get a copy of this message | ||
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: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
--
Francis Fillion, BAA SI
Broadcasting live from his linux box.
And the maintainer of http://www.windplanet.com