[Novalug] Re: [Dclug] backup/mirror script
Angelo Bertolli
angelo at freeshell.org
Tue Apr 17 10:16:01 EDT 2007
Eric V. Smith wrote:
> Angelo Bertolli wrote:
>> Eric V. Smith wrote:
>>> Remember that dirvish _is_ a wrapper around rsync. It does many of
>>> the things you're doing in your script, and many more.
>>
>> Wow, ok... how about I rephrase my question: I need help with bash
>> scripting, will you take a look at the bash part of my script and
>> give me some tips? ;)
>
> Sorry, not me. I'm just trying to point you in a direction that might
> save you some time.
That's fine. Thanks. I'm actually glad for the comments about Dirvish,
but I still wanted to see if I could get an answer to the original
question. :p I started out just using a one-liner rsync command for the
longest time as an alias, then I moved to a script. Now I'm trying to
make one script that will let me do more than one machine.
>
>> By the way, have you done a bare-metal recovery of a system using
>> Dirvish?
>
> No. I'm a believer in installing the base OS, restoring the system's
> configuration, then recovering user files. Only the latter uses dirvish.
Maybe that's good enough. Just install a base OS, and tell Dirvish to
restore, and it'll do the rest? Does it let you change the rsync
options? Also, I wouldn't want it to backup [so it won't restore] /tmp,
/proc, /var/tmp, or /sys, and now with newer kernels /dev. Actually it
shouldn't backup /var/run either, but I've noticed that things don't
always follow FHS exactly ;)
Angelo
--
Angelo Bertolli
Please remove my email address from your post when replying
[Tech http://bitfreedom.com | Gaming http://heroesonly.com]
More information about the Novalug
mailing list