Open topic with navigation

TIBCO ActiveSpaces® - Enterprise Edition 5.0.0

# Restoring a tibdg Node

When restoring the nodes of a data grid, all nodes must be restored by using the same checkpoint to ensure a consistent state between the primary and secondary nodes of each copyset and between copysets.

When a checkpoint is created, each running node saves the files needed to restore the node to the following directory:

    <node_data_dir>/checkpoints/<timestamp>_<epoch>_<counter>_<checkp
    oint_name>/data

Procedure
1. Stop the node.
2. Move the node’s current data directory to a back-up location.
3. Re-create the node's data directory by copying the appropriate checkpoint directories back to their original location under the checkpoints directory.

       <node_data_dir>/checkpoints/<timestamp>_<epoch>_<counter>_<checkpoint_name>

   The nodes read the rollback record in the realm and restore their live directory from the checkpoint directory specified in the rollback record. This ensures that all nodes are restoring the same checkpoint because they fail to start up if they cannot find the checkpoint directory specified by the rollback record.
4. Restart the node.
   For example, suppose node cs1_n1 is started with the data directory ./cs1_n1_data. Then on UNIX you would do the following:

       tibdg -r http://10.0.1.25:8080 node stop cs1_n1
       mv ./cs1_n1_data cs1_n1_backup
       mkdir -p cs1_n1_data/checkpoints
       cp -R cs1_n1_backup/checkpoints/<timestamp>_00000000_00000001_chkpt cs1_n1_data/checkpoints/.
       tibdgnode -r http://10.0.1.25:8080 -n cs1_n1

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO ActiveSpaces® - Enterprise Edition

Copyright © 2009-2025. Cloud Software Group, Inc. All Rights Reserved.