Restoring management database from backup
You can restore a management node database from backup on the same management node or any node in the storage cluster.
Limitations
- The
vstorage-ui-backend
service must be running on a single node in the storage cluster. If the management node database is restored on a different node, the previous management node must be re-deployed.
Prerequisites
- The management database is backed up automatically or manually, as described in Backing up management database.
To restore a management node database from backup
Run the following script on the node where the MN database will be restored:
# /usr/libexec/vstorage-ui-backend/bin/restore-management-node.sh \
-x <public_net_iface> -i <private_net_iface> -f /mnt/vstorage/webcp/backup/<backup_file>
Where <public_net_iface>
and <private_net_iface>
are interfaces assigned the public and private networks. If required, you can specify the same network interface in both parameters. If the -f
option is omitted, the management node database will be restored from the latest backup.
To access the admin panel, use the public IP address of the node with the restored MN database.