Results 1 to 5 of 5

Thread: [RESOLVED] How to - Auto DB backup, partial?

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2009
    Posts
    258

    Resolved [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?

  2. #2
    A SQL Server fool GaryMazzone's Avatar
    Join Date
    Aug 2005
    Location
    Dover,NH
    Posts
    7,493

    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

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2009
    Posts
    258

    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?

  4. #4
    A SQL Server fool GaryMazzone's Avatar
    Join Date
    Aug 2005
    Location
    Dover,NH
    Posts
    7,493

    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

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2009
    Posts
    258

    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
  •  



Click Here to Expand Forum to Full Width