[SWLUG] Network backups

Glenn Booth d.glenn.booth at gmail.com
Sun Sep 10 20:15:01 UTC 2006


Hi,

On 10/09/06, Dave Cridland <dave at cridland.net> wrote:
>
> On Sun Sep 10 20:00:24 2006, Justin Mitchell wrote:
> > you can mess about with sudo, but as you will undoubtedly want to
> > run
> > the backup in some automated way


Yes, eventually. For now though, it's a one off with a tip of the hat
to future needs. I tried doing the rsync thing with sudo, and I know
thin

In this instance, it's a one-off, manual thing, in preparation to
> flattening and reinstalling the machine, or at least I *think* that's
> what Glenn said.


True. And using rsync as root didn't work, so I'm going to try tar. rsync
did
the copy ok, but all the file ownerships, permissions etc. were completely
knackered, which is no use to me. I saw quite a few 'chown ... operation
not permitted' messages fly by during the copy, even when I was logged
in as root.

> also, when connecting to the remote machine it will also normally
> > ask
> > you for a password, this can be fixed by using authorized_keys. in
> > short, use ssh-keygen to make a public/private key pair, copy the
> > public
> > key to be ~/.ssh/authorized_keys on the machine your connecting
> > into. it
> > wont ask you for a password anymore.



I had already set up key pairs - should have mentioned it in the first
post.

Thanks for the input guys - I'm learning a little faster now :-)

Regards,

Glenn.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/swlug/attachments/20060910/d843c8c7/attachment.html>


More information about the Swlug mailing list