Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dump DB and Restore DB

Status
Not open for further replies.

taneujin

MIS
Aug 14, 2001
61
0
0
SG
Sorry for such a newbie question.

I would like to write a cron job where it will stop the DB (eg:Test) then dump the DB to a file in a specified location. But I do not know how to. Some checking criterias are that the DB has to be stopped before dumping and that the DB be started up again after the dump.

Also, what is the command line to import the dump to the DB again?

Thanks for your help!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top