1.0

Table Of Contents
You can specify a directory by one of two methods; the command in the procedure below uses the rst method.
Use a single physical location, such as a network le server. Example:
/export/fileServerDirectory/sqlfBackupLocation
Use a directory that is local to all host machines in the system. Example:
./sqlfBackupLocation
Back Up an Online Disk Store
1. Run the backup command, providing your backup directory location. Example:
sqlf backup /export/fileServerDirectory/gemfireBackupLocation
-locators=warsaw.vmware.com[26340]
2. Read the message that reports on the success of the operation.
If the operation is successful, you see a message like this:
Connecting to distributed system: locators=warsaw.vmware.com[26340]
The following disk stores were backed up:
DiskStore at hosta.vmware.com /home/dsmith/dir1
DiskStore at hostb.vmware.com /home/dsmith/dir2
Backup successful.
If the operation does not succeed at backing up all known members, you see a message like this:
Connecting to distributed system: locators=warsaw.vmware.com[26357]
The following disk stores were backed up:
DiskStore at hosta.vmware.com /home/dsmith/dir1
DiskStore at hostb.vmware.com /home/dsmith/dir2
The backup may be incomplete. The following disk stores are not online:
DiskStore at hostc.vmware.com /home/dsmith/dir3
A member that fails to complete its backup is noted in this ending status message and leaves the le
INCOMPLETE_BACKUP in its highest level backup directory. Ofine members leave nothing, so you only
have this message from the backup operation itself. Although ofine members cannot back up their disk
stores, a complete backup can be obtained if at least one copy of the data is available in a running member.
What the Online Backup Saves
For each member with persistent data, the backup includes:
Disk store les for all stores containing persistent tables.
Conguration les from the member startup (sqlfire.properties). These conguration les are not
automatically restored, to avoid interfering with any more recent congurations. In particular, if these are
extracted from a master jar le, copying the separate les into your working area could override the les in
the jar.
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.
Restore an Online Backup
The restore script included in the online backup copies les back to their original locations. You can do this
manually if you wish.
Prerequisites
Your members are ofine and the system is down.
vFabric SQLFire User's Guide84
Managing Your Data in vFabric SQLFire