<?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: Poof.</title>
	<atom:link href="http://kickingdragon.com/2008/01/09/poof/feed/" rel="self" type="application/rss+xml" />
	<link>http://kickingdragon.com/2008/01/09/poof/</link>
	<description>geekery is afoot</description>
	<pubDate>Sat, 22 Nov 2008 05:08:52 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: eddie</title>
		<link>http://kickingdragon.com/2008/01/09/poof/#comment-27</link>
		<dc:creator>eddie</dc:creator>
		<pubDate>Mon, 14 Jan 2008 18:05:49 +0000</pubDate>
		<guid isPermaLink="false">http://kickingdragon.com/?p=3#comment-27</guid>
		<description>Interesting.

Is there a reason you didn't look at something like &lt;a href="http://gentoo-wiki.com/HOWTO_Backup#rsnapshot" rel="nofollow"&gt;rsnapshot&lt;/a&gt;?</description>
		<content:encoded><![CDATA[<p>Interesting.</p>
<p>Is there a reason you didn&#8217;t look at something like <a href="http://gentoo-wiki.com/HOWTO_Backup#rsnapshot" rel="nofollow">rsnapshot</a>?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: monjardin</title>
		<link>http://kickingdragon.com/2008/01/09/poof/#comment-22</link>
		<dc:creator>monjardin</dc:creator>
		<pubDate>Mon, 14 Jan 2008 15:20:05 +0000</pubDate>
		<guid isPermaLink="false">http://kickingdragon.com/?p=3#comment-22</guid>
		<description>It uses some hard-link trickery to ensure that it only makes differential backups while still retaining the ability to fully restore from any point.

Change the DAYS value to specify how long to keep old backups, and the BACKUPDIR value to where you want the backups to go. I had it going to a portable USB hard drive that I could lug around with me.

I can't remember where I got this from, but it worked great for me. Just put it in a cron job like so:

0 0 * * * sh /your_path_here/backup.sh

...or run it whenever you wish.</description>
		<content:encoded><![CDATA[<p>It uses some hard-link trickery to ensure that it only makes differential backups while still retaining the ability to fully restore from any point.</p>
<p>Change the DAYS value to specify how long to keep old backups, and the BACKUPDIR value to where you want the backups to go. I had it going to a portable USB hard drive that I could lug around with me.</p>
<p>I can&#8217;t remember where I got this from, but it worked great for me. Just put it in a cron job like so:</p>
<p>0 0 * * * sh /your_path_here/backup.sh</p>
<p>&#8230;or run it whenever you wish.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: monjardin</title>
		<link>http://kickingdragon.com/2008/01/09/poof/#comment-21</link>
		<dc:creator>monjardin</dc:creator>
		<pubDate>Mon, 14 Jan 2008 15:13:30 +0000</pubDate>
		<guid isPermaLink="false">http://kickingdragon.com/?p=3#comment-21</guid>
		<description>#!/bin/bash

BACKUPDIR=/backup
EXCLUDES=$BACKUPDIR/backup_exclude
CURRENT=$BACKUPDIR/current
OLD=$BACKUPDIR/old
NOW=`date '+%Y-%m'-%d_%H:%M`
NOW=$OLD/$NOW
DAYS=60

# CREATE DIRECTORIES
mkdir -p $CURRENT
mkdir -p $OLD
mkdir $NOW

# RUN RSYNC INTO CURRENT
rsync -apvz --delete --delete-excluded --exclude-from="$EXCLUDES" / $CURRENT

# UPDATE MTIME TO REFLECT THE SNAPSHOT TIME
touch $CURRENT

# MAKE HARDLINK COPY
cp -al $CURRENT/* $NOW

# REMOVE OLD BACKUPS
echo "Removing old backups..."
for FILE in "$( find $OLD -maxdepth 1 -type d -mtime +$DAYS )"
do
	rm -Rf $FILE
done

exit 0</description>
		<content:encoded><![CDATA[<p>#!/bin/bash</p>
<p>BACKUPDIR=/backup<br />
EXCLUDES=$BACKUPDIR/backup_exclude<br />
CURRENT=$BACKUPDIR/current<br />
OLD=$BACKUPDIR/old<br />
NOW=`date &#8216;+%Y-%m&#8217;-%d_%H:%M`<br />
NOW=$OLD/$NOW<br />
DAYS=60</p>
<p># CREATE DIRECTORIES<br />
mkdir -p $CURRENT<br />
mkdir -p $OLD<br />
mkdir $NOW</p>
<p># RUN RSYNC INTO CURRENT<br />
rsync -apvz &#8211;delete &#8211;delete-excluded &#8211;exclude-from=&#8221;$EXCLUDES&#8221; / $CURRENT</p>
<p># UPDATE MTIME TO REFLECT THE SNAPSHOT TIME<br />
touch $CURRENT</p>
<p># MAKE HARDLINK COPY<br />
cp -al $CURRENT/* $NOW</p>
<p># REMOVE OLD BACKUPS<br />
echo &#8220;Removing old backups&#8230;&#8221;<br />
for FILE in &#8220;$( find $OLD -maxdepth 1 -type d -mtime +$DAYS )&#8221;<br />
do<br />
	rm -Rf $FILE<br />
done</p>
<p>exit 0</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: eddie</title>
		<link>http://kickingdragon.com/2008/01/09/poof/#comment-6</link>
		<dc:creator>eddie</dc:creator>
		<pubDate>Mon, 14 Jan 2008 08:51:30 +0000</pubDate>
		<guid isPermaLink="false">http://kickingdragon.com/?p=3#comment-6</guid>
		<description>Hey!  Welcome back monjardin.  Bittersweet irony you lose your comment on said post. :)

I'm with you on 1).  Windows world it's generally been OK, but Partition magic is much nicer to me than parted + reiserfs.

2) I'd love to take a look at your script.  I'm actually thinking of tooling around with bash and building up a 'plugin' based backup system, but I've been reading up on differential backup systems and think I should incorporate that as well...

Let me know what you find out!  And thanks for tuning back in. :)</description>
		<content:encoded><![CDATA[<p>Hey!  Welcome back monjardin.  Bittersweet irony you lose your comment on said post. <img src='http://kickingdragon.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I&#8217;m with you on 1).  Windows world it&#8217;s generally been OK, but Partition magic is much nicer to me than parted + reiserfs.</p>
<p>2) I&#8217;d love to take a look at your script.  I&#8217;m actually thinking of tooling around with bash and building up a &#8216;plugin&#8217; based backup system, but I&#8217;ve been reading up on differential backup systems and think I should incorporate that as well&#8230;</p>
<p>Let me know what you find out!  And thanks for tuning back in. <img src='http://kickingdragon.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: monjardin</title>
		<link>http://kickingdragon.com/2008/01/09/poof/#comment-2</link>
		<dc:creator>monjardin</dc:creator>
		<pubDate>Thu, 10 Jan 2008 01:38:45 +0000</pubDate>
		<guid isPermaLink="false">http://kickingdragon.com/?p=3#comment-2</guid>
		<description>Speaking of losing stuff, I'm retyping this message because I forgot to enter my email address and it wiped the form when I went back. :(

Here is the abbreviated version:

1. I avoid partition resizes like the plague and assume they will wipe my data.

2. I had a cool shell script that did differential backups with rsync that I used to run as a cron job. Do you want me to dig it up or do you have another method in mind?</description>
		<content:encoded><![CDATA[<p>Speaking of losing stuff, I&#8217;m retyping this message because I forgot to enter my email address and it wiped the form when I went back. <img src='http://kickingdragon.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>Here is the abbreviated version:</p>
<p>1. I avoid partition resizes like the plague and assume they will wipe my data.</p>
<p>2. I had a cool shell script that did differential backups with rsync that I used to run as a cron job. Do you want me to dig it up or do you have another method in mind?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tara and Eddie (dot) com </title>
		<link>http://kickingdragon.com/2008/01/09/poof/#comment-1833</link>
		<dc:creator>Tara and Eddie (dot) com </dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://kickingdragon.com/?p=3#comment-1833</guid>
		<description>&lt;!--%kramer-pre%--&gt;killed the serverthat hosts both of these blogs, and oh-so-much-more1.  Anyhow, TaraAndEddie has always suffered a little in the face of my technical blog, and I’m not quite sure how to rectify that long term. I’&lt;!--%kramer-post%--&gt;</description>
		<content:encoded><![CDATA[<p><a class="technorati-balloon" href="http://www.technorati.com/cosmos/search.html?url="><img src="http://static.technorati.com/images/bubble_h17.gif" class="technorati-balloon" alt="links from Technorati" style="border:0;" /></a>killed the serverthat hosts both of these blogs, and oh-so-much-more1.  Anyhow, TaraAndEddie has always suffered a little in the face of my technical blog, and I’m not quite sure how to rectify that long term. I’</p>
]]></content:encoded>
	</item>
</channel>
</rss>
