This article explains how to create a mirror of your MDaemon server data using the BackupAssist Rsync Engine. We’ll focus on replicating the data locally so that in the event of a server failure, there’s a backup ready to start as soon as possible.
In order to copy the data over to the backup server, we must first start by installing the free cwRsyncServer/OpenSSH applications on it.
In order to write the files to this server with the correct local permissions, we need to create a new local Windows user called ‘Backup’. This user must be added to the local ‘Administrator’ group.
To use Rsync with SSH you will first need to install both SSH and Rsync on your Windows server.
The CWRsyncServer/OpenSSH applications can be downloaded from https://www.backupassist.com/rsync/
If you are planning to use SSH, then before you register a BackupAssist client with your Rsync server, you must activate a user with CopSSH.
In this example, we will set up a backup job to mirror the contents of the C:\MDaemon folder to the Rsync Server. Note this path needs to be the same on the Rsync server or you won’t be able to start the MDaemon service.
This job will now run daily at 22:00. If you wish to run the job every hour you can do this by creating a windows scheduling job to run the BackupAssist job.
The first step is to find out the Job ID for the job we wish to run.
Before you can turn the backup copy of the MDaemon folder structure into a functioning live server, you must first run the MDaemon installer over the top of this folder structure to activate the installation on the backup machine.For this reason, it is a good idea to keep a copy of the installers on the backup server ready to run.