From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078724211959.tru64-unix-managers.marc@archive.invalid> From: Ian Mortimer Date: Tue, 20 Oct 1998 02:39:00 +0000 To: tru64-unix-managers Subject: [Q] Mirroring filesystem over NFS. X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078724211959 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@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.