Skip to main content
This page provides instructions for restore of FlexDeploy from previous backup, perhaps to undo an upgrade. If you are using automated installer, then backups for folders and files is located at $FLEXDEPLOY_HOME/upgrade/upgrade_backups/<MMDDYYYY>/. There would be tomcat, artifacts, plugins sub-folders here.
Step 1. Stop the FlexDeploy server. Use StopFlexDeploy.sh on Linux and StopFlexDeploy.bat on Windows. This will stop Tomcat and InfluxDB.
Step 2. Restore FlexDeploy schemas, Artifact Repository, Plugins directory and apache-tomcat-flexdeploy folder. First drop schemas (sqlplus, SQL Developer, or other database tools) and then import from backup.

Drop Schemas

Import data from backup directory (PostgreSQL) - If you used the automated installer and specified a backup directory, or you used pg_dump

Import data from backup schema (PostgreSQL) - If you used the automated installed and omitted backup directory

Import data (PostgreSQL) from pg_dumpall

Import data from backup (Oracle)

Restore Artifact Repository

Now restore artifact repository. The location of the artifact repository can be identified by looking at value of -Dflexagon.fd.repository.root in setenvoverride.sh/setenv.sh or setenvoverride.bat/setenv.bat file.

Restore Plugins Directory

Now restore plugins folder. The location of the plugins folder can be identified by looking at value of -Dflexagon.fd.install.root in setenvoverride.sh/setenv.sh or setenvoverride.bat/setenv.bat file. plugins folder is sub-folder for this install root (aka server working directory).

Restore apache-tomcat-flexdeploy Directory

Restore tomcat folder from backup.

Step 3 . Start FlexDeploy by running the following script FLEXDEPLOY_HOME/apache-tomcat-flexdeploy/bin/StartFlexDeploy.sh (StartFlexDeploy.bat on Windows)