Solved

SQL 2008 R2 Backup

Posted on 2013-12-19
4
341 Views
Last Modified: 2013-12-27
Is it possible to create  a backup script on SQL 2008R2 such that it will backup a single table in the SQL2008R2 database and remove all its data to release the disk space ?

Is it possible for the backup to store on a network drive ?

Tks
0
Comment
Question by:AXISHK
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 19

Assisted Solution

by:jss1199
jss1199 earned 250 total points
ID: 39729339
You can not backup/restore single objects in SQL Server 2008, to my knowledge.  You can move the data into a seperate database that you create for such a purpose, such as:

SELECT * INTO new_backup_dbname.dbo.TABLENAME_BACKUP 
FROM src_db_name.dbo.TABLENAME

Open in new window

and then TRUNCATE TABLE src_db_name.dbo.TABLENAME

You could then have a  SQL Backup job scheduled to backup the new_backup_dbname database
0
 

Author Comment

by:AXISHK
ID: 39729435
How to put all these into a batch and scheduled under SQL server ? Any further guideline ?

Tks
0
 
LVL 10

Accepted Solution

by:
Ramesh Babu Vavilla earned 250 total points
ID: 39737550
0
 

Author Closing Comment

by:AXISHK
ID: 39743061
Tks
0

Featured Post

What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There have been several questions about Large Transaction Log Files in SQL Server 2008, and how to get rid of them when disk space has become critical. This article will explain how to disable full recovery and implement simple recovery that carries…
In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question