Hi Rumen,
Tks for your advice.
Not very sure that's what you want, but check: sys-cluster/drbd.
Description: mirror/replicate block-devices across a
network-connection (requires a network connection though).
sync+cron can do the job, incremental-copying files from /home/user on
to
Hi Roger,
Tks for your advice.
If you want to synchronize (i.e.
update
to the latest version, no matter where it is), try unison.
Whether you suggested;
Unison
File Synchronizer
http://www.cis.upenn.edu/~bcpierce/unison/
I'm trying to find out whether real time synchronization is possible,
On Sun, 27 Aug 2006 23:26:57 +0800 (CST), Stephen Liu wrote:
Where can I find similar syncing and cron script examples? TIA
In the rsync man page.
rsync -ax ~/ /mnt/extdisk/myhome/
should do it.
--
Neil Bothwick
RAM = Rarely Adequate Memory
signature.asc
Description: PGP signature
Hi Neil,
In the rsync man page.
rsync -ax ~/ /mnt/extdisk/myhome/
should do it.
On which file of cron shall I add following line to rsync
/mnt/extdisk/myhome/ quarterly?
0,15,30,45 * * * * rsync -ax ~/ /mnt/extdisk/myhome/
Whether -u update will do incremental copying for those files
Try to add --delete.
Valerio Daelli
On 8/28/06, Stephen Liu [EMAIL PROTECTED] wrote:
Hi Neil,
In the rsync man page.
rsync -ax ~/ /mnt/extdisk/myhome/
should do it.
On which file of cron shall I add following line to rsync
/mnt/extdisk/myhome/ quarterly?
0,15,30,45 * * * * rsync -ax ~/
On Mon, 28 Aug 2006 15:26:09 +0800, Stephen Liu wrote:
If you want to synchronize (i.e. update
to the latest version, no matter where it is), try unison.
Whether you suggested;
Unison
File Synchronizer
http://www.cis.upenn.edu/~bcpierce/unison/
Yes. One of the more underestimated tools,
Hi Valerio,
Try to add --delete.
Could you please provide more detail? TIA
B.R.
SL
On 8/28/06, Stephen Liu [EMAIL PROTECTED] wrote:
Hi Neil,
In the rsync man page.
rsync -ax ~/ /mnt/extdisk/myhome/
should do it.
On which file of cron shall I add following line to
On Mon, 28 Aug 2006 19:09:11 +0800 (CST), Stephen Liu wrote:
Whether -u update will do incremental copying for those files having
been updated
That's not what -u does, rsync does incremental copying by default, read
the man page.
--
Neil Bothwick
Bald spot? No -- solar panel for brain
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
On Sun, 27 Aug 2006 16:55:17 +0800 (CST), Stephen Liu wrote:
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
Hi Neil,
Do you really need such frequent syncing? Bear in mind the limited
write
lifespan of flash memory, if you have a file in your home directory
that
is frequently updated, you could wear out the memory in a short time.
what's wrong with using a script that syncs your hard disk with
On Sunday 27 August 2006 12:20, Stephen Liu wrote:
Mounted inside the USB enclosure is a HD. I'll use old HD for this
purpose. Frequently I work on at least 2 PCs running different Linux
OS. With such a device, USB enclosure, it'll ease my work on
consolidating the working data on 2 PCs.
Hi Etaoin,
Tks for your advice.
If you have networking, why not set up a network share of some kind
(nfs,
smb, or even ssh via shfs) and mount it (under the same path) from
each
computer you work on? This avoid having to replicate data and, with
decent network speed, is nearly as fast
On Sunday 27 August 2006 13:39, Stephen Liu wrote:
The PCs, a workstation only, are not connected to network. Neither
I'll run 2/3 PCs simultaneously.
Ok, I didn't have this info.
Previously I did it in this way making use of an addtional network
card connecting 2 PCs. Later I ceased
Hi Neil,
but I still don't
see
why you need real-time mirroring. A script to sync the drive before
unmounting would give you an accurate mirror. A cron script to check
if
the drive is mounted and sync it every hour would cut down on the
amount
of data to sync when unmounting.
If running
On Sun, 27 Aug 2006 22:14:25 +0800 (CST), Stephen Liu wrote:
but I still don't
see
why you need real-time mirroring. A script to sync the drive before
unmounting would give you an accurate mirror. A cron script to check
if
the drive is mounted and sync it every hour would cut down on
Hi Neil,
Shutdown involves unmounting the drive, and I recommended syncing
before unmounting.
The USB enclosure will be automatically mounted/umounted.
Whether on the script includes syncing once before poweroff/reboot
starts.
Where can I find similar syncing and cron script examples? TIA
On Sun, 27 Aug 2006 23:26:57 +0800 (CST)
Stephen Liu [EMAIL PROTECTED] wrote:
Hi Neil,
Shutdown involves unmounting the drive, and I recommended syncing
before unmounting.
The USB enclosure will be automatically mounted/umounted.
Whether on the script includes syncing once before
On Sat, 26 Aug 2006 08:49:23 +0800 (CST), Stephen Liu wrote:
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
Neil Bothwick wrote:
On Sat, 26 Aug 2006 08:49:23 +0800 (CST), Stephen Liu wrote:
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
Hi Robert,
Tks for your advice.
What about a perl script that just copies all files in /home/user to
the
device once it is plugged in?
I'm not a programmer nor very acknowledgeable on perl. Could you
please shed me some guide how to start. What I need is on saving a new
file or edited
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
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
23 matches
Mail list logo