cancel
Showing results for 
Search instead for 
Did you mean: 

Recovery from transaction log

Former Member
0 Kudos
2,933

Hi all,

Let me know if I can populate an empty DB from a log file of a full-DB (structurally identical).

My situation is this:

I have an empty DB, I do a backup and copy it to another server. After the first DB is populated, I stop it and copy it on another server. I start DB on second server with the log files generated on the first server. My question is, can the empty DB be populated from the log file?

Is this operation is allowed on ASA 9.0.2.3340.

Accepted Solutions (0)

Answers (1)

Answers (1)

johnsmirnios
Participant

Use "dbsrv9 copy_of_original_db.db -a populated_log_file.log".

If you created an extra log file during your first backup, you should apply that one before the populated log. Alternatively, just copy your original empty database rather than doing a backup.

VolkerBarth
Contributor
0 Kudos

Just to add: The reason this has to work is that this is a common recovery situation, namely when the "current database file" is lost (cf. this v12.0.1 doc page:

You would then use you "old database backup" (here: copy_of_original_db.db) with the current transaction log (here: populated_log_file.log) to bring your database to the current state. The only requirement is that the populated_log_file.log has originally been used with the old/original database file.