<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: My home backup system</title>
	<atom:link href="http://www.kryogenix.org/days/2006/10/25/my-home-backup-system/feed" rel="self" type="application/rss+xml" />
	<link>http://www.kryogenix.org/days/2006/10/25/my-home-backup-system</link>
	<description>scratched tallies on the prison wall</description>
	<pubDate>Tue, 02 Dec 2008 20:49:58 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
		<item>
		<title>By: as days pass by &#187; Blog Archive &#187; My new network is unstoppable</title>
		<link>http://www.kryogenix.org/days/2006/10/25/my-home-backup-system#comment-99092</link>
		<dc:creator>as days pass by &#187; Blog Archive &#187; My new network is unstoppable</dc:creator>
		<pubDate>Wed, 06 Jun 2007 07:02:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.kryogenix.org/days/2006/10/25/my-home-backup-system#comment-99092</guid>
		<description>[...] Anyway, this means that something I&#8217;ve been thinking of doing for a while leaps up my priority list. One of the 6 computers is a server: an old tower case machine with 90GB of storage in it made up of scrounged hard drives I had lying around. I use it as the server for my home backup system, and it does a good job. However, since I can now play media across the network (exciting! it is!), I could use it as the storage place for all our films and TV and music and games and whatnot. However, it&#8217;s old and a bit noisy, so it&#8217;d be nice to get rid of it. I still need whatever I replace it with to be an actual server, though, not just a NAS-style stack o&#8217; discs, so I don&#8217;t want a Buffalo Terastation or similar &#8212; it not only needs to run the rsync server but I also plan on having it be used for BitTorrenting stuff I&#8217;d like to watch and to be always on for downloading things. [...]</description>
		<content:encoded><![CDATA[<p>[...] Anyway, this means that something I&#8217;ve been thinking of doing for a while leaps up my priority list. One of the 6 computers is a server: an old tower case machine with 90GB of storage in it made up of scrounged hard drives I had lying around. I use it as the server for my home backup system, and it does a good job. However, since I can now play media across the network (exciting! it is!), I could use it as the storage place for all our films and TV and music and games and whatnot. However, it&#8217;s old and a bit noisy, so it&#8217;d be nice to get rid of it. I still need whatever I replace it with to be an actual server, though, not just a NAS-style stack o&#8217; discs, so I don&#8217;t want a Buffalo Terastation or similar &#8212; it not only needs to run the rsync server but I also plan on having it be used for BitTorrenting stuff I&#8217;d like to watch and to be always on for downloading things. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam McMaster / astopy</title>
		<link>http://www.kryogenix.org/days/2006/10/25/my-home-backup-system#comment-22381</link>
		<dc:creator>Adam McMaster / astopy</dc:creator>
		<pubDate>Thu, 26 Oct 2006 15:01:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.kryogenix.org/days/2006/10/25/my-home-backup-system#comment-22381</guid>
		<description>Ah, thanks.  I had no idea :)</description>
		<content:encoded><![CDATA[<p>Ah, thanks.  I had no idea :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sil</title>
		<link>http://www.kryogenix.org/days/2006/10/25/my-home-backup-system#comment-22371</link>
		<dc:creator>sil</dc:creator>
		<pubDate>Thu, 26 Oct 2006 13:49:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.kryogenix.org/days/2006/10/25/my-home-backup-system#comment-22371</guid>
		<description>astopy: you have missed something, and it's this: when rsync needs to change a file, it unlinks it first. :)</description>
		<content:encoded><![CDATA[<p>astopy: you have missed something, and it&#8217;s this: when rsync needs to change a file, it unlinks it first. :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam McMaster / astopy</title>
		<link>http://www.kryogenix.org/days/2006/10/25/my-home-backup-system#comment-22362</link>
		<dc:creator>Adam McMaster / astopy</dc:creator>
		<pubDate>Thu, 26 Oct 2006 13:07:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.kryogenix.org/days/2006/10/25/my-home-backup-system#comment-22362</guid>
		<description>Unless I missed something when I read this, this backup method won't create proper incremental backups.  The reason being that each new backup contains hard links to all the files in the previous one.  That's fine when you create/delete a file, but when you edit an existing file rsync will update that file with the new content.  Since every copy of that file in each day's backup is a hard link to the same file, they'll all be updated.</description>
		<content:encoded><![CDATA[<p>Unless I missed something when I read this, this backup method won&#8217;t create proper incremental backups.  The reason being that each new backup contains hard links to all the files in the previous one.  That&#8217;s fine when you create/delete a file, but when you edit an existing file rsync will update that file with the new content.  Since every copy of that file in each day&#8217;s backup is a hard link to the same file, they&#8217;ll all be updated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chuban &#187; backup med rsync</title>
		<link>http://www.kryogenix.org/days/2006/10/25/my-home-backup-system#comment-22187</link>
		<dc:creator>chuban &#187; backup med rsync</dc:creator>
		<pubDate>Wed, 25 Oct 2006 17:19:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.kryogenix.org/days/2006/10/25/my-home-backup-system#comment-22187</guid>
		<description>[...] Idag såg jag en rolig idé som gick ut på att använda nautilus emblem för att markera vad det ska tas backup på - så nu har jag fina backupband här och där i min filhanterare  Jag har filat lite på ditt och datt - man kanske skulle fila det till något mer generellt och paketerbart? [...]</description>
		<content:encoded><![CDATA[<p>[...] Idag såg jag en rolig idé som gick ut på att använda nautilus emblem för att markera vad det ska tas backup på - så nu har jag fina backupband här och där i min filhanterare  Jag har filat lite på ditt och datt - man kanske skulle fila det till något mer generellt och paketerbart? [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pel</title>
		<link>http://www.kryogenix.org/days/2006/10/25/my-home-backup-system#comment-22178</link>
		<dc:creator>pel</dc:creator>
		<pubDate>Wed, 25 Oct 2006 16:37:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.kryogenix.org/days/2006/10/25/my-home-backup-system#comment-22178</guid>
		<description>Oh, and a final note - you probably have some good reason for not using -R (use relative pathnames), but it really is a good idea and makes it much easier to restore from backup :)</description>
		<content:encoded><![CDATA[<p>Oh, and a final note - you probably have some good reason for not using -R (use relative pathnames), but it really is a good idea and makes it much easier to restore from backup :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pel</title>
		<link>http://www.kryogenix.org/days/2006/10/25/my-home-backup-system#comment-22168</link>
		<dc:creator>pel</dc:creator>
		<pubDate>Wed, 25 Oct 2006 15:21:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.kryogenix.org/days/2006/10/25/my-home-backup-system#comment-22168</guid>
		<description>Ok, that came out completely garbled.

I put it here http://www.update.uu.se/~peterl/tmp/dobackup.sh.txt
if someone wants it.</description>
		<content:encoded><![CDATA[<p>Ok, that came out completely garbled.</p>
<p>I put it here <a href="http://www.update.uu.se/~peterl/tmp/dobackup.sh.txt" rel="nofollow">http://www.update.uu.se/~peterl/tmp/dobackup.sh.txt</a><br />
if someone wants it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pel</title>
		<link>http://www.kryogenix.org/days/2006/10/25/my-home-backup-system#comment-22167</link>
		<dc:creator>pel</dc:creator>
		<pubDate>Wed, 25 Oct 2006 15:16:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.kryogenix.org/days/2006/10/25/my-home-backup-system#comment-22167</guid>
		<description>Hi,

Very cool! I've been doing basicly the same thing for years - but i must say that the use emblems is just awesome!

I did some modification to your dobackup.sh to handle remote and local backups (or both).

#!/bin/bash

# Do backups to local media or/and an rsync server
# You must have already set up a passphraseless ssh key to the ssh server
# so that "ssh servername” just logs you in.

BK=$(dirname $0)
BKNAME=$USER
#BKROTATE=begin-backup
BKROTATE="rotate-backup"
BKREMOTEHOST=
BKREMOTEDIR=
BKLOCALDIR=/media/LACIE/backup
BKEMBLEMNAME="Backup"

RSYNCFLAGS="-avzq -delete"


#Rotate the backup

## Try to rotate remote backup location
if [ -n "$BKREMOTEHOST" ]; then
  ssh $BKREMOTEHOST $BKREMOTEDIR/$BKROTATE $BKNAME
  if [ $? != 0 ]; then
    echo "Failed to connect to backup host (${BKREMOTEHOST})."
  else
    ### Now, do the backup
    $BK/findemblem.py $BKEMBLEMNAME &#124; while read fn; do
      rsync $RSYNCFLAGS -e ssh "$fn" $BKREMOTEHOST:$BKREMOTEDIR/$BKNAME/current
    done
  fi
fi

## Try to rotate local backup location
if [ -n "$BKLOCALDIR" -a -d "$BKLOCALDIR" ]; then
  $BKLOCALDIR/$BKROTATE $BKNAME

  ### Now, do the backup
  $BK/findemblem.py $BKEMBLEMNAME &#124; while read fn; do
    rsync $RSYNCFLAGS "$fn" $BKLOCALDIR/$BKNAME/current
  done
fi

## If no backup destination is specified - abort
if [ -z "$BKREMOTEHOST" -a -z "$BKREMOTEDIR" -a -z "$BKLOCALDIR" ]; then
  echo "No backup destination specified."
  exit 1
fi</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Very cool! I&#8217;ve been doing basicly the same thing for years - but i must say that the use emblems is just awesome!</p>
<p>I did some modification to your dobackup.sh to handle remote and local backups (or both).</p>
<p>#!/bin/bash</p>
<p># Do backups to local media or/and an rsync server<br />
# You must have already set up a passphraseless ssh key to the ssh server<br />
# so that &#8220;ssh servername” just logs you in.</p>
<p>BK=$(dirname $0)<br />
BKNAME=$USER<br />
#BKROTATE=begin-backup<br />
BKROTATE=&#8221;rotate-backup&#8221;<br />
BKREMOTEHOST=<br />
BKREMOTEDIR=<br />
BKLOCALDIR=/media/LACIE/backup<br />
BKEMBLEMNAME=&#8221;Backup&#8221;</p>
<p>RSYNCFLAGS=&#8221;-avzq -delete&#8221;</p>
<p>#Rotate the backup</p>
<p>## Try to rotate remote backup location<br />
if [ -n "$BKREMOTEHOST" ]; then<br />
  ssh $BKREMOTEHOST $BKREMOTEDIR/$BKROTATE $BKNAME<br />
  if [ $? != 0 ]; then<br />
    echo &#8220;Failed to connect to backup host (${BKREMOTEHOST}).&#8221;<br />
  else<br />
    ### Now, do the backup<br />
    $BK/findemblem.py $BKEMBLEMNAME | while read fn; do<br />
      rsync $RSYNCFLAGS -e ssh &#8220;$fn&#8221; $BKREMOTEHOST:$BKREMOTEDIR/$BKNAME/current<br />
    done<br />
  fi<br />
fi</p>
<p>## Try to rotate local backup location<br />
if [ -n "$BKLOCALDIR" -a -d "$BKLOCALDIR" ]; then<br />
  $BKLOCALDIR/$BKROTATE $BKNAME</p>
<p>  ### Now, do the backup<br />
  $BK/findemblem.py $BKEMBLEMNAME | while read fn; do<br />
    rsync $RSYNCFLAGS &#8220;$fn&#8221; $BKLOCALDIR/$BKNAME/current<br />
  done<br />
fi</p>
<p>## If no backup destination is specified - abort<br />
if [ -z "$BKREMOTEHOST" -a -z "$BKREMOTEDIR" -a -z "$BKLOCALDIR" ]; then<br />
  echo &#8220;No backup destination specified.&#8221;<br />
  exit 1<br />
fi</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: The ongoing struggle &#187; Blog Archive &#187; rsnapshot?</title>
		<link>http://www.kryogenix.org/days/2006/10/25/my-home-backup-system#comment-22044</link>
		<dc:creator>The ongoing struggle &#187; Blog Archive &#187; rsnapshot?</dc:creator>
		<pubDate>Wed, 25 Oct 2006 01:36:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.kryogenix.org/days/2006/10/25/my-home-backup-system#comment-22044</guid>
		<description>[...] aquarius, did you know about rsnapshot before doing this? It seems to do pretty much everything you want. I&#8217;ve been using it for several years, and currently back up two local and twelve remote machines ever four hours. I&#8217;m very happy with it. [...]</description>
		<content:encoded><![CDATA[<p>[...] aquarius, did you know about rsnapshot before doing this? It seems to do pretty much everything you want. I&#8217;ve been using it for several years, and currently back up two local and twelve remote machines ever four hours. I&#8217;m very happy with it. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sil</title>
		<link>http://www.kryogenix.org/days/2006/10/25/my-home-backup-system#comment-22018</link>
		<dc:creator>sil</dc:creator>
		<pubDate>Tue, 24 Oct 2006 23:57:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.kryogenix.org/days/2006/10/25/my-home-backup-system#comment-22018</guid>
		<description>I did briefly consider them, but, well, I don't understand them. For example: does the snapshot space get deducted from the space in your LVM, or do you need space *outside* the LVM to put them in? The documentation seems to pretty much assume that you already know about snapshots, and I don't...</description>
		<content:encoded><![CDATA[<p>I did briefly consider them, but, well, I don&#8217;t understand them. For example: does the snapshot space get deducted from the space in your LVM, or do you need space *outside* the LVM to put them in? The documentation seems to pretty much assume that you already know about snapshots, and I don&#8217;t&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
