Indy
Wed 14th Jan '04, 3:13pm
OK, this may be a stupid question, but....
I want to dump my db, then import it again with a new db name. Obviously so that I can test my upgrade to vB3 before hand, etc.
Let's say that I dump a db named "forumdb"
By using this command: mysql testforumdb < backup-file.sql should I expect to see two db's, one called "forumdb" and one called "testforumdb"?
Secondary question: Isn't it recommended to disable the forums while a dump is taking place? If so, then setting up a cron job to dump your db would not seem feasable. Would you agree?
Thanks!
Dan
I want to dump my db, then import it again with a new db name. Obviously so that I can test my upgrade to vB3 before hand, etc.
Let's say that I dump a db named "forumdb"
By using this command: mysql testforumdb < backup-file.sql should I expect to see two db's, one called "forumdb" and one called "testforumdb"?
Secondary question: Isn't it recommended to disable the forums while a dump is taking place? If so, then setting up a cron job to dump your db would not seem feasable. Would you agree?
Thanks!
Dan