Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

backing up and restoring DB: alternatives

Asked Modified Viewed 1,498 times
H
hen3ry
H
hen3ry 10
  • Member, joined since
  • Contributed 53 posts on the community forums.
  • Started 25 threads in the forums
  • Started this discussions
asked
Member

Folks:

I can see that the 7.x admin panel --> System Admin --> Database Backup provides for DB backup and restore, as it should and that's probably sufficient for most uses.

But just in case, I'd like to explore alternatives. I think there are two other ways of backing up and restoring DBs, one by using a command shell on the web server and the commands, broadly

mysqldump > dumpfile.sql

to dump and

sql < dumpfile.sql

to restore.

The second alternative is to use commands in phpMyAdmin, assuming of course this utility is available on the webserver.


Here is my question: What exact commands will produce equivalent results using "mysqldump" and "mysql" and phpMyAdmin, such that a database dump produced by one of these three methods can be restored by the other two, interchangeably?

TIA,

hen3ry
0 replies
There are no post found.

Labels

None yet

Statistics

  • Views 0 views
  • Posts 0 posts
  • Votes 0 votes
  • Topic users 1 member

1 participant

H
H
hen3ry 10
  • Member, joined since
  • Contributed 53 posts on the community forums.
  • Started 25 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet