Back up and restore HCL Accelerate#

You can roll back to previous version of HCL™ Accelerate using the back up and restore procedure of HCL Accelerate.

To back up and restore HCL Accelerate complete the following steps:

  1. Back up the mongo database.

    Use one mongo database to manage multiple mongo database which are associated to each service.

    1. Run mongodump with host and port to take back up of velocity.

      mongodump --host=mongoInstanceAddress --port=27017 --out=/opt/backup/velocity-YYYY-MM-DD

    2. Save the dump file.

    3. Run mongorestore with --drop to restore dump file.

      mongorestore --host mongoInstanceAddress --port 27017 --drop /backup/dump

      Note: The mongorestore command can add and replace the existing dump file data but it will not delete the existing dump file data. Use --drop flag with mongorestore to delete the existing dump file data and restore the dump file data.

  2. Back up the environmental variables

    To avoid loss of data, it is advised to back up the environmental variable values.

    1. Save all deployment environmental variable values.

    2. Restore all deployment environmental variable values.

Parent topic: Upgrading