<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.faked.org/index.php?action=history&amp;feed=atom&amp;title=MyDumper</id>
	<title>MyDumper - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.faked.org/index.php?action=history&amp;feed=atom&amp;title=MyDumper"/>
	<link rel="alternate" type="text/html" href="https://wiki.faked.org/index.php?title=MyDumper&amp;action=history"/>
	<updated>2026-05-31T02:05:55Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.faked.org/index.php?title=MyDumper&amp;diff=227&amp;oldid=prev</id>
		<title>Jan: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://wiki.faked.org/index.php?title=MyDumper&amp;diff=227&amp;oldid=prev"/>
		<updated>2016-08-26T19:10:42Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&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;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 21:10, 26 August 2016&lt;/td&gt;
				&lt;/tr&gt;
&lt;!-- diff cache key mediawiki:diff::1.12:old-33:rev-227 --&gt;
&lt;/table&gt;</summary>
		<author><name>Jan</name></author>
	</entry>
	<entry>
		<id>https://wiki.faked.org/index.php?title=MyDumper&amp;diff=33&amp;oldid=prev</id>
		<title>Jan: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://wiki.faked.org/index.php?title=MyDumper&amp;diff=33&amp;oldid=prev"/>
		<updated>2016-08-26T19:09:41Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&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;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 21:09, 26 August 2016&lt;/td&gt;
				&lt;/tr&gt;
&lt;!-- diff cache key mediawiki:diff::1.12:old-32:rev-33 --&gt;
&lt;/table&gt;</summary>
		<author><name>Jan</name></author>
	</entry>
	<entry>
		<id>https://wiki.faked.org/index.php?title=MyDumper&amp;diff=32&amp;oldid=prev</id>
		<title>Jan at 19:17, 9 January 2016</title>
		<link rel="alternate" type="text/html" href="https://wiki.faked.org/index.php?title=MyDumper&amp;diff=32&amp;oldid=prev"/>
		<updated>2016-01-09T19:17:37Z</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;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 21:17, 9 January 2016&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-l15&quot;&gt;Line 15:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 15:&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;   DB=$(basename &amp;quot;${DBFILE}&amp;quot; | sed &amp;#039;s/_schema\.sql\.gz//&amp;#039;)&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;   DB=$(basename &amp;quot;${DBFILE}&amp;quot; | sed &amp;#039;s/_schema\.sql\.gz//&amp;#039;)&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;   echo &amp;quot;Restoring schema for database &amp;#039;${DB}&amp;#039; from ${DBFILE}&amp;quot;&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;   echo &amp;quot;Restoring schema for database &amp;#039;${DB}&amp;#039; from ${DBFILE}&amp;quot;&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;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;#  &lt;/del&gt;zcat ${DBFILE} | mysql ${DB}&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;  &lt;/ins&gt;zcat ${DBFILE} | mysql ${DB}&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;   for TFILE in $(find ${1} -iname &amp;quot;${DB}.*.sql.gz&amp;quot;); do&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;   for TFILE in $(find ${1} -iname &amp;quot;${DB}.*.sql.gz&amp;quot;); do&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;     TABLE=$(basename &amp;quot;${TFILE}&amp;quot; | sed -n &amp;quot;s/${DB}\.\(.*\)\.sql\.gz/\1/p&amp;quot;)&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;     TABLE=$(basename &amp;quot;${TFILE}&amp;quot; | sed -n &amp;quot;s/${DB}\.\(.*\)\.sql\.gz/\1/p&amp;quot;)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key mediawiki:diff::1.12:old-226:rev-32 --&gt;
&lt;/table&gt;</summary>
		<author><name>Jan</name></author>
	</entry>
	<entry>
		<id>https://wiki.faked.org/index.php?title=MyDumper&amp;diff=226&amp;oldid=prev</id>
		<title>Jan: Created page with &quot;== Restore ==  &lt;nowiki&gt;#!/bin/bash  if [ -z $1 ]; then   echo &quot;Usage: $0 &lt;/path/to/mydumper/backup&gt; [database-name]&quot;   exit 1 fi  FINDNAME=&quot;*&quot; if [ -n ${2} ]; then   FINDNAME=...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.faked.org/index.php?title=MyDumper&amp;diff=226&amp;oldid=prev"/>
		<updated>2016-01-09T19:17:21Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Restore ==  &amp;lt;nowiki&amp;gt;#!/bin/bash  if [ -z $1 ]; then   echo &amp;quot;Usage: $0 &amp;lt;/path/to/mydumper/backup&amp;gt; [database-name]&amp;quot;   exit 1 fi  FINDNAME=&amp;quot;*&amp;quot; if [ -n ${2} ]; then   FINDNAME=...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Restore ==&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
if [ -z $1 ]; then&lt;br /&gt;
  echo &amp;quot;Usage: $0 &amp;lt;/path/to/mydumper/backup&amp;gt; [database-name]&amp;quot;&lt;br /&gt;
  exit 1&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
FINDNAME=&amp;quot;*&amp;quot;&lt;br /&gt;
if [ -n ${2} ]; then&lt;br /&gt;
  FINDNAME=&amp;quot;${2}&amp;quot;&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
for DBFILE in $(find ${1} -iname &amp;quot;${FINDNAME}_schema.sql.gz&amp;quot;); do&lt;br /&gt;
  DB=$(basename &amp;quot;${DBFILE}&amp;quot; | sed &amp;#039;s/_schema\.sql\.gz//&amp;#039;)&lt;br /&gt;
  echo &amp;quot;Restoring schema for database &amp;#039;${DB}&amp;#039; from ${DBFILE}&amp;quot;&lt;br /&gt;
#  zcat ${DBFILE} | mysql ${DB}&lt;br /&gt;
  for TFILE in $(find ${1} -iname &amp;quot;${DB}.*.sql.gz&amp;quot;); do&lt;br /&gt;
    TABLE=$(basename &amp;quot;${TFILE}&amp;quot; | sed -n &amp;quot;s/${DB}\.\(.*\)\.sql\.gz/\1/p&amp;quot;)&lt;br /&gt;
    echo &amp;quot;Restoring table ${DB}.${TABLE}...&amp;quot;&lt;br /&gt;
    zcat ${TFILE} | mysql ${DB}&lt;br /&gt;
  done&lt;br /&gt;
done&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jan</name></author>
	</entry>
</feed>