结尾日志备份(End log backups).doc

  1. 1、本文档共7页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 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

文档评论(0)

f8r9t5c + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:8000054077000003

1亿VIP精品文档

相关文档