1.0

Table Of Contents
Specifying the Backup Directory on page 342
Example on page 342
Output Messages from sqlf backup on page 342
Backup Directory Structure and Its Contents on page 343
Restoring an Online Backup on page 373
Syntax
Use the mcast-port and -mcast-address, or the -locators options, on the command line to connect to the SQLFire
cluster.
sqlf backup <target directory>
[-mcast-port=<port>] [-mcast-address=<address>]
[-locators=<addresses>] [-bind-address=<address>]
[-<prop-name>=<prop-value>]*
Alternatively, you can specify these and other distributed system properties in a sqlfire.properties le
that is available in the directory where you run the sqlf command.
The table describes options for sqlf backup.
DescriptionOption
Directory in which SQLFire stores the backup content. See Specifying
the Backup Directory on page 342.
<target-directory>
Multicast port used to communicate with other members of the
distributed system. If zero, multicast is not used for member discovery
(specify -locators instead).
Valid values are in the range 065535, with a default value of 10334.
-mcast-port
Multicast address used to discover other members of the distributed
system. This value is used only if the -locators option is not
specied.
The default multicast address is 239.192.81.1.
-mcast-address
List of locators used to discover members of the distributed system.
Supply all locators as comma-separated host:port values.
-locators
The address to which this peer binds for receiving peer-to-peer
messages. By default sqlf uses the hostname, or localhost if the
hostname points to a local loopback address.
-bind-address
Any other SQLFire distributed system property.-prop-name
Description
An online backup saves the following:
For each member with persistent data, the backup includes disk store les for all stores containing persistent
table data.
Conguration les from the member startup.
sqlre.properties, with the properties the member was started with.
A restore script, written for the member's operating system, that copies the les back to their original locations.
For example, in Windows, the le is restore.bat and in Linux, it is restore.sh.
341
sqlf Launcher Commands