From owner-freebsd-questions Tue Nov 16 15:36: 1 1999 Delivered-To: freebsd-questions@freebsd.org Received: from avarice.riverstyx.net (hq-port-89.harbour-dhcp-pool.infinetgroup.com [207.23.37.89]) by hub.freebsd.org (Postfix) with ESMTP id 099BE14F50 for ; Tue, 16 Nov 1999 15:35:59 -0800 (PST) (envelope-from unknown@riverstyx.net) Received: from avarice (unknown@avarice [207.23.37.89]) by avarice.riverstyx.net (8.9.3/8.9.3) with ESMTP id PAA06674; Tue, 16 Nov 1999 15:35:37 -0800 Date: Tue, 16 Nov 1999 15:35:37 -0800 (PST) From: Tani Hosokawa To: Mark Hartley Cc: questions@FreeBSD.ORG Subject: Re: Backup several hosts with dump In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Would it be possible for you to set up the ssh auto-login (using .ssh/authorized_keys) and have rdump set up using sudo? If you made sudo able to only run a shell script, then you wouldn't have to worry about anyone being able to retrieve arbitrary data (altho you already have a serious compromise if your backup machine is taken over). On Tue, 16 Nov 1999, Mark Hartley wrote: > On 16-Nov-99 Paul T. Root wrote: > > In a previous message, Mark Hartley said: > >> > >> I have searched high and low for the answer to this: man pages, > >> website, -questions archives, but I have been unable to find the > >> answer so... > >> > >> > >> I have a SCSI DAT drive (DDS2) in my FreeBSD3.3-STABLE machine > >> that is working great. I can backup my partitions with dump, > >> and all works great. What I want to do is back up a couple of > >> other FreeBSD machines on my local net as well. (one > >> FreeBSD3.2-RELEASE and one FreeBSD2.2.8-STABLE) I'd like to be > >> able to run one script from the machine with the tape drive and > >> have it cycle through the machines, backing them up one at a > >> time. > > > >>From the remote machine: > > > > rdump 0auf tape_machine:/dev/nrst0 filesystem. > > > >> I've looked into Amanda, but it is overkill for what I want to do. > >> My question is what syntax do I use with dump (or do I use rdump?) > >> to back up the other machines? What do I need to do on the other > >> machines to enable them to be backed up? > > > > The tape_machine has to allow root (or bin) from the remote machine > > to login without a password, I believe. You can run this from tape > > machine by putting an rsh (ssh) remote_machine in front of the > > rdump command. And then the remote machine will have to allow root > > (bin) of the tape machine to login without a password. > > I guess my question then becomes: is there a way I can enable the > computers to log on to each other as needed without sacrificing > security? > > > Mark. > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > --- tani hosokawa river styx internet To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message