Skip to content

Backup Internal Object Store

Before you start

Goal

  • Take a backup of the Altair SLC Hub internal object store

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 hubctl command.

Internal Object Store backup procedure

To backup the internal object store, the data directory is copied and archived.

Run the following command as superuser to preserve ownership and permissions and avoid errors:

sudo tar -cvpf HubObjectStoreBackup.tar [var directory]/objstore/data

To ensure data consistency on Windows, make sure the Hub is stopped before creating the backup. This can be done by running:

hubctl service stop

For Windows, browse to [var directory]\objstore (give yourself at least read access to this folder if you do not have it already). Locate the data directory, right click on it, select Send to then select Compressed (zipped) folder.

Keep the archive in a safe location, or backup to a different system.

Verification

Backup created

  • Verify that an archived file has been created, and the contents match the data directory