Daily Backups for a single table in Microsoft SQL Server

Posted by James Horton on Stack Overflow See other posts from Stack Overflow or by James Horton
Published on 2010-06-16T18:13:41Z Indexed on 2010/06/16 18:22 UTC
Read the original article Hit count: 595

Filed under:
|
|
|

Hello,

I have a table in a database that I would like to backup daily, and keep the backups of the last two weeks. It's important that only this single table will be backed up.

I couldn't find a way of creating a maintenance plan or a job that will backup a single table, so I thought of creating a stored procedure job that will run the logic I mentioned above by copying rows from my table to a database on a different server, and deleting old rows from that destination database.

Unfortunately, I'm not sure if that's even possible.

Any ideas how can I accomplish what I'm trying to do would be greatly appreciated.

Thank you.

© Stack Overflow or respective owner

Related posts about sql-server

Related posts about table