Restore a previous Code Dx installation
If you were upgrading Code Dx and the process failed, you can recover your previous installation by following the next steps:
Stop all services:
$ cd /opt/bitnami $ ./ctlscript.sh stop
Clean your installation directory except the backup-DATETIME directory:
$ cd /opt/bitnami $ rm -rf !(backup-*)
Copy the content of the backup sub-directory to the installation directory:
$ cd /opt/bitnami $ cp -r backup-DATETIME/backup/* .
The backup directory has the date and time of the backup as a suffix. Please remember to replace the placeholders in the previous command with the correct values.
Start all services:
$ cd installdir $ ./ctlscript start