Restoring a backup to a new storeall file system – HP StoreAll Storage User Manual

Page 218

Advertising
background image

Start the metadata service:

ibrix_archiving -s

Stop the metadata service:

ibrix_archiving -S [-F] [-t timeout secs]

The -t option specifies the time (in seconds) to wait for the service to stop gracefully.

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
<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 218)

.

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 219)

.

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 on the new file system, either in the Management Console 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 Management Console.

5.

(Optional) Create REST API shares. See

“Using HTTP” (page 114)

.

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 StoreAll Storage CLI Reference Guide for information

about the other states.

218

Express Query

Advertising