|
-
Sep 28th, 2011, 01:32 PM
#1
Thread Starter
Hyperactive Member
[RESOLVED] How to - Auto DB backup, partial?
Okay, we're using Sql Server 2008 R2, and want to setup an automatic backup of our database. Not the whole database, though, just some of the tables in the database.
Ideally, we should be able to schedule this as an automatic process that extracts the tables we want and puts them into another database that we can give to a customer and have them just mount the thing on their system.
I found this article, and it looks a lot like what we want, but it backs up the entire database.
http://www.securebackup.com/online-b...server-backup/
Any ideas as to the best way to do this?
-
Sep 28th, 2011, 01:53 PM
#2
Re: How to - Auto DB backup, partial?
That is not possible using the standard backup functions that ship with SQL Server. The whole thing or nothing. You could look into various third party tools to see if this is avail from them.
But if you do this then the client needs to buy the same backup system that you use. Did you think about doing this in SSIS and export to a flatfile then have a process on the client side that reads the file (again SSIS) and imports to the database.
Last edited by GaryMazzone; Sep 28th, 2011 at 01:55 PM.
Reason: add more info
Sometimes the Programmer
Sometimes the DBA
Mazz1
-
Sep 29th, 2011, 11:29 AM
#3
Thread Starter
Hyperactive Member
Re: How to - Auto DB backup, partial?
Okay, I installed SSIS and am looking at building the process using BDIS... a Business Intelligence Projects project. I even got it working... for one table. I can successfully fully send one table over to the specified Sql Server instance.
But how do I do two? It will only let me create one connection manager for my source database, and each connection manager is associated with a table or query. Is there a way around this, or must I have one app for each table that needs exporting?
-
Sep 30th, 2011, 07:24 AM
#4
Re: How to - Auto DB backup, partial?
No the connection manager this is a database is connected to 1 database. The source is different for each data flow. I would just use a seperate data flow task for each table
Sometimes the Programmer
Sometimes the DBA
Mazz1
-
Oct 1st, 2011, 07:54 AM
#5
Thread Starter
Hyperactive Member
Re: How to - Auto DB backup, partial?
That's what I ended up doing, and it is working well. Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|