{"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\/2016\/06\/omniofflr-offline-restore-data-protector-internal-database\/","title":{"rendered":"OMNIOFFLR &#8211; Offline Restore Data Protector Internal Database"},"content":{"rendered":"<p>\nIn one of my previous articles I briefy informed about EADR for Data Protector 9.06 on Windows 2012 R2  &#8211; please refer to <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>\nHowever, if you don&#8217;t need EADR as a complete recovery option and the preparation for disaster recovery for the IDB is required only, then you can use the regular backup of the internal database. A standard restore requires a working internal database and this might be a problem for some environments. There is a more efficient method to recover the IDB, using the command <code>omniofflr<\/code>. The content of this article was verified for a Cell Manager on Windows 2012 R2 and Data Protector 9.06.<\/p>\n<p><b>Offline Restore &#8211; how it works<\/b>:<\/p>\n<ul>\n<li>Enables restore of any type of DP backup objects in the absence of operable Data Protector internal database, including IDB itself<\/li>\n<li>Can also be used indirectly by the higher-level omnidr command, which automatically generates appropriate omniofflr command-line options, based on the information retrieved from the SRD file<\/li>\n<li>Omniofflr command might be used to \u201ejust\u201c recover the internal database<\/li>\n<li>To execute omniofflr command you need to specify the details about backup and restore devices and the backup media \u2013 information about these details is stored in SRD file or <code>obrindex.dat<\/code>; can also be specified in the command-line<\/li>\n<li>Phases of omniofflr\n<ul>\n<li>DP services stopped (except for Data Protector Inet service)<\/li>\n<li>IDB restore<\/li>\n<li>Rollforward operation on the IDB using transactions from the available archived logs<\/li>\n<li>Starting DP services<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><b>Omniofflr modes<\/b>:<\/p>\n<ul>\n<li>Autorecovery mode\n<ul>\n<li>Omniofflr operation is fully automated, all required information is retrieved from obrindex.dat<\/li>\n<li>Obrindex.dat updated during each IDB backup<\/li>\n<li>Maintain a copy by using RecoveryIndexDir in global option file<\/li>\n<li>Omniofflr can use the copy in case orginial file is missing<\/li>\n<\/ul>\n<\/li>\n<li>Read mode\n<ul>\n<li>Omniofflr retrieves information from an option file<\/li>\n<li>Option file can be generated using <code>-idb -autorecover -save<\/code><\/li>\n<li>Allows modification of devices (in case media agent resides on different system)<\/li>\n<\/ul>\n<\/li>\n<li>Manual mode\n<ul>\n<li>In case obrindex.dat and option file are not available, specify all required parameter in command line<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>To make the process automated and prepared in advance, you can use a post-exec script during the IDB backup. Script:<\/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>Assumption used for this example: Cell Server &#8211; ServerCS, Media Agent &#8211; ServerMA, copy of obrindex.dat \u2013 c:\\dr\\obrindex.dat (see global option file)<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>To start the restore of IDB use the syntax:<\/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>In one of my previous articles I briefy informed about EADR for Data Protector 9.06 on Windows 2012 R2 &#8211; please refer to https:\/\/www.data-protector.org\/wordpress\/2016\/05\/prepare-and-execute-eadr-cell-server-on-windows-2012-r2-data-protector-9-06\/. However, if you don&#8217;t need EADR as a complete recovery option and the preparation for disaster recovery for the IDB is required only, then you can use the regular backup of [&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":"en","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":313,"url":"https:\/\/www.data-protector.org\/wordpress\/2011\/01\/eadr-mit-windows-2008-r2\/","url_meta":{"origin":3086,"position":0},"title":"EADR with Windows 2008 R2","date":"21. January 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":2190,"url":"https:\/\/www.data-protector.org\/wordpress\/2015\/01\/eadr-tape-block-size\/","url_meta":{"origin":3086,"position":1},"title":"EADR and Tape Block Size","date":"1. January 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":1866,"url":"https:\/\/www.data-protector.org\/wordpress\/2014\/03\/workaround-eadr-windows-2003-32-bit-data-protector-7-03\/","url_meta":{"origin":3086,"position":2},"title":"Workaround: EADR Windows 2003 32 Bit &#8211; Data Protector 7.03","date":"4. March 2014","format":false,"excerpt":"{:en} When using Data Protector 7.03 and when doing Enhanced Automated Disaster Recovery for a Windows 2003 32bit client, the restore might not work after the Mini OS has been started. You might recognize the starting omnidr process, however the preocess will run into a loop and the EADR process\u2026","rel":"","context":"In &quot;Advisory&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":126,"url":"https:\/\/www.data-protector.org\/wordpress\/2010\/08\/enhanced-automated-disaster-recovery\/","url_meta":{"origin":3086,"position":3},"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":[]},{"id":1428,"url":"https:\/\/www.data-protector.org\/wordpress\/2013\/06\/basics-dp-catalog-protection-data-protection\/","url_meta":{"origin":3086,"position":4},"title":"BASICS &#8211; DP Catalog Protection and Data Protection","date":"10. June 2013","format":false,"excerpt":"{:en}Within Data Protector the protection is set per backup job and not for the tape, which might be misunderstood by customers. In the GUI a distinction is made between \"Data Protection\" and \"Catalog Protection\". \"Data Protection\" describes how long the data is kept on media and \"Catalog Protection\" describes how\u2026","rel":"","context":"In &quot;BASICS&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":388,"url":"https:\/\/www.data-protector.org\/wordpress\/2011\/03\/savedevices-omnidownload\/","url_meta":{"origin":3086,"position":5},"title":"SaveDevices &#8211; omnidownload","date":"16. March 2011","format":false,"excerpt":"{:de}Im Rahmen des Disaster Recovery f\u00fcr den Cell Server empfiehlt es sich neben der obrindex.dat - siehe Recover Cell Server auch die Libraries und Devices herunterzuladen, um sie im Bedarfsfall wieder schnell generieren zu k\u00f6nnen. Daf\u00fcr habe ich das kleine Tool SaveDevices geschrieben, welches die Konfiguration in Text Dateien ablegt.\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\/wp-json\/wp\/v2\/posts\/3086"}],"collection":[{"href":"https:\/\/www.data-protector.org\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.data-protector.org\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.data-protector.org\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.data-protector.org\/wordpress\/wp-json\/wp\/v2\/comments?post=3086"}],"version-history":[{"count":6,"href":"https:\/\/www.data-protector.org\/wordpress\/wp-json\/wp\/v2\/posts\/3086\/revisions"}],"predecessor-version":[{"id":3119,"href":"https:\/\/www.data-protector.org\/wordpress\/wp-json\/wp\/v2\/posts\/3086\/revisions\/3119"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.data-protector.org\/wordpress\/wp-json\/wp\/v2\/media\/3087"}],"wp:attachment":[{"href":"https:\/\/www.data-protector.org\/wordpress\/wp-json\/wp\/v2\/media?parent=3086"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.data-protector.org\/wordpress\/wp-json\/wp\/v2\/categories?post=3086"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.data-protector.org\/wordpress\/wp-json\/wp\/v2\/tags?post=3086"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}