6.5 HP StoreAll OS User Guide

See the ibrix_archiving command in the HP StoreAll OS CLI Reference Guide for examples
of how to perform these tasks.
Backing up and restoring file systems with Express Query data
Express Query stores its metadata database for each file system on the file system, in the
<mountpoint>/.archiving/database directory. Therefore, if you back up a snapshot of
the entire file system, you also back up the database. If you intend to restore the database with
the file system, you must take a snapshot of the entire file system and back up the snapshot, not
the live file system. Backing up the live file system does not produce a consistent view of the files
and the database.
You can:
Restore the backup to a new StoreAll file system. See “Restoring a backup to a new StoreAll
file system” (page 295).
or
Restore the backup to an existing file system that has Express Query enabled. See “Restore
to an existing file system that has Express Query enabled” (page 296).
Restoring a backup to a new StoreAll file system
To restore a backup to a new StoreAll file system:
1. Create a new file system with Express Query not yet enabled.
2. Restore the backed up file system to the new file system.
3. Enable Express Query in restore mode on the new file system, either in the Management
Console or by the CLI command:
ibrix_fs -T -E -r -f FSNAME
NOTE: Use of the parameter -r in this command is mandatory, to indicate to Express Query
that the database needs to be restored from a backup. Failure to provide this option will
require starting the restore process from the beginning again.
4. (Optional) Enable auditing, using the ibrix_fs -A [-f FSNAME] -oa ... CLI command
or in the Management Console.
5. Express Query re-synchronizes the file system and database by using the restored database.
This process might take some time.
6. While offline synchronization is running, queries to the database return partial results. For
accurate results, wait for the offline synchronization to complete. You can check if offline
synchronization has completed by entering the following command and monitoring its output
is:
ibrix_archiving -l -f <FSNAME>
<FSNAME>: OK:
Managing the metadata service 295