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:
Back up the mongo database.
Use one mongo database to manage multiple mongo database which are associated to each service.
mongodumpwith host and port to take back up of velocity.
mongodump --host=mongoInstanceAddress --port=27017 --out=/opt/backup/velocity-YYYY-MM-DD
Save the dump file.
--dropto restore dump file.
mongorestore --host mongoInstanceAddress --port 27017 --drop /backup/dump
mongorestorecommand can add and replace the existing dump file data but it will not delete the existing dump file data. Use
mongorestoreto delete the existing dump file data and restore the dump file data.
Back up the environmental variables
To avoid loss of data, it is advised to back up the environmental variable values.
Save all deployment environmental variable values.
Restore all deployment environmental variable values.
Parent topic: Upgrading