Saving and importing file system metadata, Saving custom metadata for a file system – HP StoreAll Storage User Manual
Page 164
1.
. Disable the express query feature for the file system, including the removal of any StoreAllREST
API shares. Disable auditing feature before you disable the express query feature.
a.
To disable auditing, enter the following command:
ibrix_fs -A [-f FSNAME] -oa audit_mode=off
b.
Remove all StoreAll REST API shares created in the file system by entering the following
command:
ibrix_httpshare -d -f
c.
To disable the express query settings on a file system, enter the following command:
ibrix_fs -T -D -f FSNAME
2.
Delete the previously existing metadata database:
rm -Rf
3.
Delete the previously existing archive journal files that the file system creates for Express Query
to ingest:
rm -Rf
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 GUI or by the CLI command:
ibrix_fs -T -E -f
6.
(Optional) Enable auditing, using the ibrix_fs -A [-f FSNAME] -oa … CLI command
or in the GUI.
7.
(Optional) Create REST API shares. See
.
Express Query re-synchronizes the file system and database by using the restored database
information. This process might take some time.
8.
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. See the ibrix_archiving
section in the HP IBRIX 9000 Storage CLI Reference Guide for information about the other
states.
Saving and importing file system metadata
Use the following procedures to save, or export, metadata that is stored only in the Express Query
database and not in the files themselves. You can then import the metadata later on a CRR target.
You can also import the metadata if you need to recreate the Express Query database on the file
system from which you exported the metadata. If you are recovering a complete file system with
NDMP backup or a supported non-NDMP backup application, you do not need to import the
metadata. The Express Query database and the metadata are included in a full file system backup
and thus it is recovered with the file system.
Saving custom metadata for a file system
Use the perl script MDExport to save custom metadata in a CSV file. You can then use the file
later on to import the metadata. The script has the following syntax:
MDExport.pl [--help|?] --dbconfig /usr/local/Metabox/scripts/startup.xml
--database
164 Express Query