Backup and restore
Backup and restore
OMFLOW's backup and restore is divided into Windows and Linux. The steps are basically the same, but different environments are not interchangeable with each other.
Windows
OMFLOW Server
Backup steps
Stop serving OMFLOW Server and OMFLOW Server Web
Backup folder
C:\Program Files\OMFLOW Server
Dump the database OMFLOW dedicated DB
Restore steps
First restore the dumped DB
Install OMFLOW Server, refer to the chapter [Installation on Windows]
Notes:
When installing, select the "Don't use database" option
Update to the same version as the backup
Close the following services
List: -OMFLOW Server
OMFLOW Server Web
Delete the following folders after installation
...\OMFLOW Server\omflow\omcustom\migrations
...\OMFLOW Server\omflow\omdashboard\migrations
...\OMFLOW Server\omflow\omflow\migrations
...\OMFLOW Server\omflow\omformflow\production
...\OMFLOW Server\omflow\omformflow\migrations
...\OMFLOW Server\omflow\omformmodel\migrations
...\OMFLOW Server\omflow\omldap\migrations
...\OMFLOW Server\omflow\ommessage\migrations
...\OMFLOW Server\omflow\ommission\migrations
...\OMFLOW Server\omflow\ommobile\migrations
...\OMFLOW Server\omflow\ommonitor\migrations
...\OMFLOW Server\omflow\omorganization\migrations
...\OMFLOW Server\omflow\omformflow\migrations
...\OMFLOW Server\omflow\ompolicymodel\migrations
...\OMFLOW Server\omflow\omreport\migrations
...\OMFLOW Server\omflow\omservice\migrations
...\OMFLOW Server\omflow\omuser\migrations
Overwrite all backed up files
Modify...\OMFLOW Server\omflow\omflow\setting.py according to the new environment
Project:
DATABASES: Ensure that the IP, Port and other related parameters of the new DB are correct
LOCAL_IP: OMFLOW’s connecting IP, 0.0.0.0 is any IP
LOCAL_PORT: OMFLOW’s connection port
LOCAL_PROTOCOL: OMFLOW's SSL settings, choose one of http / https
Restart the OMFLOW Server service
OMFLOW Collector
Backup steps
Stop serving OMFLOW Collector and OMFLOW Collector Web
Backup folder
C:\Program Files\OMFLOW Collector
Restore steps
Install OMFLOW Collector, refer to the chapter [Installation on Windows]
Notes:
Update to the same version as the backup
Close the following services
List:
OMFLOW Collector
OMFLOW Collector Web
Delete the following folders after installation
...\OMFLOW Collector\omflow\omcustom\migrations
...\OMFLOW Collector\omflow\omdashboard\migrations
...\OMFLOW Collector\omflow\omflow\migrations
...\OMFLOW Collector\omflow\omformflow\production
...\OMFLOW Collector\omflow\omformflow\migrations
...\OMFLOW Collector\omflow\omformmodel\migrations
...\OMFLOW Collector\omflow\omldap\migrations
...\OMFLOW Collector\omflow\ommessage\migrations
...\OMFLOW Collector\omflow\ommission\migrations
...\OMFLOW Collector\omflow\ommobile\migrations
...\OMFLOW Collector\omflow\ommonitor\migrations
...\OMFLOW Collector\omflow\omorganization\migrations
...\OMFLOW Collector\omflow\omformflow\migrations
...\OMFLOW Collector\omflow\ompolicymodel\migrations
...\OMFLOW Collector\omflow\omreport\migrations
...\OMFLOW Collector\omflow\omservice\migrations
...\OMFLOW Collector\omflow\omuser\migrations
Overwrite all backed up files
Modify
...\OMFLOW Collector\omflow\omflow\setting.py
according to the new environment
Project:
LOCAL_IP: OMFLOW Collector’s connecting IP, 0.0.0.0 is any IP
LOCAL_PORT: OMFLOW Collector’s connection port
Restart the OMFLOW Collector service
Linux
OMFLOW Server
Backup steps
Stop the service
/opt/omflow/server/omflow_server stop
Backup folder/opt/omflow
Dump the database OMFLOW dedicated DB
Restore steps
First restore the dumped DB
Install OMFLOW Server, refer to the chapter [Installation on Linux]
Notes:
When installing, select the "SQLite" option
Update to the same version as the backup
Close the following services
Delete the following folders after installation
/opt/omflow/server/omcustom/migrations /opt/omflow/server/omdashboard/migrations /opt/omflow/server/omflow/migrations /opt/omflow/server/omformflow/productions /opt/omflow/server/omformflow/migrations /opt/omflow/server/omformmodel/migrations /opt/omflow/server/omldap/migrations /opt/omflow/server/ommessage/migrations /opt/omflow/server/ommission/migrations /opt/omflow/server/ommobile/migrations /opt/omflow/server/ommonitor/migrations /opt/omflow/server/omorganization/migrations /opt/omflow/server/omformflow/migrations /opt/omflow/server/ompolicymodel/migrations /opt/omflow/server/omreport/migrations /opt/omflow/server/omservice/migrations /opt/omflow/server/omuser/migrations
Overwrite all backed up files
Modify /opt/omflow/server/omflow/setting.py according to the new environment
Project:
DATABASES: Ensure that the IP, Port and other related parameters of the new DB are correct
LOCAL_IP: OMFLOW’s connecting IP, 0.0.0.0 is any IP
LOCAL_PORT: OMFLOW’s connection port
LOCAL_PROTOCOL: OMFLOW's SSL settings, choose one of http / https
Restart the service
OMFLOW Collector
Backup steps
Stop the service/opt/omflow/collector/omflow_collector stop
Backup folder/opt/omflow
Restore steps
Install OMFLOW Collector, refer to the chapter [Installation on Linux]
Notes:
Update to the same version as the backup
Close the following services
Delete the following folders after installation
/opt/omflow/collector/omcustom/migrations /opt/omflow/collector/omdashboard/migrations /opt/omflow/collector/omflow/migrations /opt/omflow/collector/omformflow/productions /opt/omflow/collector/omformflow/migrations /opt/omflow/collector/omformmodel/migrations /opt/omflow/collector/omldap/migrations /opt/omflow/collector/ommessage/migrations /opt/omflow/collector/ommission/migrations /opt/omflow/collector/ommobile/migrations /opt/omflow/collector/ommonitor/migrations /opt/omflow/collector/omorganization/migrations /opt/omflow/collector/omformflow/migrations /opt/omflow/collector/ompolicymodel/migrations /opt/omflow/collector/omreport/migrations /opt/omflow/collector/omservice/migrations /opt/omflow/collector/omuser/migrations
Overwrite all backed up files
Modify
/opt/omflow/collector/omflow/setting.py
according to the new environment
Project:
LOCAL_IP: OMFLOW Collector’s connecting IP, 0.0.0.0 is any IP
LOCAL_PORT: OMFLOW Collector’s connection port
Restart the service
Last updated