tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Schau, Brian" <Brian.Schau () compaq ! com>
To: tru64-unix-managers
Subject: Mirror Script.
Date: Fri, 03 Nov 2000 22:25:25 +0000	[thread overview]
Message-ID: <97329038321175.tru64-unix-managers.marc@archive.invalid> (raw)

The system abused me - doing a 'Reply All' failed ...   Resending

> Hi,
> 
> 
> I don't use the script you mention .. but still, I think I 
> accomplish what you're trying
> to do ...   Want to see something twisted?   Sick?   Cool?   
> Oh, yeah - do this:
> 
> 1) On the machine you want to mirror from:
> 
> 	1 - log in as yourself
> 	2 - edit .rhosts to be:       remote.machine.com your_login_name
> 	3 - su -    # become root
> 	4 - cd /usr/users/your_loginname
> 	5 - mkfifo remote
> 	6 - tar csvf remote dir1 dir2 dir3  # dir1..3 is the 
> directories you want to backup
> 
> - steps 1-5 is one time only.   Step 6 must be done as root, 
> umask 0000.
> 
> 2) On the machine you want to mirror to:
> 
> 	1 - log in as yourself
> 	2 - su - # become root
> 	3 - rsh remote_machinename cat /usr/users/yourself | tar xsf -
> 
> ... and voila, you have a complete mirror of 'remote' on 
> 'local' - permissions and everything
> set ...
> 
> WARNING!   Remember to set umask 0000 after su'ing (if 
> necessary).   That way permissions will be set as on the remote peer.
> WARNING!   Let's not get into a r* command debate.
> 
> This works for me.  YMMV :)
> 
> 
> See 'ya.
> 
> Kind regards,
> Brian

             reply	other threads:[~2000-11-03 22:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-03 22:25 Schau, Brian [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-11-03 21:18 Mirror script Hisham Al Saad
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox