# Can we restore the completed and incomplete transactions from transation\_log when the system crashes in between write/update/delete operations?

**URL:** <https://www.singlestore.com/forum/t/can-we-restore-the-completed-and-incomplete-transactions-from-transation-log-when-the-system-crashes-in-between-write-update-delete-operations/6405>\
**Category:** Off-Topic\
**Created:** [January 12, 2023, 6:01pm UTC](https://www.singlestore.com/forum/t/can-we-restore-the-completed-and-incomplete-transactions-from-transation-log-when-the-system-crashes-in-between-write-update-delete-operations/6405 "2023-01-12T18:01:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![navin.tb](https://www.singlestore.com/forum/letter_avatar_proxy/v4/letter/n/4bbf92/32.png) [@navin.tb](https://www.singlestore.com/forum/u/navin.tb)\
**Post date:** [January 12, 2023, 6:01pm UTC](https://www.singlestore.com/forum/t/can-we-restore-the-completed-and-incomplete-transactions-from-transation-log-when-the-system-crashes-in-between-write-update-delete-operations/6405/1 "2023-01-12T18:01:36Z")

</div>

How to restore completed and incomplete transactions from transaction log when the system crashes. What is the strategy for backup in transaction failure or system failure back up?

---

<div class="post-metadata">

**Author:** ![hanson](https://www.singlestore.com/forum/user_avatar/www.singlestore.com/hanson/32/196_2.png) [@hanson](https://www.singlestore.com/forum/u/hanson)\
**Post date:** [January 13, 2023, 6:00pm UTC](https://www.singlestore.com/forum/t/can-we-restore-the-completed-and-incomplete-transactions-from-transation-log-when-the-system-crashes-in-between-write-update-delete-operations/6405/2 "2023-01-13T18:00:18Z")

</div>

When you restart SingleStoreDB after a crash, it recovers all databases to a transaction-consistent state. It’s automatic. You don’t have to do anything to get it.

Backup is separate from transaction recovery.

Internally, the system uses “snapshots” and a write-ahead log to perform transaction-consistent restart recovery.

See [Durable and Redundant · SingleStore Documentation](https://docs.singlestore.com/db/v8.0/en/introduction/how-singlestoredb-works/durable-and-redundant.html) for more details.
