Skip to content
CCPEDIAby Unity Nodes
App Development

How do you recover data if domain node crash?

2 posts255 viewsLast activity Apr 2022

  1. jaypeedaOP

    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

  2. MatthiasSchmalz

    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