Date: Tue, 16 Nov 1999 15:35:37 -0800 (PST) From: Tani Hosokawa <unknown@riverstyx.net> To: Mark Hartley <mark@whetstonelogic.com> Cc: questions@FreeBSD.ORG Subject: Re: Backup several hosts with dump Message-ID: <Pine.LNX.4.10.9911161534130.6047-100000@avarice.riverstyx.net> In-Reply-To: <XFMail.991116145742.mark@whetstonelogic.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.10.9911161534130.6047-100000>