rollForwardRecoveryFrom=path attribute

The rollForwardRecoveryFrom=path attribute restores a database using a backup copy and performs roll-forward recovery using archived and active logs.

To restore a database using roll-forward recovery, you must already have a backup copy of the database, all the archived logs since then, and the active log files. All the log files should be in the database log directory.

After a database is restored from full backup, transactions from the online archived logs and the active logs are replayed.

For more information about using this attribute, see "Roll-forward recovery" in the Derby Server and Administration Guide.

Combining with other attributes

Do not combine this attribute with createFrom, restoreFrom, or create.

Example

-- restore and recover the wombat database
jdbc:derby:wombat;rollForwardRecoveryFrom=d:/backup/wombat