Skip to content
CCPEDIAby Unity Nodes
Discussions/App Development/How do you recover data if domain node crash?Forum ↗

How do you recover data if domain node crash?

App Development2 posts226 viewsLast activity Apr 2022
JA
jaypeedaOP
Apr 2022

Hi team,

How does the recovery process work if there is event where there was a crash in the Domain node and it is requires to restore all of its lost data prior in operation mode ? What are the required actions for data recovery on the domain and participant node?

Is there any transaction log with Canton-on-Postgres ?

Thanks and Regards,

Jean-Paul

MA
MatthiasSchmalz
Apr 2022

Hi Jean-Paul,

both domain and participant will automatically clean-up their state on startup. So after a crash, all you need to do is restart the node.

We also have operational procedures to deal with data corruption:
https://docs.daml.com/canton/usermanual/operational_processes.html
In particular, read the sections on backup and restore, and on repairing participants.

Canton participants have several transaction logs. You can access the stream of all ledger transactions through the ledger API transaction service. There are also internal transaction logs for crash recovery.

Regards,
Matthias

← Back to Discussions