Click here to Skip to main content
15,881,172 members
Please Sign up or sign in to vote.
4.80/5 (2 votes)
See more: , +
How to take database backup certain period using From and To date
Posted

1 solution

Database backup is by definition whole database backup. As you stated, you want to archive partial data. A really simple way is to create an "Archive" database with the necessary schema, SELECT INTO[^] from the live database to the archive database, delete from live if necessary, backup the archive database, and even drop it if necessary. This can be refined based on the chosen backup/archive strategy.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900