Veeam 8 online backup Lotus Domino

veeam8backupdomino01

Since Lotus Domino is an application non-VSS aware, the DBs consistency must be guaranteed during the Veeam 8 backup Lotus Domino process.

Using Lotus Domino as corporate messaging system, the databases consistency is guaranteed running custom quiescing scripts (pre-freeze and post-thaw) stored in C:\Windows in the Domino Server during the backup job.

Directory location where the scripts should be located inside the VM depending on the version of ESXi.

veeam8backupdomino02

To perform a Lotus Domino online backup, a single script can be used instead with the procedure explained by Andreas Neufert (Veeam Solution Central Architect EMEA).

 

Procedure

Using a text editor like Notepad, create a script with the commands to drop the connected users and flushing the cache in Domino.

rem --------------------------------------------------------------
rem   Company:  NOLABNOPARTY
rem   Script:   VeeamBackup.bat
rem   Date:     25/11/2014
rem --------------------------------------------------------------

"C:\Program Files\IBM\Lotus\Domino\nserver.exe" -c "drop all"
timeout /t 5 /nobreak

"C:\Program Files\IBM\Lotus\Domino\nserver.exe" -c "dbcache flush"
timeout /t 5 /nobreak

Net Time \\%computername% >> C:\scripts\logs\veeambackup.log

Save the file as VeeamBackup.bat.

veeam8backupdomino03

Create a directory C:\scripts in Veeam server local drive and copy the VeeamBackup.bat file.

veeam8backupdomino04

Now open Veeam Backup and Replication 8 and click Backup Job button to create a new backup job.

veeam8backupdomino05

Assign a Name to the backup job then click Next.

veeam8backupdomino06

Click on Add button to add the VM Lotus Domino to the backup . Click Next to continue.

veeam8backupdomino07

Select the Backup repository and the Backup mode. Click Next to continue.

veeam8backupdomino08

Thick Enable application-aware processing option and click on Applications button.

veeam8backupdomino09

Select the VM to configure then click Edit.

veeam8backupdomino10

In General tab, select Perform copy only option then click Scripts to move to next tab.

veeam8backupdomino11

Select Require successful script execution option to enable the scripts fields. Click Browse button next to Pre-freeze script and select the file previously created.

veeam8backupdomino12

Select the file script created then click Open.

veeam8backupdomino13

Click OK twice to save the settings.

veeam8backupdomino14

From the drop-down menu, set the Credentials then click Next.

veeam8backupdomino15

Specify the job scheduling options then click Create.

veeam8backupdomino16

Click Finish to exit the wizard.

veeam8backupdomino17

To manual execute the backup, right click the new created backup job and select Start.

veeam8backupdomino18

The backup job runs the pre-freeze script (VeeamBackup.bat) to drop all the connections and flushing the cache.

veeam8backupdomino19

In Lotus Domino the commands in the pre-freeze script are executed.

veeam8backupdomino20

Veeam backup safely creates the snapshot keeping all the DBs consistent.

veeam8backupdomino21

The process completes successfully.

veeam8backupdomino22

This solution keeps all the configurations inside Veeam server making the overall backup process centralized (scripts included) and with a better control.firma

2 Comments

    • Paolo Valsecchi 10/11/2015