Capture Domain Configuration

This is a NuoDB Manager command. See NuoDB Manager.

Description

Take a snapshot of the key/value store from the durable domain configuration. This can be restored with the NuoDB Manager restore domainConfiguration command (see Restore DomainConfiguration).

Syntax

capture domainConfiguration 
    file file_name 
    [ overwrite = { true | false } ] 
    [ prefix configPrefix ]

Parameters

Interactive Example

Capture the alarm definitions from the durable domain configuration from this domain to be restored at a later date with the restore domainConfiguration command.

nuodb [domain] > capture domainConfiguration
Domain Configuration File: alarmDefs.save
Overwrite if exists (default: false): 
Configuration name prefix (optional): alarmDefs/
Keys (3) written to alarmDefs.save

Scripting Example

The same capture domainConfiguration command can be executed with --command as follows:

nuodbmgr --broker host --password password \
    --command "capture domainConfiguration file alarmDefs.save prefix alarmDefs/"