不过,有时事务日志备份要比完全备份还大。
However, sometimes a transaction log backup is larger than a full backup.
事务日志备份所使用的资源通常比完全备份少。
Transaction log backups generally use fewer resources than full backups.
在这种情况下,应更加频繁地创建事务日志备份。
In this situation, you should create transaction log backups more frequently.
事务日志备份——备份所有执行的事务日志(在上次完全备份之后执行的)。
Transaction log backup — Backs up all of the transactions performed against the database after the last successful full backup or transaction log backup is completed.
该事务的起点记录在第一个事务日志备份中,终点记录在第二个事务日志备份中。
The start of the transaction is recorded in the first transaction log backup, but the end of the transaction is recorded in the second transaction log backup.
因此,创建事务日志备份可以比创建完全备份更加频繁,从而降低丢失数据的风险。
Therefore, you can create transaction log backups more frequently than full backups, which reduces your risk of losing data.
如果事务日志用于备份,只在完全备份计划(每周一次)之前使用此开关。
If transaction logging is used for backups, use this switch only before the full backup schedule (once a week).
在使用合并备份时,如果周五需要进行修复,那么您可以从周四的合并备份和事务日志还原所有数据。
With merged backups, if a recovery is needed on Friday, you can restore everything from Thursday's merged backup along with the transaction logs.
完全备份——备份整个数据库,包括所有的文件组合事务日志。
Full backup — Backs up the full database, including all file groups and transaction logs.
如果系统或媒体发生失败,您可以使用事务日志和第三方备份实用工具恢复数据库。
Then if a system or media failure occurs, you can use the transaction log and a third-party backup utility to recover your database.
另一种机制通过使用全备份,并前滚事务日志,使数据库恢复到最近的状态,这种机制也叫前滚恢复。
The second restores to the most recent state, using a combination of full backup plus rolling forward the transaction log, called rollforward recovery.
日志包含可以恢复的最后一次备份之后的所有事务。
The logs contain all transactions since the last backup you were able to restore.
(可选)强烈建议归档所有事务日志,以便重现上次备份后发生的变更,从而执行最完整的数据恢复。
It is highly recommended that you archive any transaction logs so that changes that occurred after the last backup can be replayed for the most complete restoration of data.
默认情况下,事务日志将被复制回当初备份时所在位置。
By default, the transaction log will be copied back to the same location that it was in, when the backup image was taken.
备份之后的所有事务日志文件。
清单4:从备份恢复salesdb数据库并将事务日志放在不同的位置。
Listing 4: Restoring the salesdb database from a backup and placing the transaction log in different location.
有关使用事务日志进行备份的更多信息,请参见Domino5AdministrationHelp。
For more information on using transaction logging for backups, see the Domino 5 Administration Help.
注意,如果决定使用循环日志记录和脱机恢复作为您的备份策略,那么最后一次脱机备份以后的所有事务都将丢失。
Be aware that if you decide to use circular logging and offline recovery as your backup strategy, all transactions after the last offline backup will be lost.
例如,日志缓冲区将每个事务写到日志,可以使用不同的日志模式来实现不同的备份和恢复模式。
For example, the log buffer writes each transaction to logs and how different log mode can be used to accomplished different modes of backup and recovery.
DB 2提供了一种自动调度备份任务的机制,还可以保存事务日志,可以使用事务日志将数据库恢复到发生崩溃的时间点。
DB2 provides a mechanism to automatically schedule backups and to keep transaction logs that can be used to restore to the exact point of the crash.
如果使用在线备份,要知道除非具有在DB 2备份数据库时发生的所有事务的日志,否则备份映像没有任何作用。
If using online backup, recognize that the backup image will be useless without the logs of all transactions that occurred while DB2 was backing up the database.
结合事务日志的备份和归档优势,事务日志可以让服务器的运行达到前所未有的顺畅。
Coupling this with the backup and archiving benefits of transaction logging, transaction logging makes your server run like it never ran before.
减小邮件文件的大小可以提高视图索引编制、压缩、备份还原和事务日志记录的性能。
Reducing mail file size improves performance of view indexing, compact, backup and restore, and transaction logging.
要恢复完整的备份,重播备份之后的所有事务的日志,该过程结束之后恢复就完成了。
Restore a full backup, replay the logs of all transactions since the backup, and your recovery is complete.
定期启用事务日志归档模式进行的在线备份,事务日志存储在一个容错磁盘上。
Online backups with transaction log archive mode enabled at regular intervals and the transaction logs are stored on a fault-tolerant disk.
如果让备份上线,则需要在备份发生时发出的所有事务的日志。
If the backup is taken online, you require the logs of all transactions that transpired while the backup was taking place.
清单7:执行备份,启用事务日志归档模式,并删除这次备份之前归档的事务日志。
Listing 7: Perform a backup, enable the transaction log archive mode, and delete archived transaction logs before this backup.
清单6:执行备份,启用事务日志归档模式,并保存这次备份之前归档的事务日志。
Listing 6: Perform a backup, enable the transaction log archive mode, and preserve archived transaction logs before this backup.
在完整恢复模式或大容量日志恢复模式下,如果最近尚未备份事务日志,则请立即进行备份以免发生日志截断。
Under the full recovery model or bulk-logged recovery model, if the transaction log has not been backed up recently, backup might be what is preventing log truncation.
通过备份事务日志,可以将数据库恢复到以前的某个时间点。
By backing up transaction logs, you can recover the database to an earlier point in time.
应用推荐