Capture Database

This is a NuoDB Manager command. See NuoDB Manager.

Description

Take a snapshot of a running database configuration and store it to a file. See Restart Database for more information about using the configuration file.

Note: For managed databaseWhen a NuoDB-provided template is used to create a database then that database is a managed database. Databases created from the Automation Console are always managed databases. You can also use the NuoDB Manager command line tool to create a managed database.s created with NuoDB 2.1 or later, it is no longer necessary to take a snapshot of your database to stop and restart it. Simply use the NuoDB Manager shutdown database and start database commands (See Shutdown Database and Start Database) or stop and start in the Automation Console.

Syntax

capture database database_name dbFile file_name

Parameters

Interactive Examples

Scripting Example

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

nuodbmgr --broker host --password password \
    --command "capture database test dbFile ./mydb.desc"