Example of Invoking Hot Copy on a Snapshot Storage Manager

Suppose you want to obtain a particular snapshot of the test database, whose SSM is running on the local host. No other storage manager or snapshot storage manager is running on this host. You want the snapshot whose ID is 123456 and the destination archive directory is /hotcopyResults/test_archive. Here is the command you would enter:

$ nuodbmgr --broker myHost --password myDomainPw
NuoDB host version: 3.0: Professional Edition
nuodb [domain] > hotcopy database test snapshot 123456
     destinationArchiveDirectory /hotcopyResults/test_archive
Hot copy to /hotcopyResults/test_archive completed on myhost-jdoe-mac, pid 98765
nuodb [domain] >

The hot copy does the following:

The following example explicitly sets the journal and snapshot directory locations:

nuodb [domain] > hotcopy database test snapshot 123456   
   destinationArchiveDirectory /hotcopyResults/test_archive
   destinationJournalDirectory /hotcopyResults/test_archive/journal
   destinationSnapshotDirectory /hotcopyResults/test_archive/snapshots