Hi,<br><br><div><span class="gmail_quote">On 10/09/06, <b class="gmail_sendername">Dave Cridland</b> <<a href="mailto:dave@cridland.net">dave@cridland.net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Sun Sep 10 20:00:24 2006, Justin Mitchell wrote:<br>> you can mess about with sudo, but as you will undoubtedly want to<br>> run<br>> the backup in some automated way</blockquote><div><br>Yes, eventually. For now though, it's a one off with a tip of the hat
<br>to future needs. I tried doing the rsync thing with sudo, and I know<br>thin<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
In this instance, it's a one-off, manual thing, in preparation to<br>flattening and reinstalling the machine, or at least I *think* that's<br>what Glenn said.</blockquote><div><br>True. And using rsync as root didn't work, so I'm going to try tar. rsync did
<br>the copy ok, but all the file ownerships, permissions etc. were completely<br>knackered, which is no use to me. I saw quite a few 'chown ... operation<br>not permitted' messages fly by during the copy, even when I was logged
<br>in as root.<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">> also, when connecting to the remote machine it will also normally
<br>> ask<br>> you for a password, this can be fixed by using authorized_keys. in<br>> short, use ssh-keygen to make a public/private key pair, copy the<br>> public<br>> key to be ~/.ssh/authorized_keys on the machine your connecting
<br>> into. it<br>> wont ask you for a password anymore.</blockquote><div><br><br>I had already set up key pairs - should have mentioned it in the first<br>post.<br></div><br></div>Thanks for the input guys - I'm learning a little faster now :-)
<br><br>Regards,<br><br>Glenn.<br>