Restore Internal Object Store¶
Before you start¶
Goal
- Restore Altair SLC Hub internal object store from a backup
Prerequisites
- If you are using Windows, you will need to login as a user that is a member of the Administrators group, and the command prompt must be started 'as Administrator'. These steps will permit use of the
hubctlcommand. - Before restoring the internal object store, you must first complete restoration of:
- Internal database (see Restore Internal Database)
- Authentication domain keys (see Restore Authentication Domain Keys)
Restore the internal object store¶
Firstly, ensure that all Altair SLC Hub services are not active. To verify this, check the output of the following command shows an Active state of 'Inactive' for all services:
hubctl service status
If any services are running, stop them by running:
hubctl service stop
With all Altair SLC Hub services inactive, you can now restore the internal object store.
To restore the internal object store, run the following command, changing the file path to the actual backup file you are restoring from:
hubctl restore internalobjstore /var/slc-hub/backups/objectstore_backup_20250707T123045.zip
hubctl restore internalobjstore /var/slc-hub/backups/objectstore_backup_20250707T123045
hubctl restore internalobjstore "C:\slc-hub\backups\objectstore_backup_20250707T123045.zip"
hubctl restore internalobjstore "C:\slc-hub\backups\objectstore_backup_20250707T123045"
Restoring the internal object store will not delete or purge any existing data. The restore operation will add any missing data from the backup, but will not remove data already present in the object store.
Verification¶
Verify restoration
- Check the output from
hubctl restore internalobjstore
You should see a message reading Hub internal object store restoration completed successfully.