l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
October 7: Social gathering
Next Installfest:
TBD
Latest News:
Aug. 18: Discounts to "Velocity" in NY; come to tonight's "Photography" talk
Page last updated:
2009 Apr 10 07:29

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] Utility to image a hard drive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] Utility to image a hard drive



Richard Mancusi wrote:
> On Thu, Apr 9, 2009 at 16:51, Rick Moen <rick@linuxmafia.com> wrote:
>> Quoting Alex Mandel (tech_dev@wildintellect.com):
>>
>>> There's also a text based tool called backup ninja which writes the
>>> rsync scripts for you and several rysnc gui's to help teach you the
>>> syntax which can be tricky, grsync.
>> I have to admit, I really don't get this -- but, on the other hand,
>> haven't tried 'em.  Plain old rsync always struck me as blessedly simple.
>> "rsync -avz olddirectory newdirectory" Just Plain Works -- and
>> generalises to
>> "rsync -avz olddirectory username@newhost:newdirectory" for network
>> copying (esp. if you set RSYNC_RSH=/usr/bin/ssh).
>>
>> There are options you use rarely, such as:
>>
>>    --delete   #Update destination dirs to remove files no longer needed
>>    --exclude=PATTERN
>>    --exclude-from=FILE
>> ...but I need those only rarely, and look 'em up when I do.
> 
> I am with Rick - however I do use some options.  Looked at grsync and
> decided a quick script fit my needs better.  I want to backup from one
> computer to another each night.  If I have a hardware problem, simply
> grab the other computer.  Actually I do it to 3 computers.  Following
> is a rough outline of what I do.  Yes I understand some of it is redundant
> and the log is for the most part an unnecessary habit.
> 
> ------
> #!/bin/bash
> DATE=`date`
> echo $DATE BackUp Started: T61 192.168.9.48 to T61p 192.168.9.49 >>
> rsync_to_T61p.log
> rsync -e ssh -raPH -v >> rsync_to_T61p.log --delete (lots of stuff here)
> (more stuff, and eventually)
> echo $DATE BackUp Finished: T61 192.168.9.48 to T61p 192.168.9.49 >>
> rsync_to_T61p.log
> echo >> rsync_to_T61p.log
> echo >> rsync_to_T61p.log
> ------
> 
> -rich

I condsider grsync a tool to learn rsync with. I took me days to get the
 trailing slashes just the right way on a command to actually put the
files in the way I wanted. And the simulate command does wonders when I
want to test a change on a potentially large dataset, 60GB of photos,
where I want to make sure I'm only sending the changes over the network
to save time, bandwidth and disc writes.

Don't get me wrong rsync is the tool for this type of stuff(In fact it's
the underlying tool for all the apps I've mentioned) I'm merely
suggesting ways to make it easier for someone who doesn't just know
command line innately and has a hard time making sense of the man pages.

Alex
_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.