<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.skytech.dk/index.php?action=history&amp;feed=atom&amp;title=Mirror_getdeb</id>
	<title>Mirror getdeb - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.skytech.dk/index.php?action=history&amp;feed=atom&amp;title=Mirror_getdeb"/>
	<link rel="alternate" type="text/html" href="https://wiki.skytech.dk/index.php?title=Mirror_getdeb&amp;action=history"/>
	<updated>2026-04-03T22:23:45Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://wiki.skytech.dk/index.php?title=Mirror_getdeb&amp;diff=1623&amp;oldid=prev</id>
		<title>192.168.0.250: Created page with &quot;== Mirror - getdeb ==  &lt;pre&gt; #/bin/sh  fatal() {   echo &quot;$1&quot;   exit 1 }  warn() {   echo &quot;$1&quot; }  # RSYNC source RSYNCSOURCE=rsync://rsync.getdeb.net/getdeb/  # Define where you w...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.skytech.dk/index.php?title=Mirror_getdeb&amp;diff=1623&amp;oldid=prev"/>
		<updated>2011-03-11T18:50:46Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Mirror - getdeb ==  &amp;lt;pre&amp;gt; #/bin/sh  fatal() {   echo &amp;quot;$1&amp;quot;   exit 1 }  warn() {   echo &amp;quot;$1&amp;quot; }  # RSYNC source RSYNCSOURCE=rsync://rsync.getdeb.net/getdeb/  # Define where you w...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Mirror - getdeb ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#/bin/sh&lt;br /&gt;
&lt;br /&gt;
fatal() {&lt;br /&gt;
  echo &amp;quot;$1&amp;quot;&lt;br /&gt;
  exit 1&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
warn() {&lt;br /&gt;
  echo &amp;quot;$1&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
# RSYNC source&lt;br /&gt;
RSYNCSOURCE=rsync://rsync.getdeb.net/getdeb/&lt;br /&gt;
&lt;br /&gt;
# Define where you want the mirror-data to be on your mirror&lt;br /&gt;
BASEDIR=$HOME/getdeb&lt;br /&gt;
&lt;br /&gt;
if [ ! -d ${BASEDIR} ]; then&lt;br /&gt;
  warn &amp;quot;${BASEDIR} does not exist yet, trying to create it...&amp;quot;&lt;br /&gt;
  mkdir -p ${BASEDIR} || fatal &amp;quot;Creation of ${BASEDIR} failed.&amp;quot;&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
rsync --recursive --times --links --hard-links \&lt;br /&gt;
  --stats \&lt;br /&gt;
  --exclude &amp;quot;Packages*&amp;quot; --exclude &amp;quot;Sources*&amp;quot; \&lt;br /&gt;
  --exclude &amp;quot;Release*&amp;quot; \&lt;br /&gt;
  ${RSYNCSOURCE} ${BASEDIR} || fatal &amp;quot;First stage of sync failed.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
rsync --recursive --times --links --hard-links \&lt;br /&gt;
  --stats --delete --delete-after \&lt;br /&gt;
  ${RSYNCSOURCE} ${BASEDIR} || fatal &amp;quot;Second stage of sync failed.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>192.168.0.250</name></author>
	</entry>
</feed>