Unix Technical Forum

backup only structure of tables

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


Go Back   Unix Technical Forum > Database Server Software > MySQL

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008, 05:09 PM
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-17-2008, 05:09 PM
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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-17-2008, 05:09 PM
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.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-17-2008, 05:09 PM
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.
>
>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:50 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com