⬆️ ⬇️

How to transfer a Zimbra server to another server

A lot of questions from system administrators are caused by the migration of the Zimbra Collaboration Suite from one server to another or the migration from version to version. The easiest and most effective way to do this is to use the free Zextras Migration Tool.



image



Zextras Migration Tool is a free tool of Zextras Suite that allows you to transfer data and settings of mail domains from any version of Zimbra Collaboration Suite to another. For the transfer, you also need the Zextras Backup module, which is part of the Zextras Suite and which has a 30-day trial period with full functionality.



Main features of Zextras Migration Tool:

')



Installation



No additional software is required to install Zextras Migration Tool. Download the module from the official site and unpack it in any directory:



$ tar xfz Zextras_migration_tool-XXXtgz

$ ls

Zextras_migration_tool-XXXtgz Zextras_migration_tool-XXX/




Inside the Zextras_migration_tool-XXX directory is the install.sh file. If you run it with the -h option, you can see the installation notes.



$ cd Zextras_migration_tool-XXX

$ ./install.sh -h



./install.sh -h | ./install.sh [ -u ] all|zimlet|core



-h This very message

-u Uninstall the target



The targets available for (un)installation are:

core -- Zextras Migration Tool Core

zimlet -- Zextras Migration Tool Zimlet

all -- Zextras Migration Tool Core followed by Zextras Migration Tool Zimlet



* In order to use Zextras Migration Tool both

* core and zimlet need to be installed.




To successfully complete the installation, you must either become the root user, or execute the script with root privileges.



$ su -

# ./install.sh all




Or:



$ sudo ./install.sh all



Go to the export data



Export data using the Zextras Migration Tool



In the left pane of the Zimbra Collaboration Suite Administrative Console, select ZxMig.



image



image



Click “Start Migration”.



image



Enter the path to save the data and click "Next". Zextras Migration Tool checks if the destination folder is empty and if the user has permissions to write files.



image



Select the domains you want to export and click “Next”.



image



Check it out. You can also add additional email addresses by which users will be notified of the completion of the restore operation. Note that the administrator account and the user who started the migration procedure are notified by default.



image



Importing Data with Zextras Backup



On the server where you plan to transfer data, you must install a trial version of Zextras Suite. Or purchase a license. Download packages from the official website (http://www.Zextras.com/Zextras-download-for-zimbra.html) or by the command:



Wget http://www.Zextras.com/download/Zextras_suite-latest.tgz



Unpack the archive:



$ tar xfz Zextras_suite-XXXtgz

$ ls

Zextras_suite-XXXtgz Zextras_suite-XXX/




And run the installation:



./install.sh all



After installing the Zextras Suite zimlets in the Admin Panel, go to the "Backup" tab.



image



Click the “Import Backup” button in the “Import / Export” section to open the backup import wizard.



image



Transfer the saved copy to the server and list the path to it. Then click “Next”. Zextras will check if the target folder contains a valid Zextras backup and whether the user has permissions to read and edit it.



image



Select the domains you want to import and click “Next”.



image



Select the accounts you want to import, and click Next. No need to import a System Resource account!



image



Check all and add additional email addresses for users who need to be notified of the completion of the restore operation. Please note that the administrator account and the user who started the recovery procedure are notified by default.



image



Done!

Source: https://habr.com/ru/post/334926/



All Articles