Table Backup and Best Practice
925858Mar 22 2012 — edited Mar 26 2012Hi Guys,
We have 2 tables, master and child with millions of records in it.These tables gets populated from flat files that we receive from external systems.The major operation on this table are insert/delete(update). The way we do update is, if the record from flat file already exist in table we delete the matching record from master table & child table and re-insert the data from flat files.
Business has decided to delete (archive) old and inactive data from these 2 tables. This process is run every year. I want to take a backup of this table by creating a similar table in database and start the delete process.
What would be the best approach to take backup of table,because we run the archive process every year. Archive process here refers to physically deleting a record from a table.
Any help is greatly appreciated.