Jump to content

PHPMyAdmin - How do I export just table structure


unrelenting

Recommended Posts

I have a huge database (over 300 megs). I backed it up but I did it wrong because when I set up my new one on a different server bigdump won't add the data because the tables don't exist. I used SMF built in backup method and apparently it didn't write the table structure into it. So is there a way I can just dump the structure of this database in PHPMyAdmin and just install it on my new server and then import the massive backup? I hope this makes since?

Link to comment
Share on other sites

My massive database dump, for the second time, contains a duplicate line and errors out using bigdump.php or SSH. This is a 3 hours process to download a new one and upload it the the new database. I can't even edit the file manually because it is too large to open in a text editor. Is there a way to get this thing installed as is?

 

Ideas?

Link to comment
Share on other sites

what type of system are you using? windows? linux? hopefully linux!

 

you can use the mysql dump

 

this is the link to it and all variables.

http://dev.mysql.com/doc/refman/5.1/en/mysqldump.html

 

it's easier to use then phpmyadmin and you can add it to a cron job to do your back ups for you.

 

i suggest createing a new bkup using mysqldump then load it into the database the link provided will have all the needed variables for this method.

Link to comment
Share on other sites

"what type of system are you using? windows? linux? hopefully linux!

 

you can use the mysql dump"

 

 

Why did you ask if he was using linux?

 

 

Was it so he can use cron?  There are of course cron alternatives on Windows, and, if you want to play the "When did I say it wasn't?" game... when did he say he wanted to run it more than once?

Link to comment
Share on other sites

lol.....

 

if you refer to unrelenting last posted unrelenting said that one of the backups was to memory consumming and still errored out.

 

well second time as in plural. asumming using proper english would mean more then one.

 

yes there are multiple ways of creating a backup and putting it on a schedule.

 

but any who next subject.

 

since you have time to question my responses to this post; can you question and possibly help me on this one that i posted topic: mysql insert loop

 

thanks in advance 

Link to comment
Share on other sites

"if you refer to unrelenting last posted unrelenting said that one of the backups was to memory consumming and still errored out.

 

well second time as in plural. asumming using proper english would mean more then one."

 

Second time as in second time he tried it because the first time it didn't work.  Not second time he had it scheduled.

 

 

 

 

@unrelenting:

 

 

Unless you have data already in the tables that would cause errors, INSERT should work fine x.x.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.