- 1、本文档共7页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
结尾日志备份(End log backups)
结尾日志备份(End log backups)
End log backups
This topic is only relevant to databases that use a full recovery model or a bulk logged recovery model.
For the most part, SQL Server 2005 and later require you to back up the journal end to capture logging that has not been backed up in either full recovery mode or bulk log recovery mode. The log backup that is executed for the tail of the log before the restore operation is called the end log backup.
SQL Server 2005 and later usually require you to execute the end log backups before you begin to restore the database. The end log backups prevent loss of work and ensure integrity of the log chain. When the database is restored to the point of failure, the end of the log backup is the last relevant backup in the recovery plan. If you cannot backup the tail of the log, you can only restore the database to the last backup created before the failure.
Not all restore scenarios require the execution of the end log backups. If the recovery point contains previously log backups, or you are ready to move or replace (cover) database, and in the latest backup after the database does not need to be recovered to a point in time, there is no need to use at the end of the log backup. Also, if the log file is damaged and cannot create an end log backup, you must restore the database without using the end log backups. Any transaction submitted will be lost after the latest log backup. For more information, see the following topic in this topic: do not use the end log backup to perform the restore operation.
Backup log tail
The ending log backup is similar to any other log backups, using the BACKUP LOG statement. It is recommended that you execute an end log backup in the following circumstances:
If the database is online, whenever you are ready to restore the next operation to the database, use the WITH NORECOVERY backup log tail before you start the restore sequence:
BACKUP LOG database name TO backup device WITH NORECOVERY
Be careful:
To
您可能关注的文档
- 第八章肿瘤答案(The eighth chapter answers the tumor).doc
- 第八章 产品决策(The eighth chapter is product decision-making).doc
- 第八章 遗传代谢性疾病(The eighth chapter is inherited metabolic disease).doc
- 第八章脑血管疾病(The eighth chapter cerebrovascular disease).doc
- 第八篇 结缔组织病和风湿病(Eighth connective tissue diseases and rheumatism).doc
- 第八节 川 崎 病(The eighth section Kawasaki disease).doc
- 第六例——原发性干燥综合征、肺部阴影(Sixth cases of primary Sjogren's syndrome and pulmonary shadow).doc
- 第八部分 现场急救(The eighth part, on-the-spot emergency treatment).doc
- 第六感(Sixth senses).doc
- 第六章 脂类代谢(The sixth chapter is lipid metabolism).doc
最近下载
- 小学体育_队列队形教学设计学情分析教材分析课后反思.doc
- 中建项目商务策划汇报模板.pptx
- 公路中小跨径钢-混组合梁桥标准图集(制订)》技术方案报告.docx
- “设计思维与方法”教案.ppt
- 大职赛生涯闯关参考答案.docx VIP
- 2022《美宜佳公司营运资金管理存在的问题及对策研究》开题报告文献综述(含提纲)3200字.docx VIP
- 长垣市人民医院西学中培训班《方剂学》考试.pdf VIP
- 苏教版一年级科学上册4.1《自然物与人造物》(课件).pptx
- 电子商务招聘简章模板.pdf
- 统编版小学语文二年级上册第六单元 先辈伟人 大单元整体学历案教案 教学设计附作业设计(基于新课标教学评一致性).docx
文档评论(0)