Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 Backing up just table structures, not the data too

Author  Topic 

KHeon
Posting Yak Master

135 Posts

Posted - 2003-04-17 : 08:52:41
This may seem odd, but is there anyway to automate a backup of just the table structure, sprocs, triggers, views, etc and not the data? We have a development server that I'm trying to get into a backup rotation that works with our to tape backup schedule but the development server backups are getting pretty large. We don't really care about the data in the databases, just the structure of the tables because we can easily rebuild the data if the need arose.

Any thoughts/tips would be much appreciated.

Thanks!

Kyle Heon
PixelMEDIA, Inc.
Senior Application Programmer, MCP
kheon@pixelmedia.com

ValterBorges
Master Smack Fu Yak Hacker

1429 Posts

Posted - 2003-04-17 : 08:55:18
NR has a nice stored proc that will generate scripts of all your objects via dmo.

It can be found at
http://www.nigelrivett.com/

Scripting via DMO


Edited by - ValterBorges on 04/17/2003 08:56:21
Go to Top of Page

KHeon
Posting Yak Master

135 Posts

Posted - 2003-04-17 : 09:06:13
Many thanks! I'll definetly check that script out.

Kyle Heon
PixelMEDIA, Inc.
Senior Application Programmer, MCP
kheon@pixelmedia.com
Go to Top of Page

X002548
Not Just a Number

15586 Posts

Posted - 2003-04-17 : 09:11:34
Easily recreate the data?....Need to script all objects every night?

What relese procedures do you have? You should know the impact of your objects before you go "live" and should have a copy of what changed anyway.

I must be missing something.



Brett

8-)
Go to Top of Page
   

- Advertisement -