Configure Exchange Server Backup
Overview
The Basic (Plugin) Exchange Server backup uses the NTBackup utility to dump the Storage Groups data and thereafter uploads the locally dumped file to backup server. Furthermore, this dump file will be maintained locally in client machine for further differential log backups.
The Advanced (Plugin) Exchange Server backup uses the ESE API to backup Storage Groups and Mail Stores. In the Advanced Exchange Server backup, the initial backup will be compressed and dumped locally and thereafter transferred to the backup server, locally dumped files will be deleted once the files are successfully transferred to the backup server. Hence, locally dumped file size is reduced and uploaded file size is limited.
The Advanced Exchange Server Plugin ESE API backup supports backup of storage groups in entirety, as well as individual databases within the storage groups. Because each storage group uses a single set of log files covering all of the databases in the storage group, restore and recovery operations should be done for the entire storage group.
Backing up databases individually provides greater storage management flexibility. For example, critical databases might be backed up more frequently. Infrequently used or less critical databases might be backed up less frequently. Restoration of the storage group, however, should combine the archives and logs from all of the appropriate storage media, so that the database can be restored and recovered with minimal data loss.
IMPORTANT: Please follow the steps given below before configuring a Exchange Server backup.
- Ensure that the Storage Group/Mail Store configured for backup is mounted. A database must be online to be backed up. If a database has been dismounted it cannot be backed up, and the log sequence will not be truncated.
- Circular logging option should be disabled for the Storage Group, if the Storage Group is configured for either incremental or differential log backups. We recommend that you run a full backup after switching from circular logging to non-circular logging.
go back to top
How to get here in the Web Secure Web Console?
In the top menu, select: "Backup-> Create Exchange Server Backup"
Requirements
Exchange Server 2000 with Service Pack 3 / Exchange Server 2003 / Exchange Server 2007.
Exchange Server Backup Configuration
Enter Backup Schedule Name: The first step in configuring the Exchange Server backup is to give a name for the backup schedule. Web Secure supports creating multiple backup schedules each with its own configuration. The b ackup schedule name will uniquely identify the backup. While restoring your backup data, you need to choose the data to be restored using its schedule name.
go back to top
-
Step 2: Select Backup Source
On the left side of the "Create Exchange Server backup schedule" Page, is the tree with a list of Storage Group and Mail Stores of the Exchange Server detected in the client machine. If the Storage Group or Mail Store is already configured as part of another schedule, it will not be possible to include it in other backup schedules. In this case, the Checkbox will be displayed as an image. Granularity up to Mail Store level backup is supported with the Advanced Exchange Server Plugin. Granularity up to Storage Group level backup is supported with the Basic Exchange Server plugin.
go back to top
-
Step 3: Set Basic Configuration
Backup Type : Drop-down box will, by default, opt for the "Advanced Exchange Server Plugin", if the advanced version of the (SQL + Exchange) plugin is currently enabled in "Advanced Options > Plugin Settings" page. With the advanced version of the plugin enabled, user will have an option to choose both the Basic and Advanced plugin backup for "Exchange Server Backup". The tree listed on the left side of the "Create Exchange Server backup schedule" page content will be refreshed when the Backup Type is changed from "Advanced Exchange Server Plugin" to "Basic Exchange Server Plugin" and vice versa. If the advanced version of the (SQL + Exchange) plugin is currently disabled in "Advanced Options > Plugin Settings" page, then this field will be non-editable and set to the "Basic Exchange Server Plugin".
Select Backup Server : This is the list of peers/backup servers on which the backup data can be stored. Unlike regular data backup schedules in Web Secure (where multiple backup servers are supported), only one backup server is allowed for an Exchange Server backup job. If you wish to configure backup to multiple backup servers, please create separate backup jobs for each server.
Set CPU Utilization : For each backup schedule, you can also specify the CPU utilization level as Low, Medium or High. When you set the CPU Utilization to high, the backup will be really fast - but the backup process may affect the speed of other active applications. If CPU utilization is set to Low, the backup will take longer but will be done in a non-intrusive manner allowing you to comfortably work on the computer as the backup continues in the background. In general for a continuous backup, it is best to set the CPU utilization to Medium or Low. For backups which are done everyday or every week in ‘off-hours’, the CPU utilization can be set to High. Actual performance is obviously a function of your individual machine and your network. We encourage you to experiment with different settings to figure what works best for you.
Set Compression : Should the data be compressed? Setting it to "No compression" will not compress the data and hence the backup may happen faster. The other options are:
Default Compression - Optimal trade-off between compression ratio & speed.
Fast Compression - Sacrifices compression ratio for speed.
No Compression - Fastest but occupies more space on destination machine as no compression is being done.
Temporary location to store the backup dumps - Enter the location/directory path to which the Exchange Server database dumps has to be stored temporarily before uploading to the backup server. Please ensure that you have enough disk space in the configured temporary location (where the backup dump has to be saved). Please note that, backup dumps stored in the temporary location will be deleted once backup dumps are transferred successfully to the remote backup server - if the Advanced Exchange Server Plugin is enabled. For the Basic Exchange Server Plugin backup, this dump file will be maintained locally in client machine for further differential log backups.
go back to top
-
Step 4: Set Password Protection
Password Protect This Backup - This option is to enable or disable encryption of the data that is being backed up. Web Secure uses the well known encryption algorithm, Blowfish. If enabled, a password has to be specified which will be used for generating the encryption key. Encrypting data ensures that it cannot be read in the destination machine (backup server) where your backup is stored, and is especially relevant for sensitive information.
Encryption Key Size - Web Secure supports encryption using variable length (64 to 448 bits) keys. The key is generated using the password you provide. Basically the longer the key size you give the more difficult it is for someone to decrypt the encrypted files. For normal backup purposes the default 64 bit encryption should be good enough.
Type Password - Provide a password here to generate the encryption key. If the password is forgotten the data can never be recovered as the data cannot be decrypted without this password. So, please ensure that you keep your password in a safe place.
go back to top
-
Step 5: Full Backup Scheduling (Decide When To Do Full Backup)
This step allows you to configure the frequency at which a full backup of the selected database has to be done. A full backup is a complete backup of the selected databases and all necessary log files. Once full backup completes, all log files older than the time when full backup started would be deleted. Since full backups take more time to complete than a differential or incremental log backup, a full backup is typically configured to run weekly or monthly or much less frequently than differential or an incremental backup. Configuring a full backup scheduling is mandatory, i.e. this step cannot be skipped. Web Secure will do a full backup dump of the Exchange Server database(s) whenever the full backup is scheduled and back it up.
This step has the following options from which any one can be chosen.
Run Monthly At - Choose the time and day of the month the backup should run. Web Secure will run the backup every month on the particular day and time chosen. Web Secure will run at the stipulated time/day only.
Run Weekly - Choose the time and the day of the week the backup should run. Web Secure will execute the backup every week on the particular day and time chosen. Note that you can select multiple days of the week if you wish to run the backup on multiple days of the week. Web Secure will run at the stipulated time/day only.
Run Daily - Choose the time at which the backup should run daily. This will execute the backup everyday at the time you have provided. Web Secure will run at the stipulated time only.
Run Every Few Hours - Choose the hours/minutes interval between each time Web Secure must run. If Web Secure is restarted in the interim, the backup will run once Web Secure starts. Thereafter, Web Secure automatically reschedules the next backup after the period you’ve set. For example, if you created a backup schedule at 10 am and set it to run every 1 hour, Web Secure will first run the schedule at 10am and the next scheduled time will be 11am. However, if at 10.15am, Web Secure is restarted, then the schedule will run once at 10.15am and the next scheduled time will now be set to 11.15am.
Additionally, you can also select the days in which this schedule should run. For example, if you do not want to run this backup schedule on Saturdays and Sundays, uncheck the checkbox against these days.
Run Once Only - Choosing this option will do the backup only once immediately.
go back to top
-
Step 6: Log Backup Scheduling (Optional Step)
Advanced Exchange Server Plugin users will have an drop-down box to optionally choose between Incremental/Differential Log Backups. Basic Exchange Plugin users will be allowed to configure a Differential Log Backup. Web Secure will do a Incremental/Differential log backup dump of the database with respect to the previous full or incremental log backup whenever this Incremental/Differential log backup is scheduled.
Incremental Log Backup : An incremental log backup backs up only the log files since the last full or incremental backup. Once an incremental backup completes, all log files older than the time when incremental backup started would be deleted. You cannot perform an incremental backup when circular logging is enabled. Since only changes are backed up, incremental backups typically run faster than full backups. Also, as only the log files since the last backup are backed up, incremental backups will run faster than differential backups too. Hence incremental backups are always configured to be scheduled more frequently than a full backup. Configuring incremental backup scheduling is optional.
Differential Log Backup : A differential backup backs up only the log files since the last full backup even when the last backup was a incremental backup. The logs are not deleted after the differential backup completes. You cannot perform a differential backup when circular logging is enabled. Since only changes are backed up, differential log backups typically run faster than full backups. But, as all the log files since the last full backup are backed up, differential backups will take longer to finish than an incremental backup. Hence differential backups are configured to be scheduled more frequently than a full backup. Configuring differential backup scheduling is optional.
This step has the following options from which any one can be chosen.
Run Weekly - Choose the time and the day of the week the backup should run. Web Secure will execute the backup every week on the particular day and time chosen. Note that you can select multiple days of the week if you wish to run the backup on multiple days of the week. Web Secure will run at the stipulated time/day only.
Run Daily - Choose the time at which the backup should run daily. This will execute the backup everyday at the time you have provided. Web Secure will run at the stipulated time only.
Run Every Few Hours - Choose the hours/minutes interval between each time Web Secure must run. If Web Secure is restarted in the interim, the backup will run once Web Secure starts. Thereafter, Web Secure automatically reschedules the next backup after the period you’ve set. For example, if you created a backup schedule at 10 am and set it to run every 1 hour, Web Secure will first run the schedule at 10am and the next scheduled time will be 11am. However, if at 10.15am, Web Secure is restarted, then the schedule will run once at 10.15am and the next scheduled time will now be set to 11.15am.
Additionally, you can also select the days in which this schedule should run. For example, if you do not want to run this backup schedule on Saturdays and Sundays, uncheck the checkbox against these days.
go back to top
There are four options here on how the backup should be scheduled.
Maximum Number Of Full Backups : You can specify the maximum number of full backups that need to be stored in the server. For example if you configured a monthly full backup, then Web Secure will take a full backup every month. After 6 months you will have 6 separate full backups in the backup server along with differential and transaction logs under each of the 6 full backups. If your policy is to retain only backup data for 6 months, then you can configure "Store maximum of 6 full backups" here. On the 7th month, Web Secure, after finishing the 7th full backup, will delete the first full backup along with its differential and transaction log backups thus retaining the last 6 months (full) backups.
Differential Backup Count : If the Exchange Server differential log backups are configured more frequently [Run every few hours] in Web Secure Exchange Server backup and the Exchange Server database(s) are changing rapidly, then the clients backup space usage will grow faster. To avoid this, you can specify maximum number of Differential backups to be kept in the server. If the number of differential backups count exceeds this count then the oldest differential backup files are deleted. This option is available only for Basic Exchange Plugin users.
Run this backup immediately after saving this configuration (thereafter, Backups will be scheduled as per the schedule stipulated) : If you enable this option, then this backup schedule will be executed once immediately after you save this backup schedule – even if its not yet ‘time’ as per the schedule. For example if you configure a daily backup at 10.00 AM but you configured the backup at 8.00 AM, then the backup schedule will be run once immediately (8.00 AM) and then as per schedule (eg. daily at 10.00 AM).
Attempt to run this backup every 5 minutes in case of non completion because of a problem (Network error etc.) : If enabled, then this backup schedule, irrespective of the schedule time/interval, will be scheduled every 5 minutes whenever a backup is incomplete because of a network error, server crash etc. This is to ensure that an incomplete backup is completed as soon as possible without waiting for the actual schedule time. Note that this option is selected by default.
Saving the configured backup
Once all the Exchange Server Storage Group(s)/Mail Store(s) to be backed up are chosen and the configuration options are set, you simply need to click on the "Configure/Save Backup” button to activate the backup as per the schedule- on to the configured backup servers.
go back to top
Troubleshooting Tips
 |
In Backup Report the following message is displayed "The database missed a previous full backup before the incremental backup". |
|
Cause 1: After a successful restore, if incremental or differential logs backup is performed without a full backup then Exchange Server backup report will display the above said message.
Solution 1: Check the option "Run additional full backup after saving this configuration" in the "Edit Exchange Server Backup Schedule" page to run additional full backup and then proceed with the incremental or differential log backup.
Cause 2: If a new MailStore is added to existing Storage Group which was already configured for backup.
Solution 2: Check the option "Run additional full backup after saving this configuration" in the "Edit Exchange Server Backup Schedule" page to run additional full backup and then proceed with the incremental or differential log backup. |
 |
In Backup Report the following message is displayed "Backup is already active". |
|
Cause : This message would be displayed in the client backup report in the following conditions :
-
If the Mail Stores from the same Storage Group or the same Storage Group configured for backup is backed up by some other process.
-
If Web Secure is killed or stopped and started immediately, while exchange server data dump is in progress. A previous instance of Backup (Ntbackup.exe/ESE API) is still running in the background. The previous instance of Ntbackup.exe/ESE API has a connection open to the specified service, so a second instance cannot connect.
Solution : Use Task Manager to identify and stop any other instances of Ntbackup.exe that are not responding. In ESE API case, if the failed backup is a full backup, then edit the backup schedule to take an immediate full backup. For other backup schedules click schedule now button in the "List of Backup Schedule" for the backup schedule to take the backup. |
 |
In NTBackup log file the following message is displayed "NTBackup error: 'The saved selection file "<INSTALL_HOME>\plugins\ExchangeServer\ExchangeServer_<BACKUP_NAME>.bks" cannot be found.' |
|
Cause : This message would be displayed in the NTBackup log files ["C:\Documents and Settings\Administrator\Local Settings\Application Data\Microsoft\Windows NT\NTBackup\data" location] in the following conditions:
-
The NTBackup's saved selection file is not exist in the basic Exchange Server backup plugin folder "<Web Secure Home>\plugins\ExchangeServer\" folder.
-
The NTBackup's saved selection file is empty in the basic Exchange Server backup plugin folder "<Web Secure Home>\plugins\ExchangeServer\" folder.
Solution :
-
If the .bks file doesn't exists, delete the backup schedule and recreate the Exchange Server backup schedule afresh. Please ensure the Exchange Server Information Stores and Mail Stores are listed correctly while configuring Exchange Server backup schedule.
-
If the .bks file is empty, you can follow either the above steps 1 or manually edit the .bks file to fix this issue by following the instructions given below:
-
Open the "<Web Secure Home>\plugins\ExchangeServer\ExchangeServer_<backup name>.bks" file in Notepad.
-
Add the Information stores/mail stores details in the following format.
-
For configuring all Exchange Server Information Stores, add all the information stores in the following format:
JET <Exchange Server Name>\Microsoft Information Store\<Information Store Name 1>
JET <Exchange Server Name>\Microsoft Information Store\<Information Store Name 2>
JET <Exchange Server Name>\Microsoft Information Store\<Information Store Name 3>
...
-
For configuring all Mail Stores under a particular Information Stores:
JET <Exchange Server Name>\Microsoft Information Store\<Information Store Name>\
-
For configuring particular Mail Stores under a particular Information Stores:
JET <Exchange Server Name>\Microsoft Information Store\<Information Store Name>\<Mail Store Name>
You can add multiple Information Stores/Mail Stores entries in the .bks file in each line.
-
Save the .bks file in "Unicode" text encoding format and reschedule the Exchange Server backup schedules.
|
 |
The backup schedule fails with connection failure message [SG083, SG132...] in the backup report. |
|
Cause : The dump process may take some time to complete the client's socket connection to the backup server is idle during the dump process. Some firewall/router/NAT settings may close this idle socket connection. Hence, after the dump process, when Web Secure tries to transfer the dump file to the backup server, the connection is found to be invalid and the backup schedule fails.
Solution : Enable the Keep Alive setting for the backup in the Web Secure configuration file [<Web Secure Path>\conf\SGConfiguration.conf] by following the instructions given below:
- Stop Web Secure
- Edit <Web Secure Path>\conf\SGConfiguration.conf
- Set the <Web Secure><Configuration><Module> tag, "KeepAliveEnabled" attribute's value as "1" and set the "KeepAliveTime" attribute value to desired value.
- Save the configuration file and restart Web Secure.
|
Limitations
- If locally dumped Exchange Server backup data is deleted manually while backup is in progress, then Web Secure will not have the information about the manually deleted file in client machine backup report and in server backup report.
- Local Dump path configured for Exchange Server backup should not contain special characters like single quote('), double quote("), forward slash(/), backward slash(\), question(?), colon(:), asterisk(*), lesser than(<), greater than(>), pipe(|) and plus(+).
- Local temporary Dump location configured for Exchange Server database(s) backup schedule cannot be edited/reconfigured to another location for the same schedule.
- If Exchange Server backup schedule is suspended while local dump is in progress, then Web Secure will suspend the transfer of files to the backup server (till after the local dump process is completed). On resuming the same backup schedule, the dump process will not occur in the next schedule; instead, the locally dumped files will be transferred to server and an error message will be reported in backup report.
- Please ensure that the dump location configured for the backup schedule has enough space to accommodate the exchange dump data. Also, the dump location (full path) should be less than 256 characters.
- If the Storage Group or Mail Store is configured as part of another schedule, then it cannot be included in other backup schedules. If Mail Stores under same Storage Group are configured as separate schedules, then enabling Multi-threading in Web Secure is not recommended for Exchange Server backups.
- A Storage Group configured for backup using the Basic Exchange Server plugin cannot be configured with the Advanced Exchange Server Plugin. If required, the schedule has to first be deleted and thereafter configured using the Advanced Exchange Server Plugin.
- If a new Mail Store was added under a Storage Group of the Exchange Server - after taking a full backup, then, "Additional Full Backup" should be configured through the "Edit Exchange Server Backup" configuration.
- When you try to restore an Exchange Mail Store's full backup which was empty during its first full backup, then restore operation will fail. Hence you should ensure that Exchange Mail Store is not empty when a full backup is scheduled.
go back to top
|