How to backup and restore your SBS 2008 By Mariette Knap 2008, SBS, www.smallbizserver.net backup, restore Backing up your data in SBS 2008 is completely different compared to SBS 2003. In SBS 2008 we use imaging to backup our server which makes it possible to restore your server in case of disaster in a way that is much easier and quicker. Table of contents How to backup and restore your SBS 2008 How to backup your SBS 2008 server How to recover files and folders How to restore Exchange server 2007 Data How to restore Sharepoint Services 3.0 data How to recover from a disaster Fix some errors in the event log after the disaster recovery "In information technology, backup refers to making copies of data so that these additional copies may be used to restore the original after a data loss event. These additional copies are typically called "backups." Backups are useful primarily for two purposes. The first is to restore a state following a disaster (called disaster recovery). The second is to restore small numbers of files after they have been accidentally deleted or corrupted." How to backup your SBS 2008 server You can backup to external USB 2.0, IEEE 1394, or eSATA drives. Remember that your drive should at least be 2.5 times the size of the data you want to backup. From the menu start the SBS server console if it is not already started. It should start normally if you logon to the server after restarting or rebooting. The wizard has started. Click Next. Now we need to specify the backup destination. That can either be a USB drive, a eSATA drive or hot swapable drives in our server. More information on the hardware that can use can be found here Best Practices for Backing Up and Restoring Server Data. Make your choice and click Next. If for some reason your drive is not listed check 'show all valid...' and click on the refresh button. Label the destination drive. I always make stickers with the names and put them on the drives I use for my backups. If you use for every weekday a drive you should name them Monday, Tuesday etcetera. As you see our drive labeled C is included and because dive E labeled Data holds all of our data we need to include that also. This is one of the reasons you should upgrade to SBS 2008. It can make incremental snapshots of your data and that even more than once on a day. Click Next. Click 'Configure'. SBS Backup will format your drive in a special format. You will no longer be able to browse the drive in Explorer. Click Yes. Please, wait until the configuration has been completed. Click Finish. Click Backup Now in the console to start your backup for the first time. How to recover files and folders If we want to restore data we do the following: From the SBS server manager click ' Restore server data from backup'. The native backup software within Windows Server 2008 starts. On the right side click ' Recover'. Click ' Next'. After you have selected the date and time of the backup you want to restore click Next. Choose restore files and folders. In this case we want to restore the Users Shares. Click Next. Now we need to set the Recovery options. In our example we choose to restore to the original location, to overwrite existing files and we choose to restore security settings. Click Next. We get to see a summary. Click ' Recover'. When you have a lot of data initializing can take some time. We did not gave a lot of data to restore so it did not take a lot of time. Click Close. You can see that is restore has been logged. Double click on that entry to see the details. The details window tells us what we just restored. How to restore Exchange server 2007 Data From the SBS server manager click ' Restore server data from backup'. The native backup software within Windows Server 2008 starts. On the right side click ' Recover'. Click ' Next'. After you have selected the date and time of the backup you want to restore click Next. Choose ' Applications'. Choose ' Exchange' and click next. If you want to know about roll-forward recovery please read on MSDN: Roll-Forward Recovery http://msdn.microsoft.com/en-us/library/ms986590(EXCHG.65).aspx Choose to restore to the original location and click Next. Click ' Recover'. The recovery process is initializing. The wizard is preparing to restore. The recovery wizard is running to restore your Exchange Server 2007 data. The recovery of your Exchange data is completed, click Close. The event log in Windows Server Backup informed us about a successful application recovery. Click on the event to see the details. The event in detail. How to restore Sharepoint Services 3.0 data From the SBS server manager click ' Restore server data from backup'. The native backup software within Windows Server 2008 starts. On the right side click ' Recover'. Click ' Next'. After you have selected the date and time of the backup you want to restore click Next. Choose ' Applications'. Select Windows Sharepoint Services and click Details. You will see in details window that the SQL databases are included in this backup. Remember that in another article we moved the Sharepoint database to a member server. Those will need to be included in a backup routine that runs on the member server and that is outside of the scope of this chapter. Click ' Next. We choose to recover to the original location. Click Next. Click ' Recover' to start the actual recovery process. The process is initializing. This can take awhile if you have a lot of data that needs to be recovered. The recovery process is running. The restore was completed. Click ' Close'. And also for this restore an event log has been logged. Click on the event log to view the details. See the details of this event log. How to recover from a disaster With previous versions of Small Business Server restoring in case of catastrophic disaster was always a nightmare It was improved a lot with SBS 2003 but it was not perfect yet. With SBS 2008 this has all changed. You can restore your PC back to its original state or onto another PC. Windows Complete PC Backup and Restore can be initiated from the SBS 2008 installation DVD, if the PC is not able to start up normally from the hard disk. Imagine this...we had a server without a Raid array and therefor all our data was on one drive and the only backup we had was the one we made the night before with SBS 2008 backup. This is of course very bad practice but you should not be surprised how many times I have seen that. If you go to stores like the Office Center in the Netherlands you can buy a server for Euro 700 but it does not have any redundancy. People ask me sometimes why a ' good' server costs more then the mentioned Euro 700. Well, if you want Raid (and believe me you want that!) you should prepare for a higher price. Anyway, we have bought ourselves a super priced server without Raid and the one and only drive in that server dies.... What now? Get a new hard drive and start the Windows Complete PC Restore from the SBS 2008 DVD. You need to set the Bios of your server so that it allows to boot from the DVD. Here we go. Boot from the first SBS 2008 DVD but do not continue to install. Instead you choose ' Repair your computer'.... The new drive does not have any valid partitions or operating system on it. When you try to restore to a failed drive but that drive still has an operating system on it it could be that it is listed still in the below screen shot. You will need to remove the old partitions first before starting the restore but that subject is currently not included in this chapter. If you have a device that needs special drivers like a special Raid controller then it is now time to store the drivers on a USB stick and connect that to your server and hit ' load drivers'. If you are restoring to a standard device or to a Raid controller for which Windows has the drivers already included you don't need to do anything. Hit Next. That was what we were looking for....Windows Complete PC Restore...that sounds just perfect! Click on it... This looks just to good to be true.... Click Next If you click on Install drivers you will be able to sort of ' inject' drivers into the installation that were not included in the original installation. That sound a bit like a hardware migration tool...that is for another article. Click Advanced. Yes, it seems a good idea to check the disks before we continue. Click OK. Click Next. Click Finish to start the restore. You need to confirm that Windows Complete PC Restore need to format the disks. Click OK. This will take several minutes...hmmm very optimistic aren't we? You can click ' Restart now' if you wish to speed up the process of restoring your server... Fix some errors in the event log after the disaster recovery After you have successfully restored your server from a disaster you may see some errors in the event log like this one: Though it seems you can safely ignore the error I don't like those in my event logs so I try to fix it. Here is how you do that. Click Start, click Run, type dcomcnfg in the Open box, and then click OK. Expand Component Services, expand Computers, expand My Computer, and then click DCOM Config. Right-click IIS WAMREG admin Service, and then click Properties. Click the Security tab. Under Launch and Activation Permissions, click Edit. In the Launch Permission dialog box, click Add. In the Select Users, Computers, or Groups dialog box, type the domain user account that you specified as the Windows SharePoint Services 3.0 service account, click Check Names, and then click OK. In our case the user account is Network Service. That is the identity used to run the Sharepoint application pools. In the Permissions for UserName list, click to select the Allow check box that is next to Local Activation, and then click OK two times.