Hi,<br><br><div><span class="gmail_quote">On 10/09/06, <b class="gmail_sendername">David Goodwin</b> <<a href="mailto:dof@codepoets.co.uk">dof@codepoets.co.uk</a>> wrote:</span><div> </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
You may find tar to be simpler/easier in this instance e.g.<br><br>sudo tar -zcf - /home | ssh user@remote_host "cat > backup.tar.gz"</blockquote><div><br>I thought this was an interesting idea, and (with a couple of tweaks) it works a
<br>treat! It's learning stuff like this that makes me love Linux. However, it raises <br>a couple of questions for me. <br><br>First, what on earth does the " - " mean in the tar command "tar -zcf - /home..." (the
<br>second hyphen). The tar 'info' and 'man' pages didn't show me anything, and<br>Googling for "tar -" isn't very productive.<br><br>Second (and this shows my lack of understanding) how would I restore a tar<br>
file created this way? i.e. can it be used in reverse?<br><br>Incidentally, I lied about tar barfing on files over 8 gigs in size, though it is<br>apparently true for older versions. I succesfully backed up part of my server
<br>to a 40+ GB tar file using a variation on the above command line. Thanks!<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;">
(The above could take place without a 'cat' I suspect).</blockquote><div><br>If so, I can't think how :-)<br></div><br></div>Regards,<br><br>Glenn.<br>