May 13, 2009 at 1:07 pm
Hi
We use a hosted service to backup our databases on a daily basis. With SQL Server 2000 copying Database objects in a dts package and arranging for it to run automatically was a fairly simple procedure.
How do you do this with SQL Server 2005. I have started to look at SSIS but it seems that this will take many many days to understand. I need to backup our database off site within the next day or so.
I tried to use the new 'Copy Database' manually but was told that SQL Server Agent was not run on the destination (Hosted) server so I dont think automating the 'Copy Database' task is an option.
Your feedback and assistance would be much appreciated.
May 27, 2009 at 9:28 am
"With SQL Server 2000 copying Database objects in a dts package and arranging for it to run automatically was a fairly simple procedure."
What kind of objects are you reffering to above?
May 27, 2009 at 9:57 am
Thanks for the reply
I want to copy Tables, Views, Table triggers and possible stored procedures as well.
May 28, 2009 at 1:02 am
You can do this by creating a SSIS package through the Data Import and Export Wizard.
Right click the db that you want to copy its objects and follow the path: Taks>>Export Data. This will show you the export wizard.
When done create a job that will excute the ssis package.
Hope this helps.
May 28, 2009 at 7:23 am
Thanks for the reply, the only problem with tyhis is we have to go into each of the 200 tables and click 'drop & create destination table.
Is there a way we can set this for all tables in one action?
May 29, 2009 at 8:39 am
Are you upgrading your 2000 database to 2005? If so, you can still run your 2000 DTS packages in 2005. Or you can convert them using the Package Upgrade Wizard. See the following article:
May 29, 2009 at 8:53 am
Take a look at the "Transfer SQL Server Objects Task" in SSIS. It think it should do what I understand you're trying to do.
You could also consider doing a backup from one server and restore on the other. SSIS can do that for you too.
For best practices on asking questions, please read the following article: Forum Etiquette: How to post data/code on a forum to get the best help[/url]
May 29, 2009 at 8:55 am
Are you not backing up data? Or are you just trying to get schema data?
Viewing 8 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic. Login to reply