From owner-freebsd-questions Tue Apr 8 10:06:50 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id KAA18286 for questions-outgoing; Tue, 8 Apr 1997 10:06:50 -0700 (PDT) Received: from hudsucker.gamespot.com (hudsucker.gamespot.com [206.169.18.74]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id KAA18280 for ; Tue, 8 Apr 1997 10:06:47 -0700 (PDT) Received: (from jsd@localhost) by hudsucker.gamespot.com (8.8.5/8.8.5) id KAA21290; Tue, 8 Apr 1997 10:06:43 -0700 (PDT) Date: Tue, 8 Apr 1997 10:06:43 -0700 (PDT) Message-Id: <199704081706.KAA21290@hudsucker.gamespot.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: Random Junk To: randyk@ccsales.com, freebsd-questions@freebsd.org Subject: Re: NFS Mounting Question In-Reply-To: <3349BA8D.2659@ccsales.com> References: <3349BA8D.2659@ccsales.com> X-Mailer: VM 6.22 under 19.15 XEmacs Lucid Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Randy Katz writes: > I have machines www1, www2, & www3. IP Addresses 206.5.38.5, 206.5.38.6 > & 206.5.38.7 > > Machine www1 has a tape drive and www2 & www3 don't. > > I want to mount, read-only from www1 all filesystems on all the machines > (www2 & www3) and be able to back them up. don't do it that way. here's what i've done: 1. install ssh on all the machines 2. create an account in the operator group called "taper" or something like that and make sure ssh can log in as that user without needing a password (assuming you want to put all this in a script or cron job) 3. from the machine with the tape drive, use ssh to go to the other machines and get their data for dumping. the command looks something like this: ssh -l taper remotehost /sbin/dump 0af - /filesystem | dd of=/dev/tape the advantages to this method are: - ssh is encrypted, so your filesystem data is secure even if it's flowing across the internet. - ssh can also do compression (use the -C flag), which is handy for slow links - you can keep track of the backup schedule on one central machine -- Jon Drukman / jsd@gamespot.com / SpotMedia Communications