6.5 HP StoreAll OS User Guide

Restore to an existing file system that has Express Query enabled
To restore a backup to an existing file system that has Express Query enabled:
1. Disable Express Query for the file system and remove any StoreAll REST API shares. Disable
auditing before you disable Express Query. If data validation is enabled for the file system,
it must also be disabled before you disable Express Query.
NOTE: If you are only restoring a sub-tree of a file system, you can leave Express Query
enabled. However, be aware that the restored files will not be tracked by Express Query and
may result in out-of-date metadata. However, the next time the Online Metadata Synchronizer
is run, the metadata will be updated. See the ibrix_archiving command for more information
about how to set the schedule for the online synchronizer.
a. To disable auditing, enter the following command:
ibrix_fs -A [-f FSNAME] -oa audit_mode=off
b. To disable data validation (if it is currently enabled), enter the following command:
ibrix_datavalidation -D -f FSNAME
c. To remove all StoreAll REST API shares created in the file system, enter the following
command:
ibrix_httpshare -d -f <fs_name>
d. To disable Express Query on the file system, enter the following command:
ibrix_fs -T -D -f FSNAME
2. Delete the previously existing metadata database:
rm -Rf <mountpoint>/.archiving/database
3. Delete the previously existing archive journal files that the file system creates for Express Query
to ingest:
rm -Rf <mountpoint>/.audit/*
4. Restore the backed up file system to this file system, overwriting existing files.
5. Re-enable Express Query on the file system, either in the Management Console or with 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.
6. (Optional) Enable auditing, using the ibrix_fs -A [-f FSNAME] -oa audit_mode=on
CLI command or in the Management Console.
7. (Optional) Enable data validation, using the ibrix_datavalidation -E command.
Validation checksums will be reconstructed once data validation is re-enabled.
8. (Optional) Create REST API shares. See “Using HTTP” (page 174).
Express Query re-synchronizes the file system and database by using the restored database
information. This process might take some time.
9. 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:
296 Express Query