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:
August 5: Social gathering
Next Installfest:
TBD
Latest News:
Jul. 4: July, August and September: Security, Photography and Programming for Kids
Page last updated:
2009 Apr 09 16:24

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



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
_______________________________________________
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:
EDGE Tech Corp.
For donating some give-aways for our meetings.