Restore Internal Object Store¶
Before you start¶
Goal
- Restore a backup of the Altair SLC Hub internal object store
Prerequisites
- A previously taken backup
Internal Object Store restore procedure¶
To restore the internal object store, the data directory is restored from a backup.
To restore a backup, make sure the Hub is stopped. This can be done by running:
hubctl service stop
Warning
This may cause data loss if you haven't created a backup.
First clear the data directory:
rm -rf [var directory]/objstore/data
Now restore the data from the backup with the following command:
tar -xvf HubObjectStoreBackup.tar [var directory]/objstore/
Delete the [var directory]\objstore\data
directory.
Now right click on the backup zip file, select Extract all, set the directory to be extracted to as [var directory]\objstore
and click Extract.
Verification¶
Backup Restored
- Verify the backup has been extracted to the directory correctly