Migrating from DefenderMX
In order to migrate from an existing DefenderMX instance to TUXGUARD Mail Gateway, the following steps need to be completed on the dmx-web host:
Important
Before beginning migration, in order to prevent data loss make sure to Backup or Snapshot your defendermx-web host in case something goes wrong!
Important
The migration will only backup and migrate data present on the web host. Workers need to be reinstalled!
Important
Logfiles are currently not bein exported!
Exporting DMX Data
1) Download the exporter script to your web host:
curl -O https://tuxmail-manual.tuxguard.com/files/dmx_exporter.sh
If not already set, grant execution permissions to the script using chmod +x
2) Stop the defendermx web service:
systemctl stop dmx_web
3) Run the export script:
./dmx_exporter.sh $your_output_path
This will dump the contents of the Postgresql DB to a tar.bz2 archive and store it to the provided output path. Users, Domains, Mail Rules and Configurations will be exported that way.
4) Retrieve the backup archive (filename format is dmxbak_<Ymd_H-M_S>.tar.bz2 and store it locally for later.
Import DMX Data during Installation
After successful installation of TUXGUARD Mail Gateway Web, during initial startup the first step will for an optional backup file import.
See more information here
The created .tar.bz2 is to be used here as backup file input.