[Q] Mirroring filesystem over NFS.

From: Ian Mortimer <ian_at_physics.uq.edu.au>
Date: Tue, 20 Oct 1998 12:39:00 +1000

Hi DU Admins

I need to mirror some large filesystems on two different hosts.
This has to be an exact mirror with permissions, ownership
and time stamps the same.

I can NFS mount the source file system onto the mirror host and
tar the files across but this isn't satisfactory because:

  It's inefficient since it copies all files every time
  even though most of them haven't changed.

  To do it safely needs twice as much disk space on the
  mirror as on the source.

I've thought about writing a script to do this which makes
two lists:

  Files which are new or changed on the source.
  Files which exist on the mirror but not on the source.

The script would then delete all files in the second list and
tar across all files in the first list.

Does such a tool exist? I don't want to reinvent the wheel.


Ian

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/ Ian Mortimer _/
_/ ian_at_physics.uq.edu.au ,-_|\ Department of Physics _/
_/ Tel: +61 7 3365 3436 / *\ University of Queensland _/
_/ Fax: +61 7 3365 1242 \_,-._/ St. Lucia, Brisbane _/
_/ v Queensland, Australia 4072 _/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Disclaimer: Speaking only for myself.
Received on Tue Oct 20 1998 - 02:40:02 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:38 NZDT