{"id":1,"date":"2014-03-01T20:27:05","date_gmt":"2014-03-01T20:27:05","guid":{"rendered":"https:\/\/x2d2.de\/blog\/?p=1"},"modified":"2015-02-24T22:07:09","modified_gmt":"2015-02-24T21:07:09","slug":"hallo-welt","status":"publish","type":"post","link":"https:\/\/x2d2.de\/blog\/index.php\/2014\/03\/01\/hallo-welt\/","title":{"rendered":"ownCloud 6.0.1 Migration von SQLite zu MySQL"},"content":{"rendered":"<p>Dies ist eine Anleitung um OwnCloud 6.0.1 von SQLite nach MySQL zu migrieren<\/p>\n<p><strong>!!!ACHTUNG!!!<\/strong><\/p>\n<p><strong>ES KANN BEI DER MIGRATION ZU SONDERZEICHEN PROBLEMEN KOMMEN!<\/strong><\/p>\n<p>Ihr k\u00f6nnt aber folgendes Tool von mir ausprobieren: <a title=\"DB - Migrator\" href=\"https:\/\/x2d2.de\/rhodecode\/db-migrator\/archive\/tip.zip\">DB-Migrator<\/a> (lauff\u00e4hig, aber nicht getestet)<\/p>\n<hr \/>\n<p><span style=\"color: #ff0000;\"><strong>AB OWNCLOUD 7 K\u00d6NNT IHR DIREKT \u00dcBER CLI EINEN MIGRATIONSPROZESS ANSTO\u00dfEN, DER BEI MIR PERFEKT FUNKTIONIERT HAT.<\/strong><\/span><\/p>\n<ul>\n<li>&#8220;php \/var\/www\/owncloud\/occ db:convert-type &#8211;help&#8221; sollte euch dabei helfen<\/li>\n<\/ul>\n<hr \/>\n<p>Schritt 1.) den angeh\u00e4ngten dump in die mysql datenbank einspielen (n\u00f6tig, damit \u00fcber taps im n\u00e4chsten Schritt der dump \u00fcberhaupt eingespielt werden kann &#8211; anderenfalls treten key fehler in MySQL auf) <strong><a href=\"https:\/\/x2d2.de\/blog\/wp-content\/uploads\/2014\/03\/owncloud20140301-preload.txt\">owncloud20140301-preload.txt <\/a><\/strong><\/p>\n<p>Schritt 2.) Backup der config.php erstellen<\/p>\n<p>Schritt 3.) \u00fcber taps die Datenbank \u00fcbertragen:<\/p>\n<p>&#8211; unter der annahme, dass ihr euch in einer Shell in eurem OwnCloud Verzeichnis befindet:<\/p>\n<ul>\n<li>taps server sqlite:\/\/data\/owncloud.db temp temp<\/li>\n<\/ul>\n<ul>\n<li>taps pull -s mysql:\/\/user:passwort@localhost\/owncloud http:\/\/temp:temp@localhost:5000<\/li>\n<\/ul>\n<p>Schritt 4.) frische owncloud 6.0.1 Installation (in alternatives Verzeichnis) mit MySQL (in die vorher angegebene Datenbank) ausf\u00fchren <strong>und einen noch nicht existenten usernamen und passwort f\u00fcr die administration angeben (nicht bei mysql)<\/strong><\/p>\n<p>Schritt 5.) config Einstellungen f\u00fcr mysql aus der config.php der neuen Installation in die alte config.php Installation \u00fcbertragen<\/p>\n<p>Schritt 6.) in der alten OwnCloud Installation anmelden und den von der neuen OwnCloud Installation angelegten Benutzer l\u00f6schen<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Dies ist eine Anleitung um OwnCloud 6.0.1 von SQLite nach MySQL zu migrieren !!!ACHTUNG!!! ES KANN BEI DER MIGRATION ZU SONDERZEICHEN PROBLEMEN KOMMEN! Ihr k\u00f6nnt aber folgendes Tool von mir ausprobieren: DB-Migrator (lauff\u00e4hig, aber nicht getestet) AB OWNCLOUD 7 K\u00d6NNT IHR DIREKT \u00dcBER CLI EINEN MIGRATIONSPROZESS ANSTO\u00dfEN, DER BEI MIR PERFEKT FUNKTIONIERT HAT. &#8220;php \/var\/www\/owncloud\/occ [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[6,4,3,5],"class_list":["post-1","post","type-post","status-publish","format-standard","hentry","category-datenbanken","tag-migration","tag-mysql","tag-owncloud","tag-sqlite"],"_links":{"self":[{"href":"https:\/\/x2d2.de\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/x2d2.de\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/x2d2.de\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/x2d2.de\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/x2d2.de\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=1"}],"version-history":[{"count":15,"href":"https:\/\/x2d2.de\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1\/revisions"}],"predecessor-version":[{"id":4,"href":"https:\/\/x2d2.de\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1\/revisions\/4"}],"wp:attachment":[{"href":"https:\/\/x2d2.de\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=1"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/x2d2.de\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=1"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/x2d2.de\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=1"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}