نمایش نتایج: از شماره 1 تا 3 از مجموع 3

موضوع: Backup and Restore in Windows Server 2008

  
  1. #1
    نام حقيقي: 1234

    مدیر بازنشسته
    تاریخ عضویت
    Jul 2009
    محل سکونت
    5678
    نوشته
    5,634
    سپاسگزاری شده
    2513
    سپاسگزاری کرده
    272

    Backup and Restore in Windows Server 2008

    کد:
    http://www.biztechmagazine.com/article.asp?item_id=450
    There’s some good news for IT managers deploying Windows Server 2008: Backup and Restore has been reworked in this edition to leverage the Volume Shadow Copy Service (VSS) and block-level transfers for faster backups, and it also integrates with recovery tools for simplified restoration of files and the operating system. Windows Server 2008 disposes of the aging NTBACKUP utility and introduces Windows Server Backup, an optional feature that can be installed through Server Manager. As in Vista’s Complete PC Backup, Microsoft’s virtual hard drive (VHD) format is used to create file-based images of disk volumes. Before I address how to work with the new software, it’s important to note that several important features of NTBACKUP have been dropped from Windows Server Backup.
    Windows Server Backup — Need to Know

    The software is primarily designed for disk-to-disk use; tape drives are not supported. While disk-to-disk backup promises a simple, reliable and affordable solution, the lack of portability for offsite backups could be an inconvenience with some hardware. Even though bays for removable drives are becoming more common in low-end servers, removable hard drives are expensive compared with tape. Limited support for writable DVD is provided (no recovery operations for individual files, folders or application data are allowed), along with external USB drives.

    Much like Complete PC Backup in Vista, you can’t back up individual files and folders, only complete volumes. Another NTBACKUP feature, the verify option, is available only when the backup destination is removable media, so you can’t always run consistency checks. While it’s possible to set the backup destination to a mapped drive or NTFS mount point, it’s no longer possible to back up a network drive, or local drives that are not formatted with NTFS. Backups of the system volume contain everything necessary to restore a working server, but if you want to back up just the system state, you’ll need to use the command line.
    The situation looks a little better in the recovery area, with the added ability to select individual files and folders using the GUI or the command line. The Windows Recovery Environment can be used in combination with backups to restore files and folders or entire volumes and perform bare-metal restores.
    Application Support and VSS

    Software that supports the Volume Shadow Copy Service can be registered with Windows Server Backup via a VSS writer, but the ability to make an online backup of Exchange is no longer available. The lack of support for Exchange seems a little off the mark, considering it’s unlikely anyone wants to make offline database backups regularly. Microsoft’s Exchange team promises a VSS plug-in for Windows Server Backup sometime in the future. They also say that Windows Small Business Server 2008 will include support for backing up Exchange.
    Windows Server Backup offers two types of backup: VSS copy and VSS full. VSS copy, which is the default and recommended option, preserves application logs (if they exist) on selected volumes without updating files’ archive bits. Archive bits are file attributes used to mark files as backed up. This lets Windows Server Backup work in parallel with third-party software that’s used to back up applications such as Exchange, without interfering with incremental or differential backup schedules that such applications support.
    In contrast, VSS full backups truncate application transaction logs and update the archive bit of all backed-up files. While there’s no option to select an incremental backup in the GUI, if you use a volume that contains a previous backup, only changes made since the last backup will be saved, giving ultra-fast performance.
    Creating a Scheduled Backup

    Regardless of the limited functionality, it’s worth knowing how to perform basic tasks with the built-in software. Log on to Server 2008 using an account with local administrator privileges:

    1. From the command prompt run servermanagercmd.exe -install Backup-Features.
    2. When the backup features have finished installing, open Windows Server Backup from Administrative Tools on the Start menu.
    3. In the Actions pane on the right, click Backup Schedule.
    4. Click Next on the Getting Started dialog. Choose Full Server on the Select backup configuration screen. Click Next to continue.
    5. On the Specify backup time screen, leave the default option of once a day at 21:00 selected and click Next.
    6. On the Select destination disk screen, I’ve selected my external drive (E:\) (Figure 1). To select an internal disk, click Show All Available Disks. Click Next to continue.
    7. At this point you’ll be warned that the destination disk will be dedicated to backup (to facilitate moving the disk offsite) and formatted and hidden from Windows Explorer (to ensure integrity). Click Yes to continue.
    8. You should note the disk’s label from the Label destination disk dialog, and write it on the disk enclosure, if it’s external or removable, so it can be easily identified in the future. Click Next and then Finish on the confirmation screen. The Backup Schedule Wizard will then format the disk and you will be presented with a summary screen, telling you when the first backup is scheduled to run. Click Close to continue.
    9. You should now see information about the backup you’ve just created in the Windows Server Backup console under Status (Next Backup) and Scheduled Backup. To run the scheduled job ahead of time, click Backup Once in the Actions pane, in Backup options leave the default settings, click Next and then Backup on the confirmation screen.


    Figure 1
    If you have multiple disks available for use with Windows Server Backup, the Backup Schedule Wizard lets you specify more than one backup destination. When a scheduled backup runs, a disk will be chosen randomly, if more than one configured destination disk is connected. Therefore, you should make sure that only the required disk is connected before the scheduled start time.
    System State Backups

    The system state is included in our full backup, but what if we want to run a quick system state backup without the overhead of the entire system volume? The Windows Server Backup console doesn’t provide for this, but we can perform this task from the command line:

    1. Since our destination disk has been dedicated to backup tasks by Windows Server Backup and hidden from Windows Explorer, we’ll have to determine the volume’s name using the following command:

      wbadmin get versions

      Backup time: 04/07/2008 06:25
      Backup target: Fixed Disk labeled WIN-XRG 2008_07_03 14:38 DISK_01(\\?\Volume{e01f7065-48ff-11dd-83fb-000c29d73f77})
      Version identifier: 07/04/2008-05:25
      Can Recover: Volume(s), File(s), Application(s), Bare Metal Recovery, System State
    2. The disk’s label should match what you wrote down when preparing the disk for scheduled backup. The volume name then needs to be specified, to back up the system state as shown below:

      wbadmin start systemstatebackup -backupTarget:\\?\Volume{e01f7065-48ff-11dd-83fb-000c29d73f77}

    Restoring Files

    Restoring files can be done from the command line using wbadmin or from the Windows Server Backup console. Let’s use the console to restore a file:

    1. Open the Windows Server Backup console from Administrative Tools on the Start menu.
    2. Click Recover in the Actions pane on the right.
    3. Leave This server selected and click Next on the Getting started screen.
    4. On the Select backup date dialog, select the date and time of the backup you want to use for the restore operation and click Next (Figure 2).
    5. Leave the default option of Files and folders selected on the Select recovery type dialog and click Next.
    6. Expand the disk’s label under Available items, highlight the files you want to restore in the right pane and click Next (Figure 3).
    7. On the Select recover options dialog, leave the default options selected to restore the files to the original location. Click Next to continue.
    8. Review the confirmation screen and click Recover. Once the restore is completed, click Close on the Recover progress dialog.


    Figure 2

    Figure 3
    Using WinRE to Restore a Server

    In the event of a disaster, backups made by Windows Server can be used in conjunction with the Windows Recovery Environment (WinRE) to get your server back up and running with a minimum of fuss. Boot your server into WinRE from the Windows Server 2008 media or from the hard disk if WinRE’s preinstalled:

    1. Select your language, regional preferences and click Next.
    2. Click Repair your computer on the Install Windows dialog.
    3. On the System Recovery Options dialog, select the operating system to repair and click Next.
    4. Click Windows Complete PC Restore on the System Recovery Options screen. This will erase files and restore the system volume.
    5. Click Next to use the most recent backup on the Restore your entire computer from a backup dialog (Figure 4).
    6. Check Format and repartition disks on the Choose how to restore backup screen. The disk that contains the backup will be automatically excluded from this operation. If you have any additional volumes in the backup, an option to Only restore system disks is given to exclude the extra volumes from the restore process (Figure 5). Click Next to continue.
    7. Review the final dialog and click Finish.


    Figure 4

    Figure 5
    From the System Recovery Options window, it’s also possible to launch a command prompt and use wbadmin. In WinRE, wbadmin offers more flexible recovery options than the Windows Complete PC Restore wizard. wbadmin start recovery is for restoring individual volumes, applications or files/folders. wbadmin start sysrecovery is for running a complete PC restore. To run a complete PC restore from the command prompt:

    1. Issue the following command lines:

      wbadmin get disks
      wbadmin get versions -backupTarget:d:

      In this case I can use the drive letter as indicated by the wbadmin get disks command, as it’s not hidden in WinRE.
    2. Run wbadmin get versions –backupTarget:d: to list the backups stored on the target volume. There are two backups to choose from (Figure 6).
    3. Run a restore from the latest backup, using the version identifier from the output of the wbadmin get versions command:

      wbadmin start sysrecovery -version:07/04/2008-06:14 -backupTarget:d:
    4. Follow the prompts to complete the restore operation.


    Figure 6
    IT Takeaway

    The restore features in Windows Server Backup are appealing, but let down by inflexible backup options and lack of support for Exchange Server and tape drives. Windows Server Backup might be useful in scenarios where disk-to-disk is used as the primary backup method. However, all but the most basic removable and disk-to-disk backup systems feature their own management and backup software, or are compatible with popular applications such as Symantec’s Backup Exec. Whatever your backup strategy, it’s likely that Windows Server Backup won’t provide for all your needs. That might change in the future when support for Exchange is added.
    Russell Smith is an independent consultant based in the United Kingdom who specializes in Microsoft systems management.






    موضوعات مشابه:
    ویرایش توسط patris1 : 2010-02-15 در ساعت 02:24 AM





  2. #2
    نام حقيقي: 1234

    مدیر بازنشسته
    تاریخ عضویت
    Jul 2009
    محل سکونت
    5678
    نوشته
    5,634
    سپاسگزاری شده
    2513
    سپاسگزاری کرده
    272

    Bare-Metal Restores from Windows Server 2008 Backup

    کد:
    http://www.wbadmin.info/articles/howto-bare-metal-restores-windows-server-2008-backup.html
    Using the Windows Recovery Environment on Windows Server 2008 you can perform a bare-metal restore to recover your server operating system or the entire server itself. An operating system restore will only recover critical drive volumes that contain system components. If you would like to restore all volumes, you will need to conduct a full server recovery.
    Before attempting to complete an operating system or full server restoration from a drive image backup created with BackupAssist, make sure of the following:

    • You have a Windows Server 2008 setup/installation disc.
    • If you are recovering to a new hard disk, make sure the disk is at least as big as the disk that contained the volumes that were backed up, regardless of the size of those volumes. For example, if there was only one volume that was 100 GB on a 1 TB disk during backup, you should use a disk that is at least 1 TB when restoring.
    • If you are recovering just the operating system, make sure that you have a backup available that contains at least the critical volumes of the server. If you are recovering the full server, make sure that you have a backup available that contains all volumes of the server.

    Performing a bare metal recovery - step by step
    1. Boot the Windows Server 2008 from the installation media and select the appropriate settings for:
      1. Language to install
      2. Time and currency format
      3. Keyboard or input format.

      When you've selected your settings, click on the Next button.




    2. In the next window, select the Repair your Computer option from the lower left corner of the console.
    3. From the System Recovery Options window, you can choose to load any drivers required by your hard disk at this stage. After loading any necessary drivers, such as RAID drivers, click on the Next button.

      Note that if you are performing a bare-metal restore to a brand new hard-disk, you will not see any Operating Systems listed as shown on the right.

      If you are restoring a backup to a machine that already has Windows 2008, then it will be listed under Operating Systems.
    4. Under the System Recovery Options window, select the Windows Complete PC Restore option. This will invoke the Windows Recovery Environment.
    5. Windows will then scan your machine for available backups. Please ensure that the media with your backup is connected to the machine. If Windows Complete PC Restore is unable to find the backup, please try un-connecting and re-connecting the backup device.
    6. Once your backup disk has been detected, you may choose to restore the latest backup or another backup. Windows 2008 will automatically choose your latest backup by default.

      Select the backup you want to restore from and click on the Next button.
    7. In the Choose how to restore your backupwindow, you have the following options:
      1. Install any drivers for the disk you are restoring to by clicking on the Install Drivers button.
      2. Exclude disks that you don't want formatted by clicking on the Exclude disks button.
      3. Choose to restart the computer after the restore process and to automatically check and update error information by clicking on the Advanced button.

      Once you have added the extra options, click on the Next button.
    8. Select the location of your backup and click on the Next button.
    9. Confirm your settings and click on the Finish button.
    10. Windows Recovery Environment will ask you whether you want to let Windows Complete PC Restore format the disks and restore the backups you have chosen. Click on the OK button.
    11. Your bare-metal restore of Windows Server 2008 should begin. Once done, your system should reboot and Windows will load. Congratulations - the procedure is complete






  3. #3
    نام حقيقي: 1234

    مدیر بازنشسته
    تاریخ عضویت
    Jul 2009
    محل سکونت
    5678
    نوشته
    5,634
    سپاسگزاری شده
    2513
    سپاسگزاری کرده
    272

کلمات کلیدی در جستجوها:

1

wbadmin exclude example

wbadmin start sysrecovery

backup در ویندور 2008

wbadmin differential

restore system state 2008

wbadmin differential backup

wbadmin start recovery server 2008

wbadmin start recovery

WinRE to Restore a Serverwbadmin differential backup with vssfullwbadmin example bare metal backupwbadmin exclude file examplewindows server backup exclude files from bare metal recoverysymantec backupwbadmin for restore exchange serverwbadmin full system restoreOnly restore system diskswbadmin excludewbadmin incrementalperforming recovery for windows server backupwbadmin start sysrecovery- excludeDiskscontentwbadmin -exclude geht nichtwbadmin bare metal exclude drive

برچسب برای این موضوع

مجوز های ارسال و ویرایش

  • شما نمی توانید موضوع جدید ارسال کنید
  • شما نمی توانید به پست ها پاسخ دهید
  • شما نمی توانید فایل پیوست ضمیمه کنید
  • شما نمی توانید پست های خود را ویرایش کنید
  •