With Data Protector 8.XX the process to create disaster recovery images has been changed. Since the new version, the backup of the internal database is separated from the filesystem backup of the cell server. Hence, the “makeiso.cmd” (see https://www.data-protector.org/wordpress/2011/03/recover-cell-server-with-enhanced-automated-disaster-recovery/) is no longer working. With the separation it is necessary to provide 2 session id’s for the command omniiso
; a session id from the filesystem backup and a session id from the IDB backup. As a preparation for a disaster and to automate the creation of the recovery image new batch files were created. Please see the guide below and how to implement the new scripts. The guide is valid for Data Protector version 8.10 and 8.11 only and was tested with Windows 2012 R2. For Data Protector version 8.0X the scripts will not work, as the option -anyobj
is not available for the omniiso command. However, with some modifications it will be possible to run the scripts as scheduled task.
[wpdm_file id=23]
Requirements and implementation:
- On cell server the correct version of the WAIK/ADK is installed. When Windows 2012 R2 is used, the version “ADK for Windows 8.1” is required.
- The batch files (see download link) are copied into the Data Protector “bin” Folder (i.e:
D:\Program Files\Omniback\bin
). - The backup of the filesystems for the cell server is done using the Options “Copy Recovery Set to disk” (Filesystem Options – Advanced – Tab Other) and “Detect NTFS hardlinks”, “Backup share Information for directories” and “Use Shadow Copy” (Filesystem Options – Advanced – Tab WinFS Options).
- The backup of the filesystems for the cell server is done using a separate backup specification (no other client) and as Post-exec script the batch file
EADR_CS_FSBackup_Post.cmd
(to be executed on cell server) will be inserted (Backup Specification Options – General – Post-exec). - The backup of the internal database from the cell server is created with no schedule (will be started by the filesystem backup) and as Post-exec script the batch file
EADR_CS_IDBBackup_Post.cmd
(to be executed on cell server) will be inserted (Backup Specification Options – General – Post-exec). - In file “EADR_CS_FSBackup_Post.cmd” the following changes must be made: variables OMNIHOME, OMNIDATA and IDBBACKUP (name of the IDB backup specification) must be modified, depending on existing environment.
- In file “EADR_CS_IDBBackup_Post.cmd” at least the following changes must be made: variables OMNIHOME, OMNIDATA, CELLSERVER, WAIKPATH and NETWORKSHARE must be modified, depending on existing environment.
- The batch files are already prepared with variables, so see the values as example.
Example Session Messages filesystem backup:
[Normal] From: BSM@server.domain "CS_Backup_FS" Time: 04.04.2014 11:01:57 Starting to execute "EADR_CS_FSBackup_Post.cmd"... Starting EADR preparation and IDB backup Script Environment: host='SERVER' user='DOMAIN\user' script='D:\Program Files\OmniBack\bin\EADR_CS_FSBackup_Post.cmd' path='D:\Program Files\OmniBack\bin\' Backup successfully started. Session Key: R-2014/04/04-23 [Normal] From: BSM@server.domain "CS_Backup_FS" Time: 04.04.2014 11:01:57 The exec script "EADR_CS_FSBackup_Post.cmd" has completed.
Example Session Messages IDB backup:
[Normal] From: BSM@server.domain "CS_Backup_IDB" Time: 04.04.2014 12:09:50 Starting to execute "EADR_CS_IDBBackup_Post.cmd"... Starting the EADR preparation process Script Environment: host='SERVER' user='DOMAIN\user' script='D:\Program Files\OmniBack\bin\EADR_CS_IDBBackup_Post.cmd' path='D:\Program Files\OmniBack\bin\' Creating the ISO image ... [Normal] From: omniiso@server.domain "omniiso" Time: 04.04.2014 12:09:55 Creating the Disaster Recovery ISO image file. This may take a few minutes... [Normal] From: omniiso@server.domain "omniiso" Time: 04.04.2014 12:09:55 Initializing MiniOS directory structure. [Normal] From: omniiso@server.domain "omniiso" Time: 04.04.2014 12:09:55 Mounting MiniOS image. [Normal] From: omniiso@server.domain "omniiso" Time: 04.04.2014 12:10:00 Inserting Recovery Info file into the MiniOS image file. [Normal] From: omniiso@server.domain "omniiso" Time: 04.04.2014 12:10:00 Inserting hardware information file into the MiniOS image file. [Normal] From: omniiso@server.domain "omniiso" Time: 04.04.2014 12:10:00 Inserting network information file into the MiniOS image file. [Normal] From: omniiso@server.domain "omniiso" Time: 04.04.2014 12:10:00 Inserting ASR BCD file into the MiniOS image file. [Normal] From: omniiso@server.domain "omniiso" Time: 04.04.2014 12:10:00 Copying MiniOS system files to the image file. [Normal] From: omniiso@server.domain "omniiso" Time: 04.04.2014 12:10:00 Copying DRM binaries to the image file. [Normal] From: omniiso@server.domain "omniiso" Time: 04.04.2014 12:10:00 Copying DRM configuration directory to the image file. [Normal] From: omniiso@server.domain "omniiso" Time: 04.04.2014 12:10:00 Copying backup application depot directory to the image file. [Normal] From: omniiso@server.domain "omniiso" Time: 04.04.2014 12:10:00 Storing phase 0 log file into the Recovery Set archive. [Normal] From: omniiso@server.domain "omniiso" Time: 04.04.2014 12:10:00 Configuring vendor specific system images. [Normal] From: omniiso@server.domain "omniiso" Time: 04.04.2014 12:10:00 Creating the MiniOS image startup file. [Normal] From: omniiso@server.domain "omniiso" Time: 04.04.2014 12:10:00 Installing additional MiniOS packages. [Normal] From: omniiso@server.domain "omniiso" Time: 04.04.2014 12:10:17 Installing additional MiniOS packages. [Normal] From: omniiso@server.domain "omniiso" Time: 04.04.2014 12:11:04 Installing additional MiniOS packages. [Normal] From: omniiso@server.domain "omniiso" Time: 04.04.2014 12:11:09 Installing additional MiniOS packages. [Normal] From: omniiso@server.domain "omniiso" Time: 04.04.2014 12:11:15 Installing additional MiniOS packages. [Normal] From: omniiso@server.domain "omniiso" Time: 04.04.2014 12:11:20 Installing additional MiniOS packages. [Normal] From: omniiso@server.domain "omniiso" Time: 04.04.2014 12:11:25 Installing additional MiniOS packages. [Normal] From: omniiso@server.domain "omniiso" Time: 04.04.2014 12:11:32 Installing additional MiniOS packages. [Normal] From: omniiso@server.domain "omniiso" Time: 04.04.2014 12:11:39 Cleaning up MiniOS image, preparing it for usage. [Normal] From: omniiso@server.domain "omniiso" Time: 04.04.2014 12:11:39 Injecting driver files into the MiniOS image. [Normal] From: omniiso@server.domain "omniiso" Time: 04.04.2014 12:11:56 Initializing MiniOS scratch space. [Normal] From: omniiso@server.domain "omniiso" Time: 04.04.2014 12:11:57 Dismounting/Committing MiniOS image. [Normal] From: omniiso@server.domain "omniiso" Time: 04.04.2014 12:12:18 Writing CD-ROM ISO image to the target location. [Normal] From: omniiso@server.domain "omniiso" Time: 04.04.2014 12:12:18 Successfully created the Disaster Recovery ISO image. Saving information about used media ... Copying generated ISO file and information about used media to network share ... 1 file(s) copied. 1 file(s) copied. 1 file(s) copied. Finished [Normal] From: BSM@server.domain "CS_Backup_IDB" Time: 04.04.2014 12:12:26 The exec script "EADR_CS_IDBBackup_Post.cmd" has completed.
Hallo Daniel
Muss das Tape immer noch mit 64K blöcken beschrieben werden oder geht es nun auch mit 256K?
Geht das auch mit DP9 und WS08R2?
Danke
Hi Rene,
ja… Das ist ja eine Limitierung vom Betriebssystem, da im PE Mode die Treiber für Tape und Changer nicht vorhanden/geladen sind. Ich habe zwar mal einen Trick gesehen wie man die SCSI Adressen vor dem Discovery Prozess “umbiegen” kann, das ist aber alles aufwendiger und erfordert Reboots während des EADR Prozesses, so dass ich das nicht empfehlen kann. Ich würde daher für die Sicherung des Cell Servers weiterhin mit den 64K Laufwerken arbeiten.
Grüße
Daniel
Hallo Daniel
Besten Dank
Hallo Daniel
Habe diese konfiguration genommen, habe aber DP9 & Windows 2008 R2
Das Backup läuft ohne Fehler durch.
Beim Restore kommt er soweit das er das abgespekte Fenster von DP aufmacht und gleich Failed anzeigt.
Was mir noch aufgefallen ist, beim Network hat er ein rotes X also kein Netz verfügbar. da es aber der Cell-Manager selbst ist, denke ich nicht das es an dem liegt. Bin mir aber nicht sicher.
Im Debug log sagt er, das es keine Systempartition hat. nur das hat er und wird ja auch gebackupt.
Leider stehe ich hier an. Bin mir auch nicht ganz sicher ob es mit meinen Versionen und den hier angegebenen Versionen funktionirt. Bin für jeden Tipp dankbar.
René
Hi Rene,
seems the Media Agent used for the backup was not on the cell server.
Can you share more information, session logs, etc.?
Best regards
Daniel
Hallo Daniel,
mit DP 9.0x funktioniert das skript nicht und das Restore bricht gleich ab, sobald es anfängt.
Das Problem ist, dass Objekte für System Partitionen nicht in recovery.srd in der ISO mittels des Befehls inkludiert sind.
Lösung:
1. omnisrdupdate in post skript IDB um recovery.srd zu erstellen.
2. omniiso Befehl die erstellte Datei anschließend benutzen, anstatt was in dr\srd zu benutzen
Hallo Daniel
Kannst du mir dein ee-mail zusenden?
oder wo soll ich das hinstellen?
Danke René
daniel-braun(at)data-protector.org
Thank you so much for the scripts and excellent documentation. I have DP 9.01 installed on Windows 2008R2 Server. After following you instruction I have successfully created a EADR of my Cell server.
Pointing to the correct WAIKPATH for Windows 2008R2 was all that was need. C:\\Program Files\\Windows AIK
Hallo Daniel,
ich teste gerade das EADR des Cellserver unter DP9.1 und Server 2008 R2.
Soweit läuft der Backup gut durch lediglich beim erstellen des ISO-Image bekomme ich folgende Fehlermeldung.
Creating the ISO image …
[Major] From: omniiso@cellserver.com \”omniiso\” Time: 14.01.2015 16:24:59
Cannot read from SRD file C:\\Programdata\\Omniback\\Config\\Server\\dr\\srd\\cellserver. Aborting.
Hast du eine Idee warum er nicht auf die Datei zugreifen kann.
Danke und Gruß
Richard
Hi Richard,
kannst Du mal bitte an das Kommando “-debug 1-200 isodbg.txt” anhängen und mir es dann per Mail senden?
Möglicherweise muss ich das Skript für DP 9 anpassen und testen.
Grüße
Daniel