Configure Automatic Backups to an Attached Disk
Applies To: Windows Server 2008 R2, Windows Server 2012
You can protect your server and its data automatically by scheduling daily backups to attached internal or external hard disks. To configure scheduled backups, you will need to first:
Identify a location for storing your backups. (For more information about choosing a storage location, see Backing Up Your Server.) Make sure that any hard disks for storing your backups are attached and online. As a best practice, if you use an external hard disk, choose one that supports either USB 2.0 or IEEE 1394. We recommend the disk have at least 2.5 times the storage capacity of the set of items that you want to back up. If you a dedicated disk for storing backups, it should either be empty or contain data that you do not need to keep because Windows Server Backup will format and clean up this disk as part of preparing it for the backup.
Decide what to include in the backup−the full server or only certain items. (For more information about choosing what to back up, see Backing Up Your Server.)
- You can use the Windows Server Backup cmdlets for Windows PowerShell to configure scheduled backups. For more information, see Using Windows Server Backup Cmdlets.
- You can also use the Wbadmin enable backup command to configure scheduled backups. For examples and syntax for this command, see http://go.microsoft.com/fwlink/?LinkId=143762.
To create a backup schedule using the Windows Server Backup user interface
Open the Windows Server Backup MMC snap-in.
In the Actions pane of the snap-in default page, under Windows Server Backup , click Backup Schedule . This opens the Backup Schedule Wizard.
On the Getting Started page, click Next .
On the Select Backup Configuration page, do one of the following, and then click Next :
Click Full server (recommended) to back up all volumes on the server. This is the recommended option.
Click Custom to back up just certain items, and then click Next .
On the Select Items for Backup page, click Add Items . In Select Items , select the check boxes for the items that you want to back up. If you want to back up just certain folders or files on a disk or volume, expand the folder tree and select the items that you want to include. Click OK .
On the Select Items for Backup page, click Advanced Settings , click the Exclusions tab, click Add Exclusions , and then expand the folder tree and select the items that you want to exclude.
On the VSS Settings tab, select either VSS full Backup or VSS copy Backup . Click OK and then click Next .
On the Specify Backup Time page, do one of the following, and then click Next :
Click Once a day , and then select the time from the drop-down list to start running the daily backup.
Click More than once a day . Then, to select a start time, under Available time , click the time that you want the backup to start, and then click Add to move the time under Scheduled time . Repeat for each start time that you want to add.
On the Specify Destination Type page, select Back up to a hard disk that is dedicated for backups (recommended) and then click Next .
On the Select Destination Disk page, select the check box for the disk that you attached for this purpose, and then click Next .
By default, the likely disk or disks are shown in the list. These disks are external disks that can be used for moving backups offsite for disaster protection. If the list is empty, or the disk that you want to use is not listed, click Show All Available Disks . In Show All Available Disks , select the check box next to the disk that you want to use to store the backups, click OK , and then on Select Destination Disk , select the check box for the disk again. This disk will no longer be visible in Windows Explorer—to prevent data from accidentally being stored on the drive and then overwritten, and to prevent accidental loss of backups.
A message informs you that the selected disk will be formatted and any existing data will be deleted. Click Yes . Do not click Yes if you have data on the disk that you need. To use a different disk, click No , and then select a different disk under Available disks .
We recommend that you record and then physically attach the label information to any external disks that you are using to store backups. If you need to recover data from the backup stored on the disk, you will need this information to identify the disk.
On the Confirmation page, review the details, and then click Finish . If you have dedicated a disk for storage, the wizard formats the disk, which may take several minutes depending on the size of the disk.
On the Summary page, click Close .
To configure a scheduled backup, you must be a member of the Administrators group or Backup Operators group, or you must have been delegated the appropriate authority.
You can also perform this task remotely for another server using the Connect To Another Computer option in the Windows Server Backup Microsoft Management Console (MMC) snap-in. Make sure that you are a member of the Administrators or Backup Operators group on the remote server. If you are a Backup Operator, ensure that the Distributed Component Object Model (DCOM) security settings on the remote computer are set to allow Backup Operators to connect to it.
You can only use this feature if the local and remote servers are running the same version of Windows. In addition, you cannot use this feature to manage a computer running any version of Windows client operating system.
You can use multiple external disks to store the data, and rotate them between onsite and offsite storage locations. For instructions, see Configure a Backup Schedule for Multiple Storage Disks.
After you create a backup schedule, you should revisit the settings periodically to confirm that your hardware configuration has not changed and that you are still backing up everything you intended to. For instructions, see Modify or Stop an Automatic Backup Schedule.