<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://wiki.4-it.de/index.php?action=history&amp;feed=atom&amp;title=MySQL_Datenbank_sichern</id>
	<title>MySQL Datenbank sichern - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.4-it.de/index.php?action=history&amp;feed=atom&amp;title=MySQL_Datenbank_sichern"/>
	<link rel="alternate" type="text/html" href="https://wiki.4-it.de/index.php?title=MySQL_Datenbank_sichern&amp;action=history"/>
	<updated>2026-10-17T07:41:23Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in 4-it</subtitle>
	<generator>MediaWiki 1.42.3</generator>
	<entry>
		<id>https://wiki.4-it.de/index.php?title=MySQL_Datenbank_sichern&amp;diff=28&amp;oldid=prev</id>
		<title>Jtwo am 5. September 2011 um 12:26 Uhr</title>
		<link rel="alternate" type="text/html" href="https://wiki.4-it.de/index.php?title=MySQL_Datenbank_sichern&amp;diff=28&amp;oldid=prev"/>
		<updated>2011-09-05T12:26:40Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 5. September 2011, 14:26 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l31&quot;&gt;Zeile 31:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 31:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;fi&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;fi&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/source&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/source&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Achtung! Das Skript sollte nur von root gelesen werden können, da das Passwort im Klartext&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Achtung! Das Skript sollte nur von root gelesen werden können, da das Passwort im Klartext &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;gespeichert werden muss.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jtwo</name></author>
	</entry>
	<entry>
		<id>https://wiki.4-it.de/index.php?title=MySQL_Datenbank_sichern&amp;diff=24&amp;oldid=prev</id>
		<title>Jtwo: Die Seite wurde neu angelegt: „Kategorie:Linux Kategorie:MySQL Das sichern einer MySQL Datenbank ist mit dem Tool mysqldump recht einfach. Hier ein Beispielscript: &lt;source lang=&quot;bash&quot;&gt; …“</title>
		<link rel="alternate" type="text/html" href="https://wiki.4-it.de/index.php?title=MySQL_Datenbank_sichern&amp;diff=24&amp;oldid=prev"/>
		<updated>2011-09-05T10:47:18Z</updated>

		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „&lt;a href=&quot;/index.php?title=Kategorie:Linux&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Kategorie:Linux (Seite nicht vorhanden)&quot;&gt;Kategorie:Linux&lt;/a&gt; &lt;a href=&quot;/index.php?title=Kategorie:MySQL&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Kategorie:MySQL (Seite nicht vorhanden)&quot;&gt;Kategorie:MySQL&lt;/a&gt; Das sichern einer MySQL Datenbank ist mit dem Tool mysqldump recht einfach. Hier ein Beispielscript: &amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt; …“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Kategorie:Linux]]&lt;br /&gt;
[[Kategorie:MySQL]]&lt;br /&gt;
Das sichern einer MySQL Datenbank ist mit dem Tool mysqldump recht einfach. Hier ein Beispielscript:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
# (c) by Joachim Janßen&lt;br /&gt;
# www.jtwo.de&lt;br /&gt;
# 2011-08-10&lt;br /&gt;
&lt;br /&gt;
MYSQLDUMP=/usr/bin/mysqldump&lt;br /&gt;
DUMPDIR=/root/Backup&lt;br /&gt;
BZIP=/bin/bzip2&lt;br /&gt;
PASSWORD=######&lt;br /&gt;
LOCALDATE=`date +%Y-%m-%d`&lt;br /&gt;
DATABASE=mydatabase&lt;br /&gt;
#DATABASE=--all-databases&lt;br /&gt;
&lt;br /&gt;
if [ -x $MYSQLDUMP ]; then&lt;br /&gt;
     echo &amp;quot;Dumping Database in progress ...&amp;quot;&lt;br /&gt;
&lt;br /&gt;
     SAVEFILE=$DUMPDIR/MySQL-Backup-$LOCALDATE-0.sql.bz2&lt;br /&gt;
     i=0&lt;br /&gt;
     while [ -f $SAVEFILE ]; do&lt;br /&gt;
          i=$(($i + 1))&lt;br /&gt;
          SAVEFILE=$DUMPDIR/MySQL-Backup-$LOCALDATE-$i.sql.bz2&lt;br /&gt;
     done&lt;br /&gt;
     $MYSQLDUMP $DATABASE --routines --quick --comments --disable-keys --extended-insert --lock-tables --flush-privileges --hex-blob --set-charset --triggers -u root --password=$PASSWORD | $BZIP -z9qc &amp;gt; $SAVEFILE&lt;br /&gt;
else&lt;br /&gt;
     echo &amp;quot;Backup failed!&amp;quot;&lt;br /&gt;
     exit 1&lt;br /&gt;
fi&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Achtung! Das Skript sollte nur von root gelesen werden können, da das Passwort im Klartext&lt;/div&gt;</summary>
		<author><name>Jtwo</name></author>
	</entry>
</feed>