简体   繁体   English

部分恢复 SQLServer 事务日志

[英]Partial recovery SQLServer transaction log

I have database 1 and database 2 on SQLServer2014.我在 SQLServer2014 上有数据库 1 和数据库 2。 Database 2 is a complete backup of database 2.数据库 2 是数据库 2 的完整备份。

Every day I would like to restore on database 2 only a part of the transactions performed during the day on database 1 (for example I need all transactions from 8.00 to 12.00).每天我都想在数据库 2 上恢复白天在数据库 1 上执行的部分事务(例如,我需要从 8.00 到 12.00 的所有事务)。

There is a way to identify all transactions made during that time and restore them on database 2?有一种方法可以识别在此期间进行的所有事务并在数据库 2 上恢复它们?

Do you have any other suggestions for doing this?您对此还有其他建议吗?

This can achieved by doing the partial backups Please take a look at the below links it may help这可以通过进行部分备份来实现请查看以下链接,它可能会有所帮助

https://sqlbak.com/blog/back-up-files-filegroups https://sqlbak.com/blog/back-up-files-filegroups

Another helpful link on same note https://sqlbak.com/academy/partial-backup同一注释上的另一个有用链接https://sqlbak.com/academy/partial-backup

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM