<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Nightly volume backup script for dns-323 soho NAS (rsync+cron)</title>
	<link>http://www.horto.ca/?p=20</link>
	<description>a system of organized chaos</description>
	<pubDate>Wed, 08 Sep 2010 01:05:42 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3</generator>
		<item>
		<title>By: gaucho</title>
		<link>http://www.horto.ca/?p=20#comment-24091</link>
		<dc:creator>gaucho</dc:creator>
		<pubDate>Wed, 23 Jun 2010 03:25:14 +0000</pubDate>
		<guid>http://www.horto.ca/?p=20#comment-24091</guid>
		<description>ok i made some progess on my own.  #2 and #3 resolved.  ran the script.  it worked.  however when i delete a file from a source directory, the rsynch does NOT delete it from the backup directors.  this is a problem since as files are added and deleted the backup will be a cummulative backup of every file on the machine and be much bigger then the source.  hardly a "synch" of the files.  am i doing something wrong?</description>
		<content:encoded><![CDATA[<p>ok i made some progess on my own.  #2 and #3 resolved.  ran the script.  it worked.  however when i delete a file from a source directory, the rsynch does NOT delete it from the backup directors.  this is a problem since as files are added and deleted the backup will be a cummulative backup of every file on the machine and be much bigger then the source.  hardly a &#8220;synch&#8221; of the files.  am i doing something wrong?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gaucho</title>
		<link>http://www.horto.ca/?p=20#comment-24069</link>
		<dc:creator>gaucho</dc:creator>
		<pubDate>Wed, 23 Jun 2010 01:28:59 +0000</pubDate>
		<guid>http://www.horto.ca/?p=20#comment-24069</guid>
		<description>hi.  i am trying to implement the recommendations on this thread but am totally new to UNIX/LINUX.
got as far as setting ssh to the DNS-323 but have some basic questions like:
1) why are there 4 drives in the mnt directory as the DNS-323 only has two?  they are HD_a2, HD_a4, HD_b2 and HD_b4.
2) I got stuck trying to copy the rsynch script to the correct folder.  no clue how to copy files from my "mac os" over to UNIX in the DNS-323.
3) why can't a cd to any of the folders on the drives in UNIX?
4) what does the .localized suffix mean?

sorry for what must seem like silly questions but i am determined to set up cron/rsynch on this thing.</description>
		<content:encoded><![CDATA[<p>hi.  i am trying to implement the recommendations on this thread but am totally new to UNIX/LINUX.<br />
got as far as setting ssh to the DNS-323 but have some basic questions like:<br />
1) why are there 4 drives in the mnt directory as the DNS-323 only has two?  they are HD_a2, HD_a4, HD_b2 and HD_b4.<br />
2) I got stuck trying to copy the rsynch script to the correct folder.  no clue how to copy files from my &#8220;mac os&#8221; over to UNIX in the DNS-323.<br />
3) why can&#8217;t a cd to any of the folders on the drives in UNIX?<br />
4) what does the .localized suffix mean?</p>
<p>sorry for what must seem like silly questions but i am determined to set up cron/rsynch on this thing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob</title>
		<link>http://www.horto.ca/?p=20#comment-20029</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Sun, 25 Apr 2010 18:20:29 +0000</pubDate>
		<guid>http://www.horto.ca/?p=20#comment-20029</guid>
		<description>Hey there, I used your script and love all the other info on your page.  I used it pretty much exclusively while setting up my DNS-323.

I started this with very limited unix/linux knowledge, but slowly got up to speed and started to edit some of the scripts.

The question I have is in regards to the rbackup script.  I have Volume 1 backing up new data to Volume 2.  I often delete movies I've watched, or find a file that's corrupt and delete it from Volume 1, but it still remains on Volume 2.  Outside of deleting everything on Volume 2 and copying everything on Volume 1, do you have any recommendations for removing files on Volume 2 that don't appear on Volume 1?  I figured there's a way to check if files on Volume 2 exist on Volume 1, and if they don't, then delete them.

Any recommendations?

Thanks,
Rob</description>
		<content:encoded><![CDATA[<p>Hey there, I used your script and love all the other info on your page.  I used it pretty much exclusively while setting up my DNS-323.</p>
<p>I started this with very limited unix/linux knowledge, but slowly got up to speed and started to edit some of the scripts.</p>
<p>The question I have is in regards to the rbackup script.  I have Volume 1 backing up new data to Volume 2.  I often delete movies I&#8217;ve watched, or find a file that&#8217;s corrupt and delete it from Volume 1, but it still remains on Volume 2.  Outside of deleting everything on Volume 2 and copying everything on Volume 1, do you have any recommendations for removing files on Volume 2 that don&#8217;t appear on Volume 1?  I figured there&#8217;s a way to check if files on Volume 2 exist on Volume 1, and if they don&#8217;t, then delete them.</p>
<p>Any recommendations?</p>
<p>Thanks,<br />
Rob</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gho</title>
		<link>http://www.horto.ca/?p=20#comment-19321</link>
		<dc:creator>gho</dc:creator>
		<pubDate>Thu, 15 Apr 2010 06:02:43 +0000</pubDate>
		<guid>http://www.horto.ca/?p=20#comment-19321</guid>
		<description>gt, maybe you can try:

SOURCEDIRS="/mnt/HD_a2/iTunes?Music" 

if that's the only directory you're backing up.


where i have:

SOURCEROOT="/mnt/HD_a2"                                                    
SOURCEDIRS="\                                                              
$SOURCEROOT/ffp \                                                          
$SOURCEROOT/Files \    
$SOURCEROOT/Pictures \ 
$SOURCEROOT/My?Music \ 
$SOURCEROOT/Videos \
"

and this works for me.

- gho</description>
		<content:encoded><![CDATA[<p>gt, maybe you can try:</p>
<p>SOURCEDIRS=&#8221;/mnt/HD_a2/iTunes?Music&#8221; </p>
<p>if that&#8217;s the only directory you&#8217;re backing up.</p>
<p>where i have:</p>
<p>SOURCEROOT=&#8221;/mnt/HD_a2&#8243;<br />
SOURCEDIRS=&#8221;\<br />
$SOURCEROOT/ffp \<br />
$SOURCEROOT/Files \<br />
$SOURCEROOT/Pictures \<br />
$SOURCEROOT/My?Music \<br />
$SOURCEROOT/Videos \<br />
&#8221;</p>
<p>and this works for me.</p>
<p>- gho</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GT</title>
		<link>http://www.horto.ca/?p=20#comment-13341</link>
		<dc:creator>GT</dc:creator>
		<pubDate>Sun, 15 Nov 2009 16:31:16 +0000</pubDate>
		<guid>http://www.horto.ca/?p=20#comment-13341</guid>
		<description>Thanks for the great script. The only issue I am having is adding SOURCEDIRS where I have spaces in the directory names (E.g. iTunes Music). I have tried using additional quotation marks (") and also using backslashes before each space (\) where there is a space, but the script does not seem to recognize these. I have added below everything that I have tried for one of the Source directories I want to back up.

Attempt #1:   SOURCEDIRS= "/mnt/HD_a2/iTunes Music \" 

Attempt #2:   SOURCEDIRS= "/mnt/HD_a2/"iTunes Music" \" 

Attempt #3:   SOURCEDIRS= "/mnt/HD_a2/iTunes\ Music \" 

Attempt #4:   SOURCEDIRS= "/mnt/HD_a2/iTunes\\\ Music \" 

Attempt #5:   SOURCEDIRS= "/mnt/HD_a2/'iTunes Music' \" 

Attempt #6:   SOURCEDIRS= "/mnt/HD_a2/'iTunes\ Music' \" 

After running ./rbackup.sh each of the above attempts, I get:

: No such file or directory

Any help would be greatly appreciated.

Thanks

GT</description>
		<content:encoded><![CDATA[<p>Thanks for the great script. The only issue I am having is adding SOURCEDIRS where I have spaces in the directory names (E.g. iTunes Music). I have tried using additional quotation marks (&#8221;) and also using backslashes before each space (\) where there is a space, but the script does not seem to recognize these. I have added below everything that I have tried for one of the Source directories I want to back up.</p>
<p>Attempt #1:   SOURCEDIRS= &#8220;/mnt/HD_a2/iTunes Music \&#8221; </p>
<p>Attempt #2:   SOURCEDIRS= &#8220;/mnt/HD_a2/&#8221;iTunes Music&#8221; \&#8221; </p>
<p>Attempt #3:   SOURCEDIRS= &#8220;/mnt/HD_a2/iTunes\ Music \&#8221; </p>
<p>Attempt #4:   SOURCEDIRS= &#8220;/mnt/HD_a2/iTunes\\\ Music \&#8221; </p>
<p>Attempt #5:   SOURCEDIRS= &#8220;/mnt/HD_a2/&#8217;iTunes Music&#8217; \&#8221; </p>
<p>Attempt #6:   SOURCEDIRS= &#8220;/mnt/HD_a2/&#8217;iTunes\ Music&#8217; \&#8221; </p>
<p>After running ./rbackup.sh each of the above attempts, I get:</p>
<p>: No such file or directory</p>
<p>Any help would be greatly appreciated.</p>
<p>Thanks</p>
<p>GT</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sergey Kiselev</title>
		<link>http://www.horto.ca/?p=20#comment-12020</link>
		<dc:creator>Sergey Kiselev</dc:creator>
		<pubDate>Sat, 03 Oct 2009 11:38:31 +0000</pubDate>
		<guid>http://www.horto.ca/?p=20#comment-12020</guid>
		<description>Thanks a lot for your help! Your instructions actually helps us! Excellent work!!! 8)))</description>
		<content:encoded><![CDATA[<p>Thanks a lot for your help! Your instructions actually helps us! Excellent work!!! 8)))</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kp</title>
		<link>http://www.horto.ca/?p=20#comment-7957</link>
		<dc:creator>kp</dc:creator>
		<pubDate>Tue, 21 Jul 2009 04:39:45 +0000</pubDate>
		<guid>http://www.horto.ca/?p=20#comment-7957</guid>
		<description>The manual rsync worked like a charm but I think I'm running into the same problem as Don on getting the editcron.sh to run.  I can't get it to set up the cron job.

I verified the editcron.sh file is there with the right ownership (root:root) and has the execute permissions.  However when I look at the ffp.log it's giving the error:

"/ffp/etc/rc: line 45: /ffp/start/editcron.sh: not found"

The file is there but I must have some simple permissions problem in the setup.  I can't even seem to get the editcron.sh to run for the test.  Suggestions?

Thanks.</description>
		<content:encoded><![CDATA[<p>The manual rsync worked like a charm but I think I&#8217;m running into the same problem as Don on getting the editcron.sh to run.  I can&#8217;t get it to set up the cron job.</p>
<p>I verified the editcron.sh file is there with the right ownership (root:root) and has the execute permissions.  However when I look at the ffp.log it&#8217;s giving the error:</p>
<p>&#8220;/ffp/etc/rc: line 45: /ffp/start/editcron.sh: not found&#8221;</p>
<p>The file is there but I must have some simple permissions problem in the setup.  I can&#8217;t even seem to get the editcron.sh to run for the test.  Suggestions?</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mod your &#8216;home router&#8217; to Router! &#171; mobo</title>
		<link>http://www.horto.ca/?p=20#comment-7918</link>
		<dc:creator>Mod your &#8216;home router&#8217; to Router! &#171; mobo</dc:creator>
		<pubDate>Mon, 20 Jul 2009 22:25:55 +0000</pubDate>
		<guid>http://www.horto.ca/?p=20#comment-7918</guid>
		<description>[...] http://backupnetclone.sourceforge.net/installation01a.html      -now set backup CRONs http://www.horto.ca/?p=20  [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] <a href="http://backupnetclone.sourceforge.net/installation01a.html" rel="nofollow">http://backupnetclone.sourceforge.net/installation01a.html</a>      -now set backup CRONs <a href="http://www.horto.ca/?p=20" rel="nofollow">http://www.horto.ca/?p=20</a>  [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Don</title>
		<link>http://www.horto.ca/?p=20#comment-3559</link>
		<dc:creator>Don</dc:creator>
		<pubDate>Sun, 19 Apr 2009 04:03:13 +0000</pubDate>
		<guid>http://www.horto.ca/?p=20#comment-3559</guid>
		<description>Excellent how-to.  

I modified the script slightly.  I wanted the date shown before the backup so I added the following before the 'for' loop

TODAY=`date`
echo $TODAY &#62;&#62; $LOG

Also I noticed that you check if the destination exists but the script, as posted, doesn't abort if the directory isn't there.  I added an "exit 1" after error message is echoed.

And finally you have a variable for an exclude file but no option in the rsync to use it.  I changed the opts line to:

OPTS="-va --exclude-from=$EXCLUDES"

Thanks!!!</description>
		<content:encoded><![CDATA[<p>Excellent how-to.  </p>
<p>I modified the script slightly.  I wanted the date shown before the backup so I added the following before the &#8216;for&#8217; loop</p>
<p>TODAY=`date`<br />
echo $TODAY &gt;&gt; $LOG</p>
<p>Also I noticed that you check if the destination exists but the script, as posted, doesn&#8217;t abort if the directory isn&#8217;t there.  I added an &#8220;exit 1&#8243; after error message is echoed.</p>
<p>And finally you have a variable for an exclude file but no option in the rsync to use it.  I changed the opts line to:</p>
<p>OPTS=&#8221;-va &#8211;exclude-from=$EXCLUDES&#8221;</p>
<p>Thanks!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Louis</title>
		<link>http://www.horto.ca/?p=20#comment-2196</link>
		<dc:creator>Louis</dc:creator>
		<pubDate>Tue, 10 Mar 2009 20:30:20 +0000</pubDate>
		<guid>http://www.horto.ca/?p=20#comment-2196</guid>
		<description>Thanks for the tuto. I really appreciate it. The only problem I have is that for an unknown reason, my script work well when I run it manually (./editcron.sh) but it doesn't run at startup. Do I need to do something else than put it in /mnt/HD_a2/ffp/start? Thank you again!</description>
		<content:encoded><![CDATA[<p>Thanks for the tuto. I really appreciate it. The only problem I have is that for an unknown reason, my script work well when I run it manually (./editcron.sh) but it doesn&#8217;t run at startup. Do I need to do something else than put it in /mnt/HD_a2/ffp/start? Thank you again!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
