Как сделать точку восстановления windows server 2008 r2

In this article, we will overview the System Restore Point feature implemented in desktop Windows versions, and explain how to achieve a similar recovery option in Windows Server 2008.

What Is System Restore Point?

System Restore Point is included in desktop Windows versions (e.g Windows XP, 7, 10), that allows users to roll back system registry changes and crucial system folders content to one of the previously created “snapshots”. It allows recovery after wrong driver installation or changes made by unstable third-party software.

The feature may look like a “silver bullet” in the event of infection of malicious software or corruption of one of the installed apps. But there are a few peculiarities you should know about:

  • System Restore Point is not a backup — this mechanism allows you to temporarily save a point-in-time Windows state. This state includes the system registry and crucial system folders necessary for proper work. This feature, for example, will not help to recover deleted user files.
  • If you have uninstalled some software and then decided to retrieve it — using System Restore Point is not the solution, since it may not contain all program files your software used. It will just recover its registry data, shortcuts, and, most likely, its main executables.
  • System Restore Point cannot guarantee the removal of malicious software since this tool does not contain copies of all areas that could be infected.

As you see, System Restore is not the best way to protect the system or user data. There is a similar and more straightforward mechanism supported by all Windows server versions — System State backup. It also supports command-line interface for better flexibility.

FREE WHITEPAPER

Full System Backup and Recovery

Check out our comprehensive guide covering system image, system state and application-aware backup and recovery:


System State backup contains copies of the Windows registry and the most important system files and drivers necessary to create and save documents, as well as other Microsoft Apps content:

  • Active Directory data — if the computer runs AD services.
  • Certification Authority configuration and content.
  • Cluster database if the server runs Windows Server Failover Cluster service.
  • Windows Performance Counter information and Component Services database.

System State can help fix many system failures if the OS can boot up successfully. If not,  you will need additional tools to use this backup type.

The following is  how to create a System State backup in Windows Server 2008 (R2):

1 Launch Windows Server Backup using All Programs menu. Click either Backup Schedule or Backup Once, depending on your case. We will use the Backup Schedule as an example.

Windows Server 2008 System Restore Point

2On the Select Backup Configuration step click Custom and proceed.

3Click Add Items and select System State in the new window. You can also include additional files or folders in the same backup.

Windows Server 2008 System Restore Point

4The Specify Backup Timestep allows you to configure the backup schedule. We suggest creating a System State backup every day to minimize RPO — this backup type will not last

Windows Server 2008 System Restore Point

5Choose the backup destination on the next step — either use the entire hard drive, dedicated volume, or network share. If choosing the network share, you need to create a few backup jobs to keep the last N backups, since Windows Server Backup will overwrite backup files every time.

Windows Server 2008 System Restore Point

We suggest using the local volume as “the first line of defense”, since you may need to recover the system when the network is not available — for example, if faced with NIC driver-related issues.

6Add the desired volume on the next step and click Finish. The backup is now configured.

Windows Server 2008 System Restore Point

Windows Server Backup is free to use, but please note its peculiarities:

  • You cannot store a backup in the local folder of your choice. The backup tool only uses the whole drive, dedicated volume, or network share.
  • Cloud storage providers are not directly available as a backup target. As a workaround, you can configure a separate tool to synchronize the System State backup folder with cloud or offsite storage.
  • Multiple location backups (used as a best practice in the “3-2-1 backup strategy) are harder to implement using the built-in Windows tool — you need to create a separate backup job per target storage. So, every backup copy will actually lead to a few “hot” backups being made.

If you need more flexibility and a full-featured solution, consider using a third-party backup tool.

Here’s how to create a point-in-time backup with ystem State scope using MSP360 Backup.

Windows Server 2008 Restore Point with MSP360 Backup

MSP360 Backup is a cloud backup tool that supports point-in-time backups for the whole server or for only a few files or apps.

To create a local or cloud System State backup:

1Launch MSP360 Backup and click the Image Based button at the top-left corner.

Windows Server 2008 System Restore Point

2Select Local or Cloud backup and click next.

3On the Select Backup Storage step, you can select cloud storage or connect local/network folder. In this example, we will use the local folder on one of the server volumes.

Windows Server 2008 System Restore Point

Since there is no local folder connected, let’s create one. Click Add new Storage Account.

4Select File System in the new window. Type the backup target name and select storage path by clicking the three-dots button.

Windows Server 2008 System Restore Point

Click OK — now you can select local storage as the backup target.

Windows Server 2008 System Restore Point

5Proceed to the Select Backup Type step and select the System State option.

Windows Server 2008 System Restore Point

6Select one of the available drives for temporary snapshot storage on the next step, and proceed to the Advanced Options step.

Windows Server 2008 System Restore Point

Leave the Use block level backup checkbox enabled to minimize the subsequent backup size by only copying those data blocks changed since the last backup session. Proceed to the Schedule screen leaving the rest of the options on their defaults.
Click Recurring to set the backup schedule on the regular basis.

Windows Server 2008 System Restore Point

Note: you can avoid running out of a backup window by selecting the Stop the plan if… option, so MSP360 Backup will stop its job if something goes wrong and the backup hangs up.
Click Edit schedule and set the desired recurrence.

Windows Server 2008 System Restore Point

7The Full Backup Options step allows planning a Full backup. If you have previously chosen the Block-level backup option, MSP360 Backup will create only incremental data copies after the initial backup. Click Schedule Full Backup to select when you would like to create a full data copy.

Windows Server 2008 System Restore Point

We suggest scheduling Full backups to keep the backup chain the least possible, thus simplifying possible restore operations.

You can leave the rest of the options on their defaults and finish backup plan configuring.

Summary

You can use System State backup as a super-powered server version of the System Restore Point feature. System State covers most OS-critical files and configurations, which allows you to include additional folders in the same backup.

Try out MSP360 Backup to get even better flexibility. It allows you to create a System State backup in local or cloud storage, as well as implement bare metal recovery.

MSP360 Backup for Windows Server

  • Image-based, system state and file-level backup
  • Local, cloud and hybrid backup
  • Multiple recovery options (bare-metal, USB, cloud)


Ежедневно на страницы моего блога поисковые системы приводят посетителей с различными вопросами, самый распространенный из которых представляет собой, нет, не Data Protection Manager, как можно было бы ожидать, а всего лишь вариации фразы точка восстановления Windows Server 2008. Внимательный читатель заметит, что кроме названия блога, информации о точке восстановления тут пока нет. Да и что особенного может быть в точке восстановления Windows с позиции ищущих — я пока не догадался.

Но так как архивация данных в Windows весьма родственна тематике блога, этим постом я предлагаю начать изменять ситуацию. Интересующиеся темой могут оставлять в комментариях к данной записи свои краткие вопросы касательно точек восстановления. Буду отвечать на них в меру своих сил. А после набора некой критической массы вопросов, мы все их закроем одним мощным ударом постом. Этакий срыв покровов. Вобщем, спрашивайте, не стесняйтесь.

Апдейт:

Состав и процесс восстановления образа системы из точки восстановления Windows 2008 подробно рассмотрены в статьях:

Общие понятия, состав и механизмы создания — Все, что вы хотели знать о DPM 2010 Bare Metal Recovery, но боялись спросить (часть 1)

Пошаговый процесс восстановления — Все, что вы хотели знать о DPM 2010 Bare Metal Recovery, но боялись спросить (часть 2)

Данная информация, в основных моментах, подходит и для образов системы созданных непосредственно в системе архивации данных Windows Server.

Windows Server — это надежная операционная система, созданная специально для работы с серверами. Она обеспечивает безопасную их работу и активно используется на различных предприятиях. Тем менее, сбои в работе все-таки возможны. Тогда и потребуется восстановление Windows Server. Наша лаборатория по восстановлению данных Айкен обеспечит комплексное восстановление данных и работоспособности сервера, если это потребуется.

Работаем с самым разным оборудованием. но в некоторых случаях работы можно выполнить самостоятельно. Расскажем, как именно это можно будет сделать. Сначала разберем ключевые особенности Windows Server.

Общая информация о восстановлении системы сервера

Выбор способа восстановления Windows Server будет зависеть от того, о каком именно повреждении идет речь. Например, восстановление может потребоваться, если на сервере обнаружены поврежденные вирусом файлы, которые невозможно “вылечить” или нельзя удалить. Неверные настройки, невозможность запуска, замена системного диска, перенос информации на новый сервер — все это может послужить причиной для того, чтобы вы использовали точки восстановления Windows Server.

Ключевые особенности здесь будут следующие:

  1. Можно воспользоваться средой восстановления и предустановленной средой архивации данных Windows Server.
  2. Для доступа к средствам восстановления обычно достаточно запустить диалоговое окно.
  3. Для восстановления можно использовать специальную утилиту типа Hetman Recovery.
  4. Восстановление операционной системы Windows Server невозможно без обеспечения доступа к критическим томам.
  5. >

  6. Важно указать определенные данные (вне зависимости от того, что именно восстанавливается — только операционная система или весь сервер): например, выбрать, какая именно резервная копия будет использоваться, что восстанавливается — ОС или сервер, требуется ли переформатирование дисков или перераспределение разделов на них.
  7. Если выбрано форматирование дисков, то все хранящиеся на них данные будут удалены, и это нужно обязательно учитывать.
  8. Если проводится восстановление на новый жесткий диск, то обязательно нужно убедиться, что емкости старого и нового диска равны, а вот размер содержащихся на них томов не имеет значения.
  9. Если проводится восстановление только операционной системы Windows Server, то обязательно нужно убедиться в наличии резервной копии с критическими томами сервера.
  10. Необходимо посмотреть, какой тип шифрования диска используется в хранилище архивации. Если это BitLocker, то необходимо убедиться, что хранилище разблокировано.
  11. При восстановлении операционной системы или всего сервера нужно убедиться, что архитектура ОС Windows Server — восстанавливаемой и находящейся на установочном диске — совпадает.

Можно использовать предустановленные возможности Windows, для того, чтобы восстановить Server. Однако здесь можно использовать и сторонние программы, и специализированные утилиты. Расскажем подробнее.

Способы восстановления Windows Server

Если есть резервная копия, то все работы по восстановлению Windows Server существенно упрощаются. И важно, чтобы бэкап сразу был сделан с учетом сетевых настроек и особенностей работы компании. Но восстановление возможно и с помощью других специализированных программ. Расскажем подробнее.

Восстановление сервера из бекапа Windows

Здесь вам нужно будет использовать встроенную службу, благодаря чему взаимодействие с ОС существенно упрощается. Никаких дополнительных утилит в этом случае приобретать не требуется. Таким образом можно восстановить все элементы системы без исключения, включая все данные — тома, папки и файлы.

Однако для такого метода есть и ограничения: данные будут копироваться для создания “резерва” не чаще чем 1 раз в 30 минут, можно выбрать только 1 место для хранения резервной копии и целостность этой копии проверить заранее невозможно. Общий объем архивации данных в этом случае не превышает 2 Тб.

Что нужно, чтобы восстановить сервер Windows Server из бэкапа? Необходимо вернуть систему и данные критических томов в исходное состояние.

Понадобится указать:

  • какую именно резервную копию использовать;
  • какой планируется объем восстановления;
  • требуется ли перераспределение разделов или переформатирование дисков.

Емкость нового жесткого диска должна быть равна емкости старого диска или превышать ее. Также понадобится убедиться, что в резервной копии содержатся все тома сервера. Кроме того, потребуется разблокировать хранилище активации, если использовалось шифрование BitLocker.

Встроенное средство восстановления системы пригодится в том случае, если сервер не запускается или работает нестабильно. Здесь нужно будет воспользоваться установочным образом Windows Server 2012 R2 на DVD диске или USB накопителе. Вначале понадобится выбрать нужные настройки, затем нажать «Далее», нажать «Восстановление системы» и выбрать «Системный образ», после чего снова нажать «Далее». На экране вам будут демонстрироваться понятные инструкции для дальнейших действий.

Использование точки восстановления

Windows Server 2012 R2 автоматически создает точки восстановления.

Воспользоваться ими можно, если использовать следующий алгоритм действий:

  • нажмите «Пуск»;
  • выберите «Панель управления»;
  • перейдите в раздел «Система и безопасность»;
  • выберите «Система» — «Защита системы» — «Создать»;
  • задайте имя для точки восстановления и снова нажмите «Создать».

Использование командной строки

При нестабильной работе системы Windows Server 2012 R2 восстановление можно провести с помощью командной строки.:

  • загружается установочный образ Windows Server 2012 R2 с диска;
  • выбираются все необходимые настройки;
  • в списке дополнительных параметров выбирается «Командная строка»;
  • выбор команды зависит от того, о какой проблеме идет речь: если нужно восстановить загрузчик, то вводится Bootrec.exe/FixMbr, если речь идет о таблице разделов диска, то Bootrec.exe/FixBoot, а если о загрузочном секторе, то Bootrec.exe/RebuildBcd.

После исполнения этих команд нужно будет снова проверить работоспособность сервера.

Восстановление Windows Server из резервной копии

В качестве хранилищ для Windows Server могут выступать размеченные разделы, отдельные диски с размеченной системой архивации (в том числе, и скрытые от пользователя), сетевые папки, диск ISCSI. Для максимальной безопасности лучше, если будет сделано несколько резервных копий, и все они будут в разных хранилищах.

Система архивации сможет свободно оперировать нужными файлами, если будет использоваться служба теневого копирования тома VSS, которая стабильно работает с Exchange, MS SQL.

Установка компонента архивации для Windows Server 2012 r2 осуществляется и настраивается через «Диспетчер сервера».

Здесь требуется выбрать следующую информацию:

  • каким именно будет бэкап, полным или настраиваемым;
  • особенности объектов архивации: исходное/текущее состояние системы, локальные диски, Hyper-V;
  • дополнительные параметры VSS, обеспечивающие надежное функционирование;
  • папки и файлы, которые не требуют бэкапа (то есть, нужно настроить исключения).

Периодичность резервного копирования задается пользователем индивидуально.

После того, как будет сделана точка восстановления Windows Server, можно будет запускать бэкап. Здесь обязательно нужно настроить «Управление дисками», чтобы у каждого диска было свое имя и чтобы все компоненты оказались пригодны к использованию. Резервная копия в виде отдельного диска монтируется к основной системе, а после выполнения работ — открепляется.

Чтобы сделать бэкап, нужно выбрать из предустановленного меню пункт «Восстановление». Здесь можно выбрать восстановление из сервера, локального места. Пользователь получает полный список всех копий, из которых нужно будет выбрать желаемую дату отката. Также вам понадобится указать, что именно нуждается в восстановлении. Это может быть как общее состояние системы, так и конкретные папки или файлы, а также отдельные приложения.

Восстановить сервер можно и с помощью бэкапа на уровне тома. Тогда всю информацию вы получите в том же состоянии, в котором она была заархивирована. Такой способ восстановления Windows Server часто используют при вирусных атаках и повреждениях, поскольку система гарантированно откатывается до того момента, когда никаких необратимых изменений исходного тома еще не произошло.

Восстановление из бекапа Veeam

Veeam Backup & Replication — это утилита, которая позволит восстановить виртуальную машину из существующей корректной копии. При этом бэкап может осуществляться как в исходное положение, так и в новую точку.

Это программное обеспечение отличается следующими особенностями:

  • могут создаваться реплики виртуальных машин на различных хостах ESX;
  • есть так называемый “синтетический” бэкап, когда самой полной копией считается последняя версия;
  • восстановление файлов может происходить в большинстве стандартных виртуальных систем;
  • программа работает с очень высокой скоростью — бекапы создаются в 5 раз быстрее по сравнению с аналогами.

Если вы планируете восстанавливать сервер из резервной копии таким образом, вам понадобится:

  1. зайти в меню Home, перейти в Backups и зайти в Disk, а если восстановление проводится из облака, то нужно выбрать Cloud;
  2. выберите нужный сервер из списка Restore entire VM и виртуальную машину;
  3. укажите желаемую точку восстановления: Restore to the original location выполнит откат сервера к исходному состоянию в первоначальное расположение, а Restore to a new location, or with different settings восстановит сервер в другое выбранное место.

Чтобы ускорить процесс бэкапа, можно использовать функцию Quick rollback. После восстановления в исходное состояние программа Veeam удалит виртуальную машину после восстановления.

Восстановление сервера из бекапа Acronis

Программы Acronis обеспечивают создание резервных копий ОС. Также они работают с приложениями, разными настройками, данными. Такое программное обеспечение может создавать загрузочные диски. Это ПО поможет восстановить сервер через бекап, имеющий расширение TIBX, Для таких ситуаций здесь предусмотрено готовое решение, но для создания резервных копий необходимо сразу использовать формат TIB. Потребуется предусмотреть достаточный объем, место для записываемой копии на жестком диске.

Специальный раздел программы «Резервное копирование и восстановление» обеспечит быстрый доступ ко всему функционалу восстановления.

Восстановление сервера администрирования Касперского из резервной копии

Этот способ подходит для ситуаций, когда необходимо перенести сервер или обновить программную версию, не допуская при этом потери данных. Для того, чтобы восстановить сервера Касперского из бекапа, используют специальную утилиту klbackup. Данные копируются и восстанавливаются, в абсолютной сохранности и целиком переносятся базы данных, информация о конфигурации групп, хранилища дистрибутивов и сертификаты. Программа допускает выполнение восстановления в интерактивном режиме или нет. Но понадобится знать пароль, который был создан при резервном копировании.

Восстановление сервера из бекапа Oracle

В этом случае вся информация хранится в файлах, и для восстановления потребуется их импортировать. Если база данных Oracle Database будет утрачена, то восстановить ее можно будет при помощи Hetman Partition Recovery. Также можно использовать RMAN или Apex.

Как восстановить сервер из бекапа Linux

В Линуксе для этого предусмотрены встроенные средства: рабочая утилита dd, позволяющая записать образы и провести восстановление. В ней нужно будет прописать имя копии. Кроме того, можно использовать команду tar — она подходит для архивов tar.gz или .tgz.

Как восстановить сервер из бекапа Ubuntu

Бекап или резервная копия ОС Ubuntu создается с помощью утилиты tar ОС Linux. Для полного восстановления системы здесь понадобится загрузить архив в корневой каталог, а затем распаковать его в выбранную папку.

Как видите, восстановление Виндовс сервер может выполняться разными способами. Если хранящиеся на сервере данные критически важны, обращайтесь к профессионалам. Наши специалисты из лаборатории по восстановлению данных работают с разными типами данных, архивов и дискового оборудования.

Solutions provider takeaway: In this chapter excerpt, you will get the steps required to perform both a bare-metal recovery and system state recovery in Windows Server 2008 R2. There is also information on recovering system state data containing Active Directory data and how to use Windows system recovery tools.

Recover Your Data

I hope recovering your data is not a daily task. However, you should know how to recover data just in case. Fortunately, the recovery tool is straightforward to use presuming you have performed a proper backup. The method used to back up your data will always determine what recovery method you will need to perform. Your desired outcome will impact what and how you need to perform your recovery.

Restore Specific Files or a Full Volume

If the time comes that you need to recover the files, it is just a matter of knowing what files and what time frame you need to restore.

  1. Start Windows Server Backup by selecting Start ⇒ Administrative Tools ⇒ Windows Server Backup.
  2. To launch the recovery wizard, in the Actions pane on the right, select Recover.
  3. Select where you have stored the backup, and click Next. If the backup is stored locally on an internal hard drive, verify This Server is selected, click Next, and proceed to step 7. If the backup is stored elsewhere, select A Backup Stored On Another Location, and click Next.
  4. Depending on the location of the backup, click Local Drives or Remote Shared Folder, and click Next. If you specified Remote Shared Folder, you will need to type in the UNC name for the backup in the form of \\servername\sharename.
  5. On the Select Backup Location screen, verify your backup set, and click Next.
  6. Select the server data you want to recover, and click Next.
  7. On the Select Backup Date screen, select the date and possible time for the backup set you want to recover from, and click Next.
  8. On the Select Recovery Type page, select what you want to recover.
    • Select Specific Files Or Folders if you trying to recover a specific file or folder. When you select this option and click Next, you will see a screen similar to Figure 8.15, allowing you to expand the tree to recover the file from.
    • Select Volumes if you need to recover the entire volume from a backup set. When you select this option and click Next, you will be provided with a list of volumes to select from.
    • Select System State if you want to recover system state.
  9. Figure 8.15: Recovering a specific file

    Note: You may also notice a choice called Applications. Depending what applications you have installed on your server, some may have registered with Windows Server Backup. If they have, you have the ability to recover those applications as well.

  10. After you make your selection for the recovery of files, click Next.
  11. The Specify Recovery Options screen will look like Figure 8.16. This screen gives you a few options on how you want to recover the file. You can recover to the original location or an alternative location. You can also control whether you create a copy of the file to make sure you have both versions, overwrite any existing version of the file, or do not recover the file if one already exists. You can also bring back any security permissions on the file. After you make your selection, click Next.
  12. Review the Confirmation screen, and click Recover.
  13. After the recovery process is complete, review the results, and click Close.

Figure 8.16: Recovery options

Perform a System State Restore

When you want to recover system state data, you need to take an extra bit of precaution and planning when recovering this data. Because of the nature of the data being recovered, you have the potential to render your system unbootable. Specifically, when this restore process is started, it cannot be stopped or interrupted. If it is, this process could render your server unbootable. In other words, use caution when recovering the system state. Of course, if you are using this process, chances are you are not too far from having to rebuild your server anyway.

  1. Start Windows Server Backup by selecting Start ⇒ Administrative Tools ⇒ Windows Server Backup.
  2. To launch the recovery wizard, in the Actions pane on the right, select Recover.
  3. Select where you have stored the backup, and click Next. If the backup is stored locally on an internal hard drive, verify that This Server is selected, click Next, and proceed to step 7. If the backup is stored elsewhere, select A Backup Stored On Another Location, and click Next.
  4. Depending on the location of the backup, click Local Drives or Remote Shared Folder, and click Next. If you specified Remote Shared Folder, you will need to type in the UNC name for the backup in the form of \\servername\sharename.
  5. On the backup location screen, verify your backup set, and click Next.
  6. Select the server data you want to recover, and click Next.
  7. On the Select Backup Date screen, select the date and possible time for the backup set you want to recover from, and click Next.
  8. On the Select Recovery Type screen, select System State to recover the system state information, and click Next.
  9. Select the area you would like to recover your system state data to, either the original location or an alternate location. If you are trying to recover, make your selection, and click Next.
  10. On the Summary screen, review your selections, and then click Recover.
  11. After the recovery process is complete, review the results, and click Close.

Restore System State Backup Data Containing Active Directory Data

If your system state backup contains Active Directory information, you will not be able to recover the data via the recovery wizard unless you specify an alternate location to recover to. If you try to recover the data in the Windows Server Backup tool, you will see an error message similar to the one shown in Figure 8.17.

Figure 8.17: System state with Active Directory data error

To perform a system state recovery of your Windows Server 2008 R2 server containing Active Directory information, you need to boot the operating system into Directory Services Restore Mode (DSRM). Specifically, you will be performing an authoritative restore.

Before you can boot into DSRM, you need to configure your boot process:

  1. Click Start, type msconfig, and click the Msconfig program under Programs.
  2. Click the Boot tab.
  3. In the Boot Options section, select the Safe Boot check box, and select the Active Directory Repair option. Click OK. Your screen should look like Figure 8.18.
  4. Figure 8.18: Booting into DSRM

  5. Restart the server.
  6. Log on to the server with the local administrator ID and the DSRM password you created while installing the server.
  7. Start Windows Server Backup by selecting Start ⇒ Administrative Tools ⇒ Windows Server Backup.
  8. To launch the recovery wizard, in the Actions pane on the right, select Recover.
  9. Select where you have stored the backup, and click Next. If the backup is stored locally on an internal hard drive, verify that This Server is selected, click Next, and proceed to step 12. If the backup is stored elsewhere, select A Backup Stored On Another Location, and click Next.
  10. Depending on the location of the backup, click Local Drives or Remote Shared Folder, and click Next. If you specified Remote Shared Folder, you will need to type in the UNC name for the backup in the form of \\servername\sharename.
  11. On the Specify Backup Location screen, verify your backup set, and click Next.
  12. Select the server’s data you want to recover, and click Next.
  13. On the Select Backup Date screen, select the date and possible time for the backup set you want to recover from, and click Next.
  14. On the Select Recovery Type screen, select System State to recover the system state information, and click Next.
  15. Select Original Location, and select Perform An Authoritative Restore Of Active Directory files, as shown in Figure 8.19.
  16. Figure 8.19: Authoritative restore

  17. You will receive a warning noting that all replicated content on the server will be resynchronized and that this can cause potential latency on your server and network. Acknowledge the message by clicking OK.
  18. On the Summary screen, review your selections, and then click Recover.
  19. You will receive another warning message stating that system state recovery cannot be paused or canceled once it has started. Click Yes to proceed with the recovery, or click No to complete the recovery at a later time.
  20. After the recovery process is complete, review the results, and click Close.
  21. Before you restart the server, you need to turn off DSRM.
  22. Click Start, type msconfig, and click the Msconfig program under Programs.
  23. Click the Boot tab.
  24. In the Boot Options section, deselect the Safe Boot check box. Click OK.
  25. Restart the server, and log on with your normal domain credentials.
  26. If you see a command prompt window notifying you the status of your recovery, review the message, and press the Enter key.

Perform a Bare-Metal Restore

Sometimes you run into problems that a simple file restore or a system state recovery cannot fix. If you have created a bare-metal recovery image, then you can recover your full server using the recovery process. This recovery process is different from recovering just files or the system state. The bare-metal recovery process is part of the Windows Recovery Environment, and to get to it, you need a Windows Server 2008 R2 DVD to boot the operating system to, and you need access to the drive containing the bare-metal backup. Typical USB drives can work really well in this scenario presuming your BIOS supports USB at boot.

Additionally, this recovery process is destructive, meaning when you run a bare-metal recovery all the data on your drives will be replaced with data from the system image. You also have the potential during the recovery process to partition and format the drives, in other words, restoring the server completely to a previous working state.

  1. Make sure your backup media is attached to the server, and insert and boot to your Windows Server 2008 R2 DVD.
  2. Select your language preferences, and click Next.
  3. In the Install Now window, click the Repair Your Computer option located in the lower left of the installation window.
  4. To recover from your bare-metal backup, select the Restore System Using A System Image You Created Earlier radio option, and click Next. You can also get to the image via the Recovery Tools option.
  5. The system image will scan your system’s drives for an image for you to restore from; you will see a screen similar to Figure 8.20. You can select the image provided to, usually the most current, or you can select a different image by selecting Select A System Image. When you have the proper image selected, click Next.
  6. Figure 8.20: Bare-metal image selection

  7. On the Choose Additional Restore Options screen, you have the ability to control how your drives and partitions are handled, as shown in Figure 8.21. You can repartition and format the drives. You can also exclude drives from the partition, which is particularly useful when you want to keep other drives intact. By clicking Advanced, you will see a window similar to Figure 8.22. This window allows you to control whether you want restart upon completion. It will also allow you to perform a hard disk scan to check and possibly repair errors. After you’re done, select your options, and click Next.
  8. Review your selections, and click Finish to begin the bare-metal restoration.
  9. Figure 8.21: Bare-metal recovery options

    Figure 8.22: Advanced options

  10. You will be presented with a warning reminding you that the process will replace existing data from the bare-metal backup image. If this is what you want to do, click Yes to finalize the restoration process. This process could take a long time to complete based on how much data you need to recover.
  11. When the recovery is complete, you will prompted to restart, or the system will restart automatically (the default option).

Windows System Recovery Tools

During the bare-metal restore process, you saw an option to load the Windows system recovery tools. The Windows system recovery tools provide you with three options to further troubleshoot your environment:

  • System Image Recovery will take you to the bare-metal recovery wizard to allow you to fully recover your system.
  • Windows Memory Diagnostics will perform diagnostic checks on the memory of your system to see whether faulty memory is to blame for any system errors. When you select this option, you will asked to either restart the system immediately to check for problems or schedule the memory check for the next time you restart the system. Pressing F1 will allow to control the types and number of memory tests you can perform. When the test is running, you will see a screen similar to this one.
  • Command Prompt will load a command prompt to allow you to perform a variety of command prompt actions.
About the authors

Matthew Hester has more than 10 years of experience as an IT professional at Microsoft. Hester specializes in client and server technology and is a regular contributor to TechNet magazine.

Chris Henley has worked with networking technologies for more than 17 years and is a member of the Microsoft TechNet Seminar Sales Team. Henley specializes in the design, implementation and support of Active Directory services.

Recover via Shadow Copy

Recovering files via a shadow copied shared volume is something you can teach your users to do. It is very straightforward to work with when it is enabled and as easy to access as right-clicking the file or folder you want to perform the recover. To access the shadow copies on your Windows Server 2008 R2 server, the users must be running an operating system that supports the Shadow Copy Client. Windows Vista, Windows 7, Windows Server 2003, Windows Server 2008, and Windows Server 2008 R2 all have built-in support for the Shadow Copy Client. For Windows XP or Windows Server 2000 SP3 or later, you need to download the client located from this location:

http://support.microsoft.com/kb/832217

Using the Shadow Copy Client to recover a file is just a matter of knowing where the file is located and knowing how you want to recover the file. Shadow copies are great if a user has accidentally deleted a file or folder or inadvertently overwritten a file, such as by choosing Save instead of Save As. You can work with the shadow copy files or folders just like you would any regular file or folder.

When restoring with shadow copies, you have three options, as listed in Table 8.3.

Table 8.3: Shadow Copy Options

Option

Usage

Open Allows you to open a shadow copy of the file or folder to view any changes. You can copy and paste between the shadow copy and the original file or folder. This method is very useful when you want only to recover a file from a folder instead of the whole folder.
Copy This will make a copy of the shadow copy and store it in a different location. This is also useful when you want to compare files or folders side by side.
Restore This will restore the file in the original location. Be careful if you restore a folder with this method because it will restore all the contents of the folder.

You can access the shadow copies either locally if the shadow copy has been enabled on your local volume or via a network share after you have opened the folder or share where you want to recover data from.

  1. Right-click the file or folder you want to restore with the shadow copy. You can also right-click the whitespace of an opened folder.
  2. Select Properties.
  3. Click the Previous Versions tab; your screen will look similar to Figure 8.23.
  4. Figure 8.23: Shadow copy restore

  5. Select the shadow copy you want to use; they are stored by date and time.
  6. Select Open, Copy, or Restore.
  7. When you are finished, click OK.

Note: If you do not see any shadow copies listed, the most likely cause is that the file has not changed. Remember, shadow copies store only the changes for the files, and if there are no copies listed, the file is the original.

It is important you also know that shadow copy is not retroactive. The feature will not protect you until the feature is enabled. In other words, if a user makes changes to files or deletes a file prior to enabling shadow copy, the act of enabling shadow copy will not allow you to retroactively make copies of files and folders.

Backing Up and Recovering Your Server
  Windows server backup in Windows Server 2008 R2
  Bare-metal, system state recovery in Windows Server 2008 R2

Printed with permission from Wiley Publishing Inc. Copyright 2010. Microsoft Windows Server 2008 R2 Administration Instant Reference by Matthew Hester and Chris Henley. For more information about this title and other similar books, please visit Wiley Publishing Inc.

Dig Deeper on MSP business strategy

  • What is a virtual hard disk (VHD)?

    By: Rahul Awati

  • How to perform a factory reset on a Windows 11 desktop

    By: Ed Tittel

  • Windows Server backup to the cloud: A step-by-step guide

    By: Brien Posey

  • How to create Group Policy backups in Windows Server

    By: Damon Garn

Время на прочтение3 мин

Количество просмотров93K

Лирическое вступление

Несколько недель назад произошла такая ситуация: программист 1С попросил меня обновить платформу и сообщил, что это делается методом «два клика + далее-далее», не долго думая и предварительно забэкапившись, установил платформу. Бэкап делается штатными средствами 2008r2 на отдельный винт инкриментарно. Винт этот был полностью выделен самой виндой под бэкапы и скрыт — система сама предложила таковым сделать во избежание износа и фрагментации, в будущем такой диск можно подключать как NTFS-папку. Так вышло, после установки 1С моим глазам предстал девственно чистый 1С-кластер, то есть БД в SQL осталась жива, но к 1С ее прикрутить возможности я уже не видел, а на изучение не было времени, так как поздний вечер среды, а к утру все должно быть тип-топ. В совершенном спокойствии позвонил в офис — на вахте оставили ключи,. Приехал, перезагрузил сервер в режиме восстановления, он же режим установки Windows 7. Последующие тридцать часов прошли в поте и паниках, с пересозданием RAID, убийством файловой системы на бэкапном винте, ее восстановлением, прочее, прочее.

Как не стоит делать при установке ОС

Хочу отметить маленький момент и дать небольшую рекомендацию: устанавливая ОС Windows, пожалуйста, будьте внимательнее с именованием разделов. Какими я вижу правила хорошего тона: Гибкие диски — A:B:, локальные жесткие диски C:,D: и так далее, затем сменные носители E:H: в зависимости от количества, CD\DVD приводы желательно выносить в конец, так как их количество меняется реже всего, это X:,Y:,Z:, в оставшееся пространство H:W: рекомендую помещать сетевые диски.

Так вот дело в том, что сервер этот мне достался уже готовым, C: — первый локальный логический, D: — привод, E: — второй локальный логический. Диск без метки — наш жесткий для бэкапов. Не уверен, что причина проблемы кроется именно в порядке букв дисков, но на всякий случай хотелось бы предостеречь.

Пытаемся запустить восстановление системы

Так как Windows Server 2008r2 уже имеет на своем локальном диске образ восстановления recovery.wim (название пунктов могут отличаться, пишу по памяти), не вставляя DVD с Windows мы жмем при загрузке F8 и выбираем самый первый верхний вариант восстановления. Выбираем восстановление в левом нижнем углу графической оболочки, начинается поиск ранее установленных систем. Поскольку это сервер и используется RAID, то желательно нам заранее иметь носитель с
драйверами оного (лично я их храню на том же бэкапном диске), иначе система просто не найдет что и куда восстанавливать.

Все, казалось бы, прекрасно и замечательно, драйверы успешно установились, система для восстановления найдена, предложены варианты восстановления. Тут я вынужден остановиться и напомнить: в данной системе мы не можем как-либо использовать контрольные точки — их просто не существует, только полный откат образа диска.
Выбираем соответствующий нашим целям пункт — начинается шерстение жестких дисков в поисках сохраненных образов системы. Предупреждаю: вручную указать местоположение образа будет невозможно, так же в данном режиме у меня не работал поиск по сети.

И вот, после продолжительных поисков, видим довольно неожиданную табличку: «Образы для восстановления не найдены, вставьте диск с образом и нажмите Повторить».

Куда пропало время

Не буду описывать весь мучительный путь, через который дошел до данного метода, скажу кратко как решается:

  • 1. Система загрузила GUI режима восстановления — вставляем носитель с драйвером RAID-контроллера
  • 2. Жмем «Восстановление системы», дожидаемся неудачного окончания поиска установленных систем
  • 3. Щелкаем «Обзор», подразумевающий поиск драйвера контроллера
  • 4. Внимание! Находим драйвер и копируем его на виртуальный RAM-диск, созданный системой восстановления
  • 5. Вынимаем любые лишние носители (диск с образом для восстановления, флэшки с драйверами)
  • 6. Жмем «Обзор» еще раз, находим и устанавливаем RAID-драйвер.
  • 7. Система находит свой поврежденный экземпляр и просит пароль администратора, выполняем очевидные действия
  • 8. Настало время присоединить носитель с образом системы и теперь уже запустить поиск архивных копий
  • 9. По накатанной

Удачного пути!

Понравилась статья? Поделить с друзьями:
0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии
  • Windows 10 не находит приложения в поиске
  • Настройки брандмауэра windows 10 для майнкрафт
  • Pspdisp на windows 10
  • Как форматировать ноутбук windows 10 без потери виндовс
  • Как называется калькулятор в windows 10