Rainmail Server Administrator Guide
Restoring Backup

In case of a machine crash, backup can be used to restore the system as follows:

  1. Install Cent OS 5.10 and Rainmail Intranet Server as per the instructions given in previous sections.
  2. Delete all existing backup files (if any) in either the following directory:
    • /home/mailservice/backup
    • /usr/share/smb/backup
  3. Copy all backup files onto the backup directory, either
    • /home/mailservice/backup, or
    • /usr/share/smb/backup
  4. If the backup files have been split up by Rainmail, it is important to copy all the split files.
  5. Open Rainmail Administrator Java GUI
  6. Scroll down to Backup Functions menu on left hand side Window. Then click on Restore Backup menu on left. That will bring up the following Window.

  1. Click on Restore Backup button. Rainmail will take the backup data and use the same to the current server. When restore is completed following dialog will be displayed:

  1. Click on OK to close the dialog.
  2. Reboot the machine. When the machine reboots, following need to be done to fully restore the backup.


Specify proper MAC addresses in the Network configuration files 

  1. When OS and Rainmail are installed, MAC addresses of the Network card are written onto the following files:
    • /etc/sysconfig/network-scripts/ifcfg-eth0
    • /etc/sysconfig/network-scripts/ifcfg-eth1 (if exists)
    • /etc/sysconfig/network-scripts/ifcfg-eth2 (if exists)
  2. When backup is restored, these files are overwritten. They will have the MAC addresses of the old server. We will need to fix the files to reflect the correct MAC address. Administrator can get the correct MAC address and place the same in the above files as follows:
    • Click on System -> Administration -> Network. That will bring up the following dialog

  • Click on the Network card (eth0/eth1/eth2) for which we want to find the MAC address. Click on Edit button. In the dialog that comes, up click on Hardware Device tab. That will bring up the following dialog:

  • To get the correct MAC address of the Network card, click on Probe button (highlighted by Red Oval above). That will get the MAC address and display in the Bind to MAC address edit box.
  • Open up the file /etc/sysconfig/network-scripts/ifcfg-eth0 (or eth1, eth2 as applicable) in Editor and fill in the correct MAC address. Save the file after editing.


Restore Client Server Certificate 

  1. The next manual step in Backup restoration is that of Client Server certificate. When the Rainmail Java GUI runs, it uses a certificate to authenticate to the server. When Rainmail backup is restored, client certificate changes, while server certificate remains the same. Therefore, it is necessary to pull in the correct client certificate and restore it. The same can be done as follows:
  2. In an Internet browser, open up the URL http://<Rainmail Server IP>/webadmin. That will bring up the following:

  1. Click on RIS Client Certificate and store the file locally.
  2. Open up Rainmail JAVA GUI using Start ->System -> Configure Rainmail Server. In the dialog that comes up, enter password. That will bring up the following Window:

  1. Click on Administrator menu on the left Window. In the Window that comes up on the right, click on Browse button and choose the file downloaded in the above Step.
  2. Click on Set button.
  3. That will save the correct Client certificate.
  4. Now quit the GUI and reboot the server.
  5. When the server come back up online, it would have all the configuration and data of the original server and will be fully functional.
Copyright (c) 1999-2014. All rights reserved.
What do you think about this topic? Send feedback!