Restoring a backup to a new ibrix file system – HP StoreAll Storage User Manual
Page 163
The -F option forcefully stops the archiving daemons and disables database access to all file
systems enabled for Express Query. When you restart the service after using -F, the database
enters in recovery mode, which can take a long time to complete depending on the size of the
database.
Restart the metadata service:
ibrix_archiving -r
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
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 IBRIX file system. See
“Restoring a backup to a new IBRIX file
or
•
Restore the backup to an existing file system that has Express Query enabled. See
to an existing file system that has Express Query enabled” (page 163)
Restoring a backup to a new IBRIX file system
To restore a backup to a new IBRIX 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 on the new file system, either in the GUI or by the CLI command:
ibrix_fs -T -E -f FSNAME
4.
(Optional) Enable auditing, using the ibrix_fs -A [-f FSNAME] -oa ... CLI command
or in the GUI.
5.
(Optional) Create REST API shares. See
6.
Express Query re-synchronizes the file system and database by using the restored database.
This process might take some time.
7.
Wait for the metadata resync process to finish. Enter the following command to monitor the
resync process for a file system:
ibrix_archiving —l
The status should be at OK for the file system before you proceed. Refer to the
ibrix_archiving
section in the HP IBRIX 9000 Storage CLI Reference Guide for information
about the other states.
Restore to an existing file system that has Express Query enabled
To restore a backup to an existing file system that has had Express Query enabled:
Managing the metadata service
163