Train Signal 8 Year Anniversary Contest

The Right Way to Perform a Backup in Exchange 2007

Gosia Grabowska

Performing a backup in Exchange is a frequently misunderstood topic. The procedure is a bit different from a regular backup, and you can very easily run into some major problems if you don’t know what to do and what not to do.

So today, I would like to show you the right way to perform a backup in Exchange Server 2007 and make sure you know how backups work.

The Wrong Way!

Before I show you how to correctly setup a backup in Exchange, I would like to tell you what not to do. Ever.

You might already know how to do a regular on-line file level backup. And you probably run this type of backup all the time for your file servers and personal computers, which works fine.

But if you perform this type of backup on your Exchange server, the Exchange databases will not be fully recoverable. If you do an on-line backup of an Exchange database without shutting it down, you will have a lot of problems with your backup.

The reason for this is that while the backup is copying the database which, by the way may take a minute or an hour, the database is still active and there are changes being made to it – within the minute or longer. So the backup that you are getting of that database is not an accurate backup and in turn it is a very difficult backup to work with in case of a disaster recovery procedure.

Typically, after you perform a restore from this type of a backup, the database won’t mount and you will need to run a repair tool on it. This may cause you to lose quite a bit of data and there is a chance that you might never be able to recover that database at all.

So remember, whatever you do, do not perform a file level backup on Exchange Server.

An “image” backup of Exchange Server is another type of backup that you should stay away from.

The “image” backup takes snapshots of a server and then does the backup. Well, since this type of backup doesn’t copy the entire server in a flash, there is an opportunity for the Exchange database to actually change during the backup process. So you might encounter the same problems as with the on-line file level backup, where the database refuses to mount, loses data, or becomes completely unrecoverable.

The Right Way!

Now that you know what not to do, let’s go over the types of backups you should be doing on your Exchange Server.

Option # 1 – use a backup that is an off-line-level backup. Take the database off-line, do the backup and put it back on-line.

Option # 2 – the best type of backup for an Exchange Server is an “exchange-aware” backup. This type of backup will capture all the Exchange data properly and it will flush the Exchange logs, which are very important for your server recovery.

NTBackup is a type of “exchange-aware” backup. It is one of the most popular Exchange backup system for small to medium size businesses and it’s available from Microsoft. In fact, you probably already have it on your Exchange Server and don’t even know it.

One thing to keep in mind is that using an “exchange-aware” backup is not enough to create a proper Exchange copy. You have to make sure to configure these backups in “exchange-aware” fashion, which I will explain in more detail below.

What to Backup?

Not everything on your Exchange Server needs to be backed up. However, there are a few things that must be backed-up to be able to run a successful recovery:

  • Mail databases – as mentioned above, in an “exchange-aware” fashion
  • System State files and folders
  • Files and folders under Program Files\Microsoft\Exchange Server\ with the exception of the Storage Group Folders in Mailbox directory as they are going to be backed up in an “exchange-aware” fashion also

Now that we know what to backup and which type of backup to choose, let’s go over the steps of a backup procedure.

Performing the NTBackup on Exchange Server 2007

We got the most important Exchange backup basics covered and now we’re ready for the steps on how to configure your NTBackup. I know this is what you have been waiting for, so let’s get started.

  1. To start, login to your Exchange Server, click on the Start Menu, select Run, type in ntbackup and hit Enter:


  2. Backup 1

  3. In the Backup Utility window for NTBackup, click on the Backup tab:


  4. Backup 2

  5. You will see all your hard drives listed in this window; you will also see a System State listed, as well as the Microsoft Exchange Server option.

    Expand the Microsoft Exchange Server all the way down until you are able to see your Storage Groups. In my example below, there are two Storage Groups listed: First Storage Group and Second Storage Group



  6. Backup 3

  7. Go ahead and check the boxes next to all of your Storage Groups:


  8. Backup 4

  9. Next, expand your Local Disk where your Exchange Server was installed and then the Program Files Folder:


  10. Backup 5

  11. Locate the Microsoft folder and expand it. You should now be able to find the “Exchange Server” folder. Go ahead and check the box next to it:


  12. Backup 6

  13. Now remember, we need to exclude the Storage Group folders from that directory. So expand the Exchange Server folder and then the Mailbox folder:


  14. Backup 7

  15. Uncheck the checkboxes next to all of your Storage Group folders. In my example I am unselecting the box next to First Storage Group and Second Storage Group.


  16. Backup 8

  17. Alright, we’re almost done here. The last thing we need to remember is to check the box next to our System State, so let’s do this now:


  18. Backup 9

  19. Now it’s time for you to select the backup destination. You can select a network drive, a secondary local disk or a media tape:


  20. Backup 10

  21. After you have selected your backup destination, click on the Start Backup button:


  22. Backup 11

  23. At this point you have two sets of options:

    Option Set #1 – Choose between appending the backup to the media or replacing the data. I’m going to replace the data.

    Option Set #2 – Start the backup right away, or create a schedule. In my example, I’m going to start it right away.

    When you have made your selections, click on the Start Backup button to start the actual backup process:



  24. Backup 12

  25. Once the backup is completed you will see the screen below. At this time you have successfully preformed an Exchange Server backup – the Right Way!


  26. Backup 13

Check out my previous articles on Exchange Server 2007:

 
Exchange Server 2007 Training


 

Related Posts:


 

13 Responses to “The Right Way to Perform a Backup in Exchange 2007”

  • al Says:

    What if you are using Veritas Backup? same principle as you suggested?

  • Matt Moberg Says:

    Brilliant support page. I have no suggestions in making it better. Nice job.

  • Jose Says:

    Hi, I have your Windows Server 2008 train video and is great. Keep up the good job

  • Godwin Chanda Says:

    Unbeliveable explanation! straight to the point and very clear. the moment i read this artical i even did the exchange 2007 backup for my company. guys you don’t bring big words like others training materials have read before just to confuse people but you are great!

  • John Brines Says:

    What is the reason for backing up the folder in sections 6 – 8, I seen another site and they don’t mention that part?

    Using NTBACKUP on Exchange Server 2007

    Thanks

    John.

  • What about Granular support on NTbackup? what if I want to backup specific e-mails for specific mailbox?
    what do you recommend?

    Thank you,

    Maroon.

  • Lazar Andrei Says:

    Hello!
    Can you please show us the right way to backup and restore Exchange 2007 SP2 CCR with Wbadmin.exe?

    Regards,
    Andrei

  • bhupesh Says:

    what about if we using this on server 2008, as i know NTBACKUP is discontinue on server 2008.

    any solution???

  • Alex Says:

    Hi Gosia,

    Thanks for the guide.

    Just 2 questions.
    Will the Databases be unmounted from the server during the backup?
    If thats so, we wont be able to recieve or send emails during the bakcup time, right?

    Regards,

    A.

  • Asif Rana Says:

    Hi,

    Very nice and very clear steps to take the backup. I really impressed with ur instructions.

  • Daniel Ghazi Says:

    very good exchange server 2007 backup instructions. our IT support clientele are interested in using the best ways possible to backup their exchange servers.

  • Thanks Daniel! We really appreciate your feedback and we’re glad this article was helpful :)

  • Ian Thompson Says:

    WARNING: NOT SERVER 2008 COMPATIBLE

    Very well done article – If this could be updated for server 2008 which does not have the NTbackup utility that would be great. (You can download NTbackup for 2008 but it only enables restore functions, no backup)

Leave A Comment: