Date: Wed, 1 Dec 1999 08:20:59 -0800 (PST) From: <keith@mail.telestream.com> To: Alfred Perlstein <bright@wintelcom.net> Cc: Sparky <mark@itsunix.uwc.ac.za>, "freebsd-questions@FreeBSD.ORG" <freebsd-questions@FreeBSD.ORG> Subject: Re: Backups Message-ID: <Pine.LNX.4.10.9912010818030.22948-100000@mail.telestream.com> In-Reply-To: <Pine.BSF.4.21.9912010258200.4557-100000@fw.wintelcom.net>
next in thread | previous in thread | raw e-mail | index | archive | help
I've been using ssh/scp to backup 4 of my machines to a central server for some time now.. If you are interested in the scripts let me know. You can pass the auth information quite easily with expect. Keith On Wed, 1 Dec 1999, Alfred Perlstein wrote: > On Wed, 1 Dec 1999, Sparky wrote: > > > Hello.... > > > > Can anyone help me? > > I want to do backups of 4 machines to a backup server ( all running > > Unix ) > > > > machine 1 LINUX REDHAT 6 > > machine 2 SOLARIS 2.6 > > machine 3 FREEBSD > > machine 4 LINUX REDHAT 6 > > backup FREEBSD > > > > The idea is to use the crontab daemon to scp the machines necessary > > files to the backup server, > > and then for the backup server to....well of course back them up. > > > > The first question is : > > > > 1) Is this way correct. > > 2) How do I get the backup to accecpt scp connections without a > > password from only those machines. > > 3) How to set up the crontab file on the machines to perform the > > sending tasks. > > > > I have tried to edit the sshd config files....but no luck. > > I have also tried some tests with crontab file ..... no luck. > > > > Note: You might wonder why I am asking these questions......well > > actually I am new to UNIX aprox 4 weeks. So all the advice would be > > appreciated. > > Actually this is a side project i've been working on in my spare > time, meaning I haven't got passed the thinking about it stage. :) > > The way I was going to do it is remarkably similar, the problem > you're having with ssh is that it won't take a password from > stdin. A trick I came up with is to start an ssh-agent, ssh-add > which enters keys into the agent will take a passphrase on stdin > if you pass it a -p flag. > > You can then stick a generated key into the remote backup user's > $HOME/.ssh/authorized_keys. > > Read up on ssh-agent it should be a good start. > > -Alfred > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > 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.9912010818030.22948-100000>