Backup Database SmartGuide -- Protection



Use the Protection page of the Backup Database SmartGuide to choose the type of protection you want.

Circular logging records the changes to your database in a set of logs. When the last log file in a series is filled, the first log file is reused in a circular fashion. Circular logging supports restore--only recovery. (LOG RETAIN = OFF)

Archive logging does not overwrite older log files. Instead it continuously creates additional logs to record every transaction since your last backup. This type of logging supports roll-forward recovery. (LOG RETAIN = ON)

The restore--only and roll-forward methods provide different points of recovery.

restore-only recovery

This method involves making an offline, full database backup image of the database at scheduled times. The backup image of the database is only as current as the time that the last backup was made. For instance, if you make a backup image at the end of each day and you lose the database midway through the next day, you will lose a half-day's worth of changes.

roll-forward recovery

In this method, changes made to the database are retained in logs. You first restore the database using a backup image; then you use the logs to reapply changes that were made to the database since the backup image was created.

With roll-forward recovery enabled, you can take advantage of online backup. For full database roll-forward recovery, you can choose to recover to the end of the logs or to a specified point-in-time. For instance, if an application corrupted the database, you could start with a restored copy of the database, and roll-forward changes up until just before that application started. All units of work in the logs after the time specified will not be reapplied.



Fields and controls



Related information