{"id":150,"date":"2011-07-15T18:02:19","date_gmt":"2011-07-15T16:02:19","guid":{"rendered":"http:\/\/www.data-protector.org\/wordpress\/?p=150"},"modified":"2015-12-10T10:05:56","modified_gmt":"2015-12-10T09:05:56","slug":"reorganisation-der-internen-datenbank","status":"publish","type":"post","link":"https:\/\/www.data-protector.org\/wordpress\/de\/2011\/07\/reorganisation-der-internen-datenbank\/","title":{"rendered":"Internal Database error &#8211; reorganize your IDB"},"content":{"rendered":"<p><strong>Update: <\/strong>Es exisitieren immer noch viele alte Data Protector Installationen (6.0, 6.1) und in allen F\u00e4llen die ich ich bisher gesehen habe versteckt sich immer noch der unten beschriebene Fehler. Daher habe ich diesen Artikel aus August 2010 aktualisiert und erweitert und bei der Gelegenheit auch gleich noch \u00fcbersetzt.<br \/>\nWenn man von einer Data Protector 5.x Version auf Data Protector 6.x Version aktualisiert dann ist unter Umst\u00e4nden eine Reorganisation der internen Datenbank notwendig. Eine \u00dcberpr\u00fcfung ob nachfolgende Prozedur notwendig ist kann man mit dem Befehl <code>omnidbutil -chktblspace<\/code>\u00a0\u00fcberpr\u00fcfen. Sollte die Meldung: <code>Please run omnidbutil -modifytblspace to make IDB consistent.<\/code> ausgegeben werden, so ist die Datenbank zu reorganisieren.<br \/>\nEine weitere \u00dcberpr\u00fcfung kann mit dem Befehl <code>omnidbutil -extendinfo<\/code> durchgef\u00fchrt werden. Sollte f\u00fcr Maximum size bei den Datenbankfiles (z.B. dirs.dat, fn1.ext, fnames.dat, &#8230;) ein Wert von 2097152 statt 2096128 angezeigt werden (2091752\/1024=2048 statt 2096128\/1024=2047), dann hat die interne Datenbankstruktur eine falsche Gr\u00f6\u00dfe.\u00a0 Die Datenfile Limitierung muss immer dann gemacht werden wenn man von einer DP 5.5 auf 6.x version aktualisiert.<br \/>\nFolgende Schritte sind notwendig:<\/p>\n<ul>\n<li>Sicherung der internen Datenbank von Data Protector<\/li>\n<li>Anlegen von Sicherungsverzeichnissen auf einer Platte mit gen\u00fcgend freiem Platz (in dem Beispiel hier e: omniback.bak, cdb, mmdb).<\/li>\n<li>Stoppen der Data Protector Dienste (<code>omnisv -stop<\/code>)<\/li>\n<li>Sicherheitskopie der Data Protector Installation machen (<code>robocopy \"d:\\program files\\omniback\" e:\\omniback.bak *.* \/e \/r:1 \/w:1<\/code>)<\/li>\n<li>Starten der Data Protector Dienste (<code>omnisv -start<\/code>)<\/li>\n<li>Dokumentation der fnames Erweiterungen und Anzahl der DCBF Verzeichnisse<\/li>\n<li>Export der internen Datenbank\n<ul>\n<li><code>omnidbutil -writedb -mmdb e:\\mmdb -cdb e:\\cdb<\/code><\/li>\n<li>Achtung: am Ende sind unbedingt wie gefordert die msg + dcbf Verzeichnisse zu sichern<\/li>\n<\/ul>\n<\/li>\n<li>Neuinitialisieren der internen Datenbank\n<ul>\n<li><code>omnidbinit -force<\/code><\/li>\n<\/ul>\n<\/li>\n<li>Datenfile Gr\u00f6\u00dfe bestimmen und bei Bedarf korrigieren\n<ul>\n<li><code>omnidbutil -chktblspace<\/code> (siehe oben, wenn Fehlermeldung kommt n\u00e4chsten Schritt ausf\u00fchren)<\/li>\n<li><code>omnidbutil -modifytblspace<\/code> (Datenfile Limitierung durchf\u00fchren)<\/li>\n<li><code>omnidbutil -chktblspace<\/code> (erneute Kontrolle)<\/li>\n<\/ul>\n<\/li>\n<li>Import der internen Datenbank\n<ul>\n<li>Anlage der zus\u00e4tzlichen DCBF Verzeichnisse (identisch wie vorher) und der fnames Erweiterungen (GUI &#8211;&gt; Internal Database &#8211;&gt; Usage)<\/li>\n<li><code>omnidbutil -readdb -mmdb e:\\mmdb -cdb e:\\cdb<\/code><\/li>\n<li>Data Protector Dienste stoppen (<code>omnisv -stop<\/code>)<\/li>\n<li>Zur\u00fcckkopieren der msg und dcbf Verzeichnisse<\/li>\n<li>Data Protector Dienste starten (<code>omnisv -start<\/code>)<\/li>\n<\/ul>\n<\/li>\n<li>Bei Bedarf Session Counter resetten\n<ul>\n<li>omnidbutil -set_session_counter XXX (xxx beliebiger Wert &#8211; muss gr\u00f6\u00dfer wie die letzte Session ID sein)<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Update: Es exisitieren immer noch viele alte Data Protector Installationen (6.0, 6.1) und in allen F\u00e4llen die ich ich bisher gesehen habe versteckt sich immer noch der unten beschriebene Fehler. Daher habe ich diesen Artikel aus August 2010 aktualisiert und erweitert und bei der Gelegenheit auch gleich noch \u00fcbersetzt. Wenn man von einer Data Protector [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"spay_email":""},"categories":[11],"tags":[71,69,70,72,68,16],"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":"","jetpack_shortlink":"https:\/\/wp.me\/p28cjj-2q","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":4340,"url":"https:\/\/www.data-protector.org\/wordpress\/de\/2018\/09\/appserver-issues-when-upgrading-to-10-x\/","url_meta":{"origin":150,"position":0},"title":"AppServer Probleme beim Upgrade auf 10.x beheben","date":"26. September 2018","format":false,"excerpt":"{:en}The AppServer has become an integral part of Data Protector. When it fails neither user authentication, scheduling or reporting will work. A critical issue has been identified that may cause upgrades to fail and\/or run-time issues caused by invalid data stored in the jce_service_description and jce_service_property tables in the Data\u2026","rel":"","context":"In &quot;Advisory&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1892,"url":"https:\/\/www.data-protector.org\/wordpress\/de\/2014\/03\/migrate-dp-8-xx-dp-8-xx-hardware-ms-windows-operating-system\/","url_meta":{"origin":150,"position":1},"title":"Migrate DP 8.XX to DP 8.XX using new hardware or different MS Windows operating system","date":"26. M\u00e4rz 2014","format":false,"excerpt":"{:en}The migration of the internal database to new hardware or to a new Microsoft Windows operating system was no big deal in the past and before the release of Data Protector 8.xx. With the introduction of PostgreSQL as the new internal database this has been changed and several steps are\u2026","rel":"","context":"In &quot;HowTo&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3004,"url":"https:\/\/www.data-protector.org\/wordpress\/de\/2016\/07\/runbook-migrate-data-protector-7-0x-data-protector-9-0x\/","url_meta":{"origin":150,"position":2},"title":"RUNBOOK \u2013 Migrate Data Protector 7.0x to Data Protector 9.0x","date":"5. Juli 2016","format":false,"excerpt":"{:en} Update 2016\/0705: In section installation source it was recommended to use a patched installation source for the upgrade. This method must not be used for upgrades from Data Protector versionen 8.13 and newer, as it will cause serious damages in the internal database (no fix available\/possible). For versions older\u2026","rel":"","context":"In &quot;HowTo&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4432,"url":"https:\/\/www.data-protector.org\/wordpress\/de\/2018\/12\/data-protector-10-updated-release-a-10-20-build-115\/","url_meta":{"origin":150,"position":3},"title":"Data Protector 10 \u2013 Updated Release A.10.20 (Build 115)","date":"10. Dezember 2018","format":false,"excerpt":"{:en}Data Protector\u00a0A.10.20 (Build 115)\u00a0has been released on December 6, 2018. The new version is another full install to simplify the upgrade and installation process.This will continue to be the default for all future Data Protector versions. Data Protector 10.20 does not require any previous version to install the latest version\u2026","rel":"","context":"In &quot;DP A.10.00&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":62,"url":"https:\/\/www.data-protector.org\/wordpress\/de\/2010\/06\/export-import\/","url_meta":{"origin":150,"position":4},"title":"Export \/ Import","date":"28. Juni 2010","format":false,"excerpt":"{:en}No translation for this article available.{:} {:de} Immer wieder mal findet man Anleitungen wie ein Export \/ Import der internen Datenbank von Data Protector vorzunehmen ist. Diese Prozedur wird immer dann eingesetzt wenn Probleme in der Datenbank auftreten (korrupte Medien, ...) - Stichwort Healthcheck und omnidbcheck. Bei der nachfolgenden Prozedur\u2026","rel":"","context":"In &quot;HowTo&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1350,"url":"https:\/\/www.data-protector.org\/wordpress\/de\/2013\/05\/connections-gateway-storeonce-software-store\/","url_meta":{"origin":150,"position":5},"title":"No available connections on gateway for StoreOnce Software Store","date":"7. Mai 2013","format":false,"excerpt":"{:en}When using the StoreOnce Software Store in Data Protector for jobs an error might be displayed: There are no available connections on gateway. This can occur when there are locked devices in the media managemt database of Data Protector. Normally the devices are released automatically or when the Data Protector\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\/150"}],"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=150"}],"version-history":[{"count":20,"href":"https:\/\/www.data-protector.org\/wordpress\/de\/wp-json\/wp\/v2\/posts\/150\/revisions"}],"predecessor-version":[{"id":2732,"href":"https:\/\/www.data-protector.org\/wordpress\/de\/wp-json\/wp\/v2\/posts\/150\/revisions\/2732"}],"wp:attachment":[{"href":"https:\/\/www.data-protector.org\/wordpress\/de\/wp-json\/wp\/v2\/media?parent=150"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.data-protector.org\/wordpress\/de\/wp-json\/wp\/v2\/categories?post=150"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.data-protector.org\/wordpress\/de\/wp-json\/wp\/v2\/tags?post=150"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}