1.0

Table Of Contents
Procedure
1. Read the restore scripts to see where they will place the les and make sure the destination locations are
ready. The restore scripts refuse to copy over les with the same names.
2. Run each restore script on the host where the backup originated.
In Windows, the le is restore.bat and in Linux, it is restore.sh.
The restore copies the les back to their original location.
Backing Up and Restoring Offline Disk Stores
With the system ofine, you copy and restore your les using your le system commands.
Ofine File Backup and Restore on page 85
Ofine Members: Manual Catch-Up to an Online Backup on page 85
Offline File Backup and Restore
To back up your ofine system:
1. Validate, and consider compacting your disk stores before backing them up. See Compacting Disk Store Log
Files on page 80.
2. Copy all disk store les, and any other les you want to save, to your backup locations.
To restore a backup of an ofine system:
1. Make sure the system is either down or not using the directories you will use for the restored les.
2. Make sure your members are congured to use the directories where you put the les.
3. Reverse your backup le copy procedure, copying all the backed up les into the directories you want to
use.
4. Start the system members.
Offline Members: Manual Catch-Up to an Online Backup
If you must have a member ofine during an online backup, you can manually back up its disk stores. Do one
of the following:
Keep the members backup and restore separated, doing ofine manual backup and ofine manual restore, if
needed.
Bring this member s les into the online backup framework manually and create a restore script by hand, from
a copy of another members script:
1. Duplicate the directory structure of a backed up member for this member.
2. Rename directories as needed to reect this members particular backup, including disk store names.
3. Clear out all les but the restore script.
4. Copy in this members les.
5. Modify the restore script to work for this member.
Handling Missing Disk Stores
Use the sqlf list-missing-disk-stores command to nd disk stores with the latest persisted data.
Use sqlf revoke-missing-disk-stores to stop waiting for the data when you cannot bring it online.
Why Disk Stores Go Missing on page 86
List Missing Disk Stores on page 86
Revoke Missing Disk Stores on page 86
85
Using Disk Stores to Persist Data