August 23, 2010 at 9:04 pm
Hi
How do take the single table backup plz help me....
plz help me ....
August 23, 2010 at 9:11 pm
You can't take a single table backup, per se. You can export a table using the export wizard or BCP.
August 23, 2010 at 9:23 pm
thanku very much...
August 26, 2010 at 8:43 am
Or if you're looking to just make a quick copy of the data..
SELECT * INTO dbo.tblname_backup_date FROM dbo.tblname
I do this regularly before a data update happens that could potentially mess things up. Just make sure you get rid of your backup tables after you're sure you don't need them any more.
August 26, 2010 at 6:08 pm
If you export the data, you do not really export the metadata. you need you take note of the constraints, indexes, defaults etc.
August 27, 2010 at 2:48 am
If your table is on a seperate filegroup, you can back up the filegroup
August 31, 2010 at 6:56 am
BaddaBing (8/27/2010)
If your table is on a seperate filegroup, you can back up the filegroup
After that how he will restore??
August 31, 2010 at 7:37 am
Partial Restore etc
August 31, 2010 at 8:36 am
You can backup and restore from a filegroup, but you need a full backup on which to base this. I'm not sure a filegroup backup would fit well in this situation.
http://msdn.microsoft.com/en-us/library/ms189860%28v=SQL.100%29.aspx
If this is read only data, then perhaps, but otherwise, I would just export the data. I'm assuming you mean the data is important here, not all the PK/FK/constraints.
August 31, 2010 at 8:42 am
Point well made (and taken)...:-)
August 31, 2010 at 9:59 pm
Not a recommended idea, but you can also do this!
export that single table into a sample DB (just created for this purpose)
and then backup that DB , by this way there will be only one object in that DB , its ur table and the meta data all the constriant will also be present.:-)
Viewing 11 posts - 1 through 10 (of 10 total)
You must be logged in to reply to this topic. Login to reply