{"id":3086,"date":"2016-06-01T15:10:46","date_gmt":"2016-06-01T14:10:46","guid":{"rendered":"https:\/\/www.data-protector.org\/wordpress\/?p=3086"},"modified":"2016-06-10T16:20:48","modified_gmt":"2016-06-10T15:20:48","slug":"omniofflr-offline-restore-data-protector-internal-database","status":"publish","type":"post","link":"https:\/\/www.data-protector.org\/wordpress\/de\/2016\/06\/omniofflr-offline-restore-data-protector-internal-database\/","title":{"rendered":"OMNIOFFLR &#8211; Offline Restore Data Protector Internal Database"},"content":{"rendered":"<p>\nErst neulich habe ich ausf\u00fchrlich \u00fcber EADR f\u00fcr Data Protector 9.06 unter Windows 2012 R2 berichtet &#8211; siehe <a href=\"https:\/\/www.data-protector.org\/wordpress\/2016\/05\/prepare-and-execute-eadr-cell-server-on-windows-2012-r2-data-protector-9-06\/\" target=\"offlr1\">https:\/\/www.data-protector.org\/wordpress\/2016\/05\/prepare-and-execute-eadr-cell-server-on-windows-2012-r2-data-protector-9-06\/<\/a>.\n<\/p>\n<p>\nWenn aber kein EADR ben\u00f6tigt wird und nur f\u00fcr die interne Datenbank eine Vorbereitung f\u00fcr das Disaster Recovery durchgef\u00fchrt werden soll, so reicht prinzipiell erst einmal die Sicherung der internen Datenbank. Allerdings setzt ein Standard Restore eine funktionierende Datenbank voraus. Ein weitere, effiziente M\u00f6glichkeit ist die Nutzung des Befehls <code>omniofflr<\/code> zur Wiederherstellung der internen Datenbank. Der Inhalt des Artikels wurde auf einen Cell Server unter Windows 2012 R2 mit Data Protector 9.06 verifiziert.<\/p>\n<p><b>Offline Restore &#8211; wie funktioniert es<\/b>:<\/p>\n<ul>\n<li>Erm\u00f6glicht die Wiederherstellung eines belibigen DP Backup Objektes im Falle die Data Protector IDB ist nicht vorhanden oder nicht mehr funktionsf\u00e4hig. Dies schlie\u00dft die Wiederherstellung der kompletten IDB ein<\/li>\n<li>Kann auch indirekt vom h\u00f6her gelagerten omnidr Befehl verwendet werden, welches automatisch die notwendigen omniofflr Commannd-Line Parameter generiert. Die Informationen hierf\u00fcr werden aus der SRD Datei gelesen<\/li>\n<li>Der Omniofflr Befehl kann benutzt werden um nur die IDB wiederherzustellen<\/li>\n<li>Um omniofflr zu nutzen m\u00fcssen die Details zu den Ger\u00e4ten, die f\u00fcr Backup und Restore verwendet werden entsprechend angegeben werden. Informationen \u00fcber diese Details sind in der SRD Datei oder der Datei <code>obrindex.dat<\/code> enthalten, k\u00f6nnen aber auch per Command-Line angegeben werden.<\/li>\n<li>Phasen von omniofflr\n<ul>\n<li>DP Dienste werden gestoppt (au\u00dfer Data Protector Inet Dienst)<\/li>\n<li>IDB Restore wird durchgef\u00fchrt<\/li>\n<li>Rollforward der IDB mittels Transaktionen von den verf\u00fcgbaren Archive Logs<\/li>\n<li>DP Dienste werden gestartet<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><b>Omniofflr Modi<\/b>:<\/p>\n<ul>\n<li>Autorecovery Modus\n<ul>\n<li>Die omniofflr Operation ist komplett automatisiert, alle ben\u00f6tigten Informationen werden aus der obrindex.dat gelesen<\/li>\n<li>Die Datei obrindex.dat wird w\u00e4hrend des IDB Backup aktualisiert<\/li>\n<li>Eine Kopie der Datei kann \u00fcber die global Variable RecoveryIndexDir angelegt werden<\/li>\n<li>Der omniofflr Befehl kann die Kopie nutzen f\u00fcr den Fall die originale Datei ist nicht mehr vorhanden<\/li>\n<\/ul>\n<\/li>\n<li>Lese Modus\n<ul>\n<li>Omniofflr liest die ben\u00f6tigten Informationen aus einer (vorher erstellten Optionsdatei)<\/li>\n<li>Die Optionsdatei kann mit dem Befehl <code>-idb -autorecover -save<\/code> generiert werden<\/li>\n<li>Erlaubt das Ver\u00e4ndern von Ger\u00e4ten (f\u00fcr den Fall der Media Agent ist auf einem anderen System installiert)<\/li>\n<\/ul>\n<\/li>\n<li>Manueller Modus\n<ul>\n<li>F\u00fcr den Fall die Optionsdatei oder die Datei obrindex.dat sind nicht voranden, k\u00f6nnen alle Parameter \u00fcber die Command-Line angegeben werden<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>Um den Prozess zu automatisieren und f\u00fcr das Disaster Recovery vorbereitet zu sein, k\u00f6nnen die ben\u00f6tigten Befehle in ein post-exec Skript in der IDB Sicherung eingef\u00fcgt werden. Skript:<\/p>\n<blockquote style=\"font: 12px Courier; background-color: #ffffff; border: 1px solid #ccc; border-radius: 6px; box-shadow: 1px 1px 1px #ccc;\">\n<pre style=\"border: 0px; background-color: #ffffff;\">\r\nSET IDB_SESSIONID=%SESSIONID%\r\ncopy \"C:\\dr\\obrindex.dat\" \"\\\\ServerMA\\C$\\dr\\obrindex.dat\"\r\nmove \"\\\\ServerMA\\C$\\dr\\idbrestore_omniofflr.txt\" \"\\\\ServerMA\\C$\\dr\\idbrestore_omniofflr_old.txt\"\r\n\"C:\\Program Files\\OmniBack\\bin\\omniofflr\" -idb -autorecover -session %IDB_SESSIONID% -skiprestore -save \"\\\\ServerMA\\C$\\dr\\idbrestore_omniofflr.txt\"\r\nexit\r\n<\/pre>\n<\/blockquote>\n<p>Annahmen f\u00fcr das Beispiel: Cell Server &#8211; ServerCS, Media Agent &#8211; ServerMA, Kopie der obrindex.dat \u2013 c:\\dr\\obrindex.dat (siehe Datei global)<br \/>\n<a href=\"https:\/\/www.data-protector.org\/wordpress\/wp-content\/uploads\/2016\/06\/offlr2.png\" target=\"offlrpic1\"><img loading=\"lazy\" src=\"https:\/\/www.data-protector.org\/wordpress\/wp-content\/uploads\/2016\/06\/offlr2.png\" alt=\"offlr2\" width=\"75%\" height=\"75%\"\/><\/a>\n<\/p>\n<p>F\u00fcr den Restore kann dann folgende Syntax benutzt werden:<\/p>\n<blockquote style=\"font: 12px Courier; background-color: #ffffff; border: 1px solid #ccc; border-radius: 6px; box-shadow: 1px 1px 1px #ccc;\">\n<pre style=\"border: 0px; background-color: #ffffff;\">\r\nomniofflr -idb -read \u201e\\\\ServerMA\\C$\\dr\\idbrestore_omniofflr.txt\u201d -verbose -target ServerCS\r\n<\/pre>\n<\/blockquote>\n<p><a href=\"https:\/\/www.data-protector.org\/wordpress\/wp-content\/uploads\/2016\/06\/offlr3.png\" target=\"offlrpic2\"><img loading=\"lazy\" src=\"https:\/\/www.data-protector.org\/wordpress\/wp-content\/uploads\/2016\/06\/offlr3.png\" alt=\"offlr3\" width=\"75%\" height=\"75%\"\/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Erst neulich habe ich ausf\u00fchrlich \u00fcber EADR f\u00fcr Data Protector 9.06 unter Windows 2012 R2 berichtet &#8211; siehe https:\/\/www.data-protector.org\/wordpress\/2016\/05\/prepare-and-execute-eadr-cell-server-on-windows-2012-r2-data-protector-9-06\/. Wenn aber kein EADR ben\u00f6tigt wird und nur f\u00fcr die interne Datenbank eine Vorbereitung f\u00fcr das Disaster Recovery durchgef\u00fchrt werden soll, so reicht prinzipiell erst einmal die Sicherung der internen Datenbank. Allerdings setzt ein Standard Restore [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":3087,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"spay_email":""},"categories":[11],"tags":[],"translation":{"provider":"WPGlobus","version":"2.8.8","language":"de","enabled_languages":["en","de"],"languages":{"en":{"title":true,"content":true,"excerpt":false},"de":{"title":false,"content":true,"excerpt":false}}},"jetpack_featured_media_url":"https:\/\/www.data-protector.org\/wordpress\/wp-content\/uploads\/2016\/06\/offlr1.png","jetpack_shortlink":"https:\/\/wp.me\/p28cjj-NM","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":3016,"url":"https:\/\/www.data-protector.org\/wordpress\/de\/2016\/05\/prepare-and-execute-eadr-cell-server-on-windows-2012-r2-data-protector-9-06\/","url_meta":{"origin":3086,"position":0},"title":"Prepare and execute EADR &#8211; Cell Server on Windows 2012 R2 and Data Protector 9.06","date":"13. Mai 2016","format":false,"excerpt":"{:en} In the past I often informed about the free EADR feature in Data Protector to recover clients and cell server. The last time I wrote an article in 2014 including two small scripts to get things prepared and automated - see https:\/\/www.data-protector.org\/wordpress\/2014\/04\/eadr-cell-server-dp-8-1x-windows-2012-r2\/. However, the batch files got broken due\u2026","rel":"","context":"In &quot;HowTo&quot;","img":{"alt_text":"EADR_23","src":"https:\/\/i0.wp.com\/www.data-protector.org\/wordpress\/wp-content\/uploads\/2016\/05\/EADR_23.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":313,"url":"https:\/\/www.data-protector.org\/wordpress\/de\/2011\/01\/eadr-mit-windows-2008-r2\/","url_meta":{"origin":3086,"position":1},"title":"EADR with Windows 2008 R2","date":"21. Januar 2011","format":false,"excerpt":"{:de}In einen fr\u00fcheren Artikel hatte ich \u00fcber die Wiederherstellung eines Windows 2003 Servers mit Data Protector berichtet. Nachdem Windows 2008 auch immer mehr in Rechenzentren betrieben wird zeige ich nachfolgend die Wiederherstellung eines Windows 2008 R2 Servers mit Data Protector und der Enhanced Automated Disaster Recovery Funktion. Vorbereitung: In der\u2026","rel":"","context":"In &quot;HowTo&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":431,"url":"https:\/\/www.data-protector.org\/wordpress\/de\/2011\/03\/recover-cell-server-with-enhanced-automated-disaster-recovery\/","url_meta":{"origin":3086,"position":2},"title":"Recover Cell Server with Enhanced Automated Disaster Recovery","date":"29. M\u00e4rz 2011","format":false,"excerpt":"{:en}In article EADR with Windows 2008 R2 I described how to use Data Protector EADR for a Windows 2008 R2 server. I also described in former articles that you should be prepared when your Cell Server crashs. To be able to do EADR for your Cell Server I wrote a\u2026","rel":"","context":"In &quot;HowTo&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2190,"url":"https:\/\/www.data-protector.org\/wordpress\/de\/2015\/01\/eadr-tape-block-size\/","url_meta":{"origin":3086,"position":3},"title":"EADR and Tape Block Size","date":"1. Januar 2015","format":false,"excerpt":"{:en}In older articles I often wrote about Bare Metal Recovery, a feature included in Data Protector without any additional costs and called Enhanced Automated Disaster Recovery (EADR) - see https:\/\/www.data-protector.org\/wordpress\/?s=eadr. To recover the Cell Server (see link) I always told to use tape devices with a block size of 64K.\u2026","rel":"","context":"In &quot;HowTo&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1947,"url":"https:\/\/www.data-protector.org\/wordpress\/de\/2014\/04\/eadr-cell-server-dp-8-1x-windows-2012-r2\/","url_meta":{"origin":3086,"position":4},"title":"EADR for Cell Server &#8211; DP 8.1X on Windows 2012 R2","date":"4. April 2014","format":false,"excerpt":"{:en}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\u2026","rel":"","context":"In &quot;HowTo&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":126,"url":"https:\/\/www.data-protector.org\/wordpress\/de\/2010\/08\/enhanced-automated-disaster-recovery\/","url_meta":{"origin":3086,"position":5},"title":"Enhanced Automated Disaster Recovery","date":"6. August 2010","format":false,"excerpt":"{:en}No translation for this article available.{:} {:de} Immer wieder mal ben\u00f6tigt man es wenn ein Server komplett den Bach runter geht... \u00a0In der Regel sollte man vor einem Disaster wissen wie man seine Server wieder herstellt. In den Unterlagen von HP ist zwar sehr sch\u00f6n und ausf\u00fchrlich beschrieben welche einzelnen\u2026","rel":"","context":"In &quot;HowTo&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.data-protector.org\/wordpress\/de\/wp-json\/wp\/v2\/posts\/3086"}],"collection":[{"href":"https:\/\/www.data-protector.org\/wordpress\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.data-protector.org\/wordpress\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.data-protector.org\/wordpress\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.data-protector.org\/wordpress\/de\/wp-json\/wp\/v2\/comments?post=3086"}],"version-history":[{"count":6,"href":"https:\/\/www.data-protector.org\/wordpress\/de\/wp-json\/wp\/v2\/posts\/3086\/revisions"}],"predecessor-version":[{"id":3119,"href":"https:\/\/www.data-protector.org\/wordpress\/de\/wp-json\/wp\/v2\/posts\/3086\/revisions\/3119"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.data-protector.org\/wordpress\/de\/wp-json\/wp\/v2\/media\/3087"}],"wp:attachment":[{"href":"https:\/\/www.data-protector.org\/wordpress\/de\/wp-json\/wp\/v2\/media?parent=3086"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.data-protector.org\/wordpress\/de\/wp-json\/wp\/v2\/categories?post=3086"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.data-protector.org\/wordpress\/de\/wp-json\/wp\/v2\/tags?post=3086"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}