Open topic with navigation

TIBCO ActiveSpaces® 4.8.0

# Realm Service Checkpoint Restore

When an ActiveSpaces checkpoint is created for a data grid, the data grid's configuration from the realm service is saved as part of that checkpoint.

The data grid's configuration from the realm service can be found in the following file on any node of the copyset that was first configured for your data grid:

    <node_data_dir>/checkpoints/<timestamp>_<epoch>_<counter>_<checkpoint_name>/metadata
    /realmserver-grid.json

The ActiveSpaces administrative command-line tool tibdg is used to restore a data grid's configuration into a realm.
Before you beginTo restore your data grid configuration into a realm you must ensure that you first complete the following steps:

1. Ensure your realm services have been restored by using a backup database associated with the checkpoint.
2. Copy the realmserver-grid.json file to a location that is easily accessible when you run tibdg.
3. Load the realmserver-grid.json data grid configuration into the realm service.

Procedure
1. Use the following tibdg command is used to restore the data grid configuration from a checkpoint into the primary realm service:

       tibdg [-g <grid_name>] -r <realm_service_URL> grid load -rollback \<grid_config_json_file>

   For example, `tibdg -r http://10.0.1.25:8080 grid load -rollback ./realmserver-grid.json`. Remember that in a realm only the primary realm service can accept realm configuration updates. The `<realm_service_URL>` must be the URL of the primary realm service.
   Note: This method must not be used if more than one data grid is configured in the realm service or other FTL applications are also configured in the realm.

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