Hi Bryan,

Tks for your advice.

> Why not just use rsync?
> 
> setup cron to just sync the two directories (/home/blah with 
> /mnt/disk/blah) over and over?

Such an arrangement will only sync /home/user on
/mnt/usb_enclosure/user at fixed time, periodically, not instaneously
whenever there is a change on /home/user

> Or just set your hom directory to /mnt/disk/user ?

I intend using the USB device for dual purpose.

1) as mirror of /home/user.  So when there is a problem there is a
second copy of data on the USB enclosure.

2) using it as mobile storge device which can be plugged in on any
Linux PC when I work on the latter.

B.R.
SL

 
> > On 8/25/06, Stephen Liu <[EMAIL PROTECTED]> wrote:
> >>  Hi folks,
> >>
> >>  I'm prepared using an USB enclosure for data stroage.
> >>
> >>  I'm searching a tool/method whenever I save a file on /home/user
> a
> >>  duplicate copy will be saved automatically on
> >>  /mnt/point/of/usb_enclosure/home/user simultaneously, similar to
> >>  replication/mirroring.   Thus the USB enclosure can be used as a
> mobile
> >>  storage device and can be plugged in on any Linux PC.
> >
> > My first thought for this kind of setup would be a little Perl
> magic
> > with inotify... not sure if something already exists like this.
> >
> > http://www.edoceo.com/creo/inotify/perl-inotify.php
> >
> > -Mike
-- 
gentoo-user@gentoo.org mailing list

Reply via email to