journaling

Recording each change in a log before applying it, so a system can recover cleanly or replay changes after a failure.

In more detail

Databases and many file systems write every change to a journal, also called a transaction log, before changing the main data. After a crash the log is used to finish or undo half-done work. Kept alongside backups, the same log lets you restore the last full backup and replay changes up to a chosen minute, which is point-in-time recovery.

Related terms

Taught in

References