Network Backup Version 9.0 Windows Online Bare Metal Disaster Recovery Guide

From Arkeia Documentation

Jump to: navigation, search

Contents

Windows DR Quick Step Guide

  • Use the Quick Step Guide to get a quick view of the steps required to setup and perform a Windows DR.

Windows DR Description

The Arkeia DR Agent backs up up the local volumes through a Windows VSS Snapshot which contains all of the information in the volumes (data and metadata, including ACLs and alternate data streams (WNT_THREAD). The arkpwindr agent is in charge of backing up and restoring the disks structure (partitions, volumes, filesystems).

Supported Features

  • Hot Backup
    • Platforms supporting VSS do not need to be rebooted during the disaster recovery backup process.
      • Windows Vista
      • Windows 2003 Server
      • Windows 2008 Server
  • Cold Backup
    • Cold Backups can be accomplished on platforms that do not support VSS
      • Windows 2000 Server
      • Windows XP
  • Backup Granularity
    • Backups are performed at the file level
  • Backup Type
    • Both Full and Incremental backups are supported
  • File System
    • NTFS, FAT32 and FAT are supported.

Disk Configuration Style

Basic Disk

Basic storage uses normal partition tables supported by MS-DOS, Microsoft Windows 95, Microsoft Windows 98, Microsoft Windows Millennium Edition (Me), Microsoft Windows NT, Microsoft Windows 2000, Windows Server 2003 and Windows XP. A disk initialized for basic storage is called a basic disk. A basic disk contains basic volumes, such as primary partitions, extended partitions, and logical drives. Additionally, basic volumes include multidisk volumes that are created by using Windows NT 4.0 or earlier, such as volume sets, stripe sets, mirror sets, and stripe sets with parity. Windows XP does not support these multidisk basic volumes. Any volume sets, stripe sets, mirror sets, or stripe sets with parity must be backed up and deleted or converted to dynamic disks before you install Windows XP Professional.

Dynamic Disk

Dynamic storage is supported in Windows XP Professional, Windows 2000 and Windows Server 2003. A disk initialized for dynamic storage is called a dynamic disk. A dynamic disk contains dynamic volumes, such as simple volumes, spanned volumes, striped volumes, mirrored volumes, and RAID-5 volumes. With dynamic storage, you can perform disk and volume management without the need to restart Windows.

NOTE: Dynamic disks are not supported on portable computers or on Windows XP Home Edition-based computers.

You cannot create mirrored volumes or RAID-5 volumes on Windows XP Home Edition, Windows XP Professional, or Windows XP 64-Bit Edition-based computers. However, you can use a Windows XP Professional-based computer to create a mirrored or RAID-5 volume on remote computers that are running Windows 2000 Server, Windows 2000 Advanced Server, or Windows 2000 Datacenter Server, or the Standard, Enterprise and Data Center versions of Windows Server 2003.

Storage types are separate from the file system type. A basic or dynamic disk can contain any combination of FAT16, FAT32, or NTFS partitions or volumes. A disk system can contain any combination of storage types. However, all volumes on the same disk must use the same storage type.

Dynamic Disk is the Microsoft method of supporting software RAID

Prerequisites

  • Before installing and using the Windows DR Agent, ensure a backup and restore of files from the client machine is successful.
  • Ensure your client software is the same version of the DR agent available for download.

DR License

Install the Windows DR License on the backup server
NOTE: If you receive the error message "Illegal Key Code", ensure there are no white spaces before and after each license parameter.

HOME > Licenses > Add a New License

Dell PERC RAID Driver

If you are using a Dell Server with a PERC RAID controller, you will need to obtain the PERC drivers from Dell

Download the driver for the Dell Perc RAID 2, Perc RAID 3 Driver from the Dell Support download page.

  • Perc RAID 2 Driver Files

The following two files are available for the Perc RAID 2 Controller.
perc2.inf
prc2si02.ufi

  • Perc RAID 3 Driver Files

The following file are available for the Perc RAID 3 Controller.
perc2.inf

Other Drivers

Any driver that is not supported by Windows PE

Client Connection

Validate client connection by ensuring a backup and restore is successful to the client machine.

Adding A Client

Go to How To Add A Client to start registering clients to the backup server.

Client Connection Troubleshooting

If you are having trouble connecting to a client machine, please check the Public Knowledge Base for the Client Connection and Network Navigator FAQ.

Software Package Version

Before installing the Windows DR package, ensure the Arkeia Agent is running the same software version.
Upgrade the Arkeia Agent if the Windows DR package is a newer release version.

Open a DOS prompt and execute the following command:
C:\Program Files\Arkeia\Arkeia\bin\arkeiad.exe --version

IMPORTANT: The Arkeia Agent and it's options must be of the same software version.

Software Download and Installation

Download arkpwindr Agent

Go to Arkeia Downloads to obtain the required Arkeia Packages.

arkpwindr-x.x.x.zip

Install arkpwindr Agent

Unzip and Extract the files to a temporary directory.
Click on "setup.exe" to start the Install Shield process 

Download arkwindr ISO

Go to Arkeia Downloads to obtain the required Arkeia Packages.

arkwindr-x.x.xx.zip

Make a Bootable Device

The bootable DR CD is required for the DR Restoration Process.

CD / DVD

Burn the DR iso to CD/DVD using your installed CD/DVD writer software.

unzip the file
make a bootable CD from the ISO image

USB Key

Insert your USB (4GB+ preferable) stick to the system and backup all the data from the USB as we are going to format the USB to make it as bootable.

Open a Command Prompt.

Type in CMD in Start menu search field and hit Ctrl + Shift + Enter
or
Start > All programs > Accessories > right click on Command Prompt and "Select Run As Administrator"

When the Command Prompt opens, enter the following command:

DISKPART
Press Enter
LIST DISK
Press Enter

Once entered into the LIST DISK command, it will show the disk number of your USB drive.

Execute the following commands is sequence, using the information relevant to your environment

SELECT DISK 1 
Press Enter
NOTE: Replace "DISK 1" with your disk number
CLEAN
Press Enter
CREATE PARTITION PRIMARY
Press Enter
SELECT PARTITION 1
Press Enter
ACTIVE
Press Enter
FORMAT FS=NTFS
Press Enter
NOTE:  The format process may take few minutes.
ASSIGN LETTER=G
where "G" is the letter assigned to the volume
Press Enter
LIST VOLUME
Press Enter
EXIT
Press Enter

Do not close the command prompt as we need to execute one more command at the next step. Just minimize it.

Install Boot Sector
Microsoft Windows Installation CD/DVD
Insert your Windows DVD in the optical drive and write down the drive letter of the optical drive and USB media.

In the examples below, we use "E" as my optical (DVD) drive letter and "G" as my USB drive letter.

Go back to original command prompt or open a new one and execute the following commands:

E:
where "E" is your DVD/CD drive letter. 
There is a space between "E: and CD BOOT"
Press Enter
CD BOOT
Press Enter
BOOTSECT.EXE /NT60 G:
where "G" is your USB drive letter
Press Enter

Now copy the Arkeia Windows DR CD/DVD contents to USB Key.

Download bootsec.zip
Download "bootsect.zip" from your favorite internet source, and extract it to your local file system.
D:\USER\NAME\BOOTSECT\BOOTSECT.EXE /NT60 G:
where "G" is your USB drive letter
Press Enter
Insert the Arkeia Windows DR CD into your CD/DVD drive.
Copy the Arkeia Windows DR CD/DVD contents to USB Key.

Windows DR Configuration

MS Windows Backup Agent Options

The Windows Disaster Recover process deploys the USE_SNAPSHOT option which is used to generate a Windows Snapshot of the system state via the Shadow Copy Service.
The USE_SNAPSHOT option is NOT COMPATIBLE with Arkeia Network Backup Specialized Agents:

  • MS Exchange
  • MSSQL
  • MySQL
  • Oracle

If you are deploying the Windows Disaster Recovery backup in this type of environment, you must configure two separate Savepacks whose backups cannot be executed at the same time.

Savepack #1 DR Savepack
A Savepack specifically for Windows Disaster Recovery.
Savepack #2 Daily Backup Savepack
A Savepack for normal daily File System and Agent Option backups.

Create a Savepack

Create a Savepack containing the arkpwindr agent, and the volumes included in the backup.

HOME > What To Backup > Savepacks > Add a new Savepack
Name = Windows DR
Click on Create

Create a Tree

Populate the Savepack with the Windows DR requirements.


HOME > What To Backup > Savepacks
Select the Savepack to Browse
Click on "Browse Trees for <savepack name>
Expand the clients hostname
Select the Windows Disaster Recovery agent
Select the Drive Letter(s) required for the DR backup 

EXAMPLE: of a Windows Server with physical(C:) and (D:) drive for the DR Backup / Recovery.

hostname.domain.com!Windows Disaster Recovery
hostname.domain.com!file:C:/
hostname.domain.com!file:D:/

WARNING: Setting the path to hostname.domain.com!file is NOT SUPPORTED by the Windows DR Process.
IMPORTANT: The Drives Letters/Volumes must be specified in the Savepack Tree path as indicated above.

Click UPDATE

Modify the Client Settings

Configure the Arkeia Vista client to backup ACL and STREAMS

HOME > Nodes > Backup Clients
Select the client to modify
Select the "Backup Agent Configuration" tab

Configure ACL

WNT_BACKUP_SECURITY_INFO	15
Click APPLY

Configure STREAMS

WNT_THREAD		YES
Click APPLY

Windows DR Backup

A Windows DR backup must be done by passing the advanced parameter to the the client. This can be done at the interactive backup screen and the scheduled job screen.

Interactive Backup

HOME > When To Backup

Select
* Immediate Backup to Tape
* OR
* Immediate Backup to Disk
Savepack = Windows DR
Drivepack = VTL
Pool = VTL (if backup to tape is selected)

Enter the following values as an Advanced Parameter.

Parameter: 	USE_SNAPSHOT
Value:		1
Click ADD
Click START BACKUP

Scheduled Backup

Windows DR Restoration

Boot to Arkeia DR

The Arkeia Windows DR supports booting from CD, USB or a Network Boot. Ensure that your PC BIOS is configured for your boot requirements.

Insert the WINDR CD into the CD ROM of the computer
boot the computer

You will see the "Arkeia Disaster Recovery for Windows GUI" after the "Windows is loading files...." message.

Keyboard Configuration Screen

Use the drop down menu to select your Keyboard Layout and Click Next

US (default)
 click NEXT

DOS Shell

A DOS Shell is provided to gain access to Windows PE.

Networking Configuration

Arkeia DR is capable of supporting the majority of network adapters. If your network card is not detected, then Arkeia provides a "Install Driver" button that allows the user to install drivers from the PC CDROM or USB Key. The Windows Disaster Recovery is entirely loaded in memory, so the arkwindr CDROM can be safely removed from the CDROM drive to insert another CDROM with drivers.

DHCP IP Release

If DNS/DHCP is deployed, the network card will obtain an IP address automatically but this may not be the correct IP assignment in a muli-homed environment.

Open a DOS Shell.

Release the IP the DHCP gave you.

ipconfig /release

Return to the UI and assign Network information and click NEXT Open a DOS Shell.

Type ipconfig and you should see the IP you assigned and not that of DHCP

ipconfig

Network Configuration Screen

Configure the parameters in the Network Configuration Screen per your requirements.
Setting the IP address in this screen will over ride the DHCP address assignment when networking is restarted.
NOTE: The Computer Name must be identical to the hostname present in the Arkeia index. If you backup "clientA.domain.com", then you must restore "clientA.domain.com"

Computer Name and Domain Name:    clientA.domain.com
Network Interface:                select the correct NIC from the drown down list
Computer IP Address:              xx.xx.xx.xx
Network Mask:                     xxx.xxx.xxx.x
Gateway IP Address:               leave blank for NO Gateway
DNS Server IP Address:            leave blank for NO DNS server
click NEXT

Driver Installation Option

The Windows DR session allows the end user to load drivers that are not supported by the Windows PE such as NIC and RAID Drivers. Note that the Windows DR is based on Windows Seven 32bits, so you need to download drivers for this Windows version.

Insert the CD containing the required drivers in the CD ROM
Click on "Install Driver" 
Select the location of the driver 
Click OPEN
Repeat for all drivers that need to be loaded


Click NEXT

Arkeia Configuration Screen

The Arkeia Configuration Screen defines the backup server that hosts the DR Backup information for the client computer.

Backup Server Name:   backup.domain.com
IP Address:           xx.xx.xx.xx
TCP Port:             617 (default)
User Name:            root (default
Login Password:       xxxxxxxxxx
click on "Get Backups List"

No Windows Disaster Recovery Backup Found

The following error messages mean that no DR information was located for the client hostname provided.

POSSIBLE ERROR MESSAGES
1. You have have not loaded component "clientA.domain.com!Windows Disaster"
2. Recovery:Disaster Recovery Data!"
3. No Windows Disaster Recovery backup found

Trouble Shooting No DR Backup Found

If you receive the message "No Windows Disaster Recovery backup found":

1. Check the backup logs for a completed DR backup
2. Click the "Previous" button and double check the hostname.domain assignment at the Network Configuration Screen
3. Check the Network Card selection from the drop down list. 
4. Check DNS from the backup server to the DR session by pinging the hostname.domain.com and IP address
Open the DOS Shell and check connectivity using ping, and nslookup
Click NEXT to return to the Arkeia Configuration Screen

Backup Selection

The backup selection screen will display all valid DR backups by Start Date and Savepack.

Select the DR backup to restore
click NEXT

Disaster Recovery Data

Clicking NEXT will start the Database Analysis phase to determine the location and media required for the restoration process.
Information about this process can be seen in the active messaging box at the bottom of the screen.

This step also initiates the restore of the Windows Disaster Recovery!Disaster Recovery Data which contains the volume/partition/disks information about the client machine and is displayed in the "Volume and Disk Information Screen" after the data has been extracted from the media.

Volume and Disk Information Screen

The Volume and Disk Information Screen is divided into two sections, Backup State and Active State. This screen allows the user to modify parameters to be applied to the restoration process if needed. Most DR restores DO NOT require any modifications within this screen.

Data To Restore (Left Side)

The Backup/Recovery State lists the Volumes, Disk and Partitions are the state of backup time. This information comes from the restoration of the Windows Disaster Recovery!Disaster Recovery Data file.

If the this csreen does not display any information, then contact your Arkeia Support Engineer as you may have connectivity issues with the backup server or the index analysis.

Disk Format Screen (Right Side)

Displays the current state of the system disk on the computer and is a full Disk Volume management tool that can be used to change the volume name and paths of the local system.

Format Volumes

Used to format an existing volume on on a current disk

The available file systems are:

  • NTFS (default)
  • FAT32 if the volume is a basic partition smaller than 32GB
  • FAT if the volume is a basic partition smaller than 4GB
Change Drive Letter

Used to change the drive letter of a selected volume

Initialize Disk

Used to initialize a complete disk

The available Partition Styles are:

  • MBR (Master Boot Record) (default)
  • GPT (GUID Partition Table)

The available disk types are:

  • Basic (default)
  • Dynamic (MicroSoft Software Raid)

WARNING
Although the disk type "Dynamic" is optional, A Dynamic Disk backup must be restored to a Basic Partition.


NOTE If the Current State Screen does not display any information then:
1. The disk may be blank and contain no current data.
   In this case you should only see Disk and no Volumes.
2. The disk may not be accessible which will display an error message.
   In this case you will not see any Disk or Volumes.

Initializing the Disk Steps

A special procedure is required to initialize the disk to complete the restore process.

First:    Check the box to initialize the drive
Second:   Press apply to initialize the drive
Third:    Select the partition
Fourth:   Press Apply to Create the simple volume
Fifth:    Select the newly created volume
Seventh:  Press apply to format that volume

Disk Preparation Procedure

Prepare the Disk for the recovery process.

Initialize the Disk
Select the Disk to Initialize and Click Apply
Create the Partition

The available Partition Styles are:

   * MBR (Master Boot Record) (default)
   * GPT (GUID Partition Table) 

The available disk types are:

   * Basic (default)
   * Dynamic (Micro Soft Software Raid) 

WARNING
Although the disk type "Dynamic" is optional, A Dynamic Disk backup must be restored to a Basic Partition.

Select the Partition and Disk Type and Click OK
Create The Volumes

The available file systems are:

   * NTFS   (default)
   * FAT32  if the volume is a basic partition smaller than 32GB
   * FAT    if the volume is a basic partition smaller than 4GB 
Select the Partition to create a Volume and Click Apply
Entire Disk As Volume (C:)

The default, the entire disk is used for the Volume (C:).

Accept the Default Volume Size
Assign the Drive Letter C and Click OK
Create a Sized Volume (C:)
Set the desired Volume Size
Assign the Drive Letter C and Click OK
Create a Sized Volume (D:)
Select the Partition to create a Volume and Click Apply
Select the Free Partition Space and Click Apply
Set the desired Volume Size
Assign the Drive Letter D and Click OK
Format The Volumes
Select the Volume to format and Click Apply
Assign a Volume Name as required and click OK
Repeat the same process for any other Volumes such as (D:)
click NEXT

Windows DR Restoration Screen

The DR Restoration Process is launched from the Restoration Screen which is after the Volume State Split Screen.

Select one or several volumes to restore
click Start
Notice the data transferring in the Windows DR Screen
You can also see the Restore Job running in the Backup Server's Web Interface
The completed restore will display "End of Flow" and statistical data about the Restore Job.
Remove the Arkeia Windows Disaster Recovery CD.
Click "Reboot" or Press the machines power button
click NEXT


Troubleshooting

Restored Pagefile.sys

The Windows DR Backup consists of the VSS Snapshot of the entire partition which includes the pagefile.sys swap file. During the recovery process, the pagefile.sys is restored as "unmovable space" and it may seam that your partitions space usage is not correctly reported in MS Windows.

1) Check the MS Windows Disk Fragmentation tool for "unmovable space".
   The "unmovable space" should be the restored pagefile.sys
2) Disable Paging
   
    My Computer > Settings > Performance > Settings
    * Disable Page File
    * Click Set
    * Reboot the server
    * Enable Page File again
3)  Check the file system for the correctly reported disk usage size..

Run Time Error During Restore

A windows Run Time Error can occur during the Restoration process if the restoration is sending data to a Virtual Disk when the physical disk is not present, formatted or RAID Drivers loaded.

  • Refer to the Load Driver option to load any RAID or Disk Drivers needed for your system.

Corrupted Files On Boot

C:\Windows\System32\config\system
C:\Windows\System32\config\software
C:\Windows\System32\config\sam
C:\Windows\System32\config\security
C:\Windows\System32\config\default

Error Messages

Corrupted SYSTEM file

If the boot hangs on loading the "C:\Windows\System32\config\system" file,
it may be corrupted and in need of repair.

Corrupted SAM file

lsass.exe - System Error
Security Accounts Manager initialization failed because of the following error: 
A device attached to the system is not functioning. Error Status: 0xc0000001.  

SOLUTION:

Insert your Windows Server 2003 CD and reboot from the CD drive

NOTE: To boot from CD, go to BIOS Setup option on startup and select your CD/DVD drive as the first boot drive, save the present settings and exit.

Your computer will reboot & will boot from Windows Server 2003

Press ‘R’ when offered the option of using the Windows Recovery Console

Recovery Console will prompt at the command prompt type the following command to go to the system32 directory.

C:\WINDOWS >cd system32\

Rename config to configold

ren config configold

Create a new config directory

mkdir config

Go into the newly created config directory

cd config

Type the following command to ONLY copy the file that is corrupted. Then press Enter.

copy c:\windows\repair\system
copy c:\windows\repair\software
copy c:\windows\repair\sam
copy c:\windows\repair\security
copy c:windows\repair\default

Exit the Console

exit

Now Server will reboot

NOTE: To boot from Hard Drive, go to BIOS Setup option on startup and select your Hard drive as the first boot drive, save the present settings and exit]

Drive Letter D:/ Not Seen

If your systems CD-ROM claims the drive letter D: at boot up, the drive letter D: will not be seen as an available volume to restore. The Windows PE image supports the "diskpart" program which can be used to reassign the CD-ROM to a different drive letter other than D:.

Boot from WinDR CD.

At the first screen, launch a dos prompt, and run the diskpart commands:

diskpart

At the DISKPART prompt, type:

list volume

Make note of the number of the simple volume whose drive letter you want to assign, change, or remove.
At the DISKPART prompt, type:

select volume 0

Select the volume, where "Z" is the volume's number, whose drive letter you want to assign, change, or remove.
At the DISKPART prompt, type the following command:

assign letter Z

Remove the drive letter that you want to delete. At the DISKPART prompt, type the following command:

remove letter X

Type the following command to quit the diskpart program:

quit
Close the command line
Push the "reload" button in the UI.

Proceed with the Windows DR Process

Personal tools