backup only structure of tables

This is a discussion on backup only structure of tables within the MySQL Database forums, part of the Database Forums category; Hello all, Is there a simple way to backup only the structure of the database. If I now run a ...


Go Back   Usenet Forums > Database Forums > MySQL Database

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-16-2008
jkuiper
 
Posts: n/a
Default backup only structure of tables

Hello all,

Is there a simple way to backup only the structure of the database.
If I now run a backup, the data is also backuped.

Regards,
John Kuiper
Reply With Quote
  #2 (permalink)  
Old 04-16-2008
Captain Paralytic
 
Posts: n/a
Default Re: backup only structure of tables

On 16 Apr, 14:01, jkuiper <jkui...@thematec.nl> wrote:
> Hello all,
>
> Is there a simple way to backup only the structure of the database.

I think so

> If I now run a backup, the data is also backuped.

I guess that totally depends on how you are actually doing he backup

Reply With Quote
  #3 (permalink)  
Old 04-16-2008
Gordon Burditt
 
Posts: n/a
Default Re: backup only structure of tables

>Is there a simple way to backup only the structure of the database.
>If I now run a backup, the data is also backuped.


mysqldump -d (or --no-data) omits the data.


Reply With Quote
  #4 (permalink)  
Old 04-17-2008
jkuiper
 
Posts: n/a
Default Re: backup only structure of tables

Thanks, that was exactly what I needed.

John

Gordon Burditt wrote:
>> Is there a simple way to backup only the structure of the database.
>> If I now run a backup, the data is also backuped.

>
> mysqldump -d (or --no-data) omits the data.
>
>

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:58 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0