I could be wrong about the exact syntax, since I haven't done it in a
while...  I believe something along the lines of:

tar zxf - / |ssh backuphostname "cat > backup.laptop.tgz"

Or something to that extent.  It's been a while and I never really used it
much.  It should feed the contents of the .tgz file to stdout, which is
fed to the ssh command as stdin... and using the command version of ssh
(execute a command on the other end) which will accept the file.  You can
change the path as needed.

Let me know if I'm wrong and what the correct syntax is.  I know it can be
done.

Matt

On Wed, 22 May 2002 20:42:13 -0400
"William F. Day" <[EMAIL PROTECTED]> wrote:

> what about mounting a share (NFS or Samba) and making the tarbal on it?
> 
> Bill Day
> 
> Linux 2.2.20-1tr i586
>   8:10pm  up 7 days, 19:24,  2 users,  load average: 0.01, 0.00, 0.00
> 
> ----- Original Message -----
> From: Net Llama! <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, May 22, 2002 9:34 PM
> Subject: backing up a laptop
> 
> 
> > Greetings,
> > I've got a bit of a problem on my hands.  I've got a laptop with a 4GB
> > drive, that currently has about 1.7GB free (less than half).  It has a
> > CDROM(not a burner) & floppy drive.  Thus, the only way I can get
> > files on or off the HD, is via the floppy or with scp (ssh).
> >
> > The HD is partitioned so that hda1 is /boot, hda2 is swap, and hda3 is
> > /
> >
> > What I want to do is backup the entire disk, however since I don't
> > have enough free space on the HD, i can't just create one big tarball.
> >
> > Does anyone know of a way to pipe the output from tar to scp so that i
> > could automatically dump the tarball onto a remote box?  I've been
> > pooring through the tar & scp man pages and can't find any way of
> > doing this.
> >
> > If anyone has any alternate solutions, i'd be eager to hear them as
> > well.
> >
> > thanks!
> >
> > --
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > L. Friedman                              [EMAIL PROTECTED]
> > Linux Step-by-step & TyGeMo:     http://netllama.ipfox.com
> >
> >    6:25pm  up 34 days,  1:18,  3 users,  load average: 0.06, 0.10,
> >    0.08
> >
> > _______________________________________________
> > Linux-users mailing list -
> http://linux-sxs.org/mailman/listinfo/linux-users
> > Subscribe/Unsubscribe info, Archives,and Digests are located at the
> > above
> URL.
> 
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.363 / Virus Database: 201 - Release Date: 5/21/02
> 
> _______________________________________________
> Linux-users mailing list -
> http://linux-sxs.org/mailman/listinfo/linux-users
> Subscribe/Unsubscribe info, Archives,and Digests are located at the
> above URL.
_______________________________________________
Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.

Reply via email to