Re: how to use tar with scp

From: Nitin (nitinmehta_at_kappa.net.in)
Date: 11/14/03

  • Next message: Steve Gonzales: "Re: Monitor problem in RH9.0"
    To: <redhat-list@redhat.com>
    Date: Fri, 14 Nov 2003 18:41:06 +0530
    
    

    ----- Original Message -----
    From: "Sameh Attia" <sameh.attia@tedata.net>
    To: <redhat-list@redhat.com>
    Sent: Thursday, November 13, 2003 5:12 PM
    Subject: Re: how to use tar with scp

    > -----BEGIN PGP SIGNED MESSAGE-----
    > Hash: SHA1
    >
    > Nitin wrote:
    >
    > | hi all,
    > |
    > | I've been using BRU for my backup for some time, but now, it's
    > | throwing e errors. So, for the time being, I want to use tar for my
    > | backup. Can anybody please let me know how to use 'tar' to copy
    > | archived file to a remote machine using 'scp'. Any help or ideas will
    > | be appreciated. It's really urgent.
    > |
    > | Thanks in advance
    > | Nitin
    >
    > Here is a sample command u can issue to do this
    >
    > tar -pcvf - /path | ssh <user>@<host> "(cd /path; tar -xf -)"

    i'm using:
    tar -pczf - /home/admin | ssh 10.10.10.6 "(cd /dump)"

    but it isn't working. couldn't find what's wrong with it. could u please
    find?

    Thanx anyway
    Nitin

    >
    > the key here is the pipline and the ssh
    > sure ull need to modify the above line to better match ur case
    >
    > - --
    > Sameh Attia
    > Senior System Engineer
    > T.E. Data
    > - --
    > dc -e
    >
    '603178305900664311156641389051003470569569613466992253686426210705237258P'
    > -----BEGIN PGP SIGNATURE-----
    > Version: GnuPG v1.2.2 (GNU/Linux)
    > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
    >
    > iEYEARECAAYFAj+zbg8ACgkQSUZgoeYoLGofiACffgPQYJU8HCCWcsBjuXYXjC2y
    > JPYAnAvjdrzT86FvFT3TqjJo15L3lj6i
    > =exIy
    > -----END PGP SIGNATURE-----
    >
    >
    >
    > --
    > redhat-list mailing list
    > unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    > https://www.redhat.com/mailman/listinfo/redhat-list
    >

    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Steve Gonzales: "Re: Monitor problem in RH9.0"

    Relevant Pages

    • Re: how to use tar with scp
      ... Nitin wrote: ... | I've been using BRU for my backup for some time, but now, it's ... Can anybody please let me know how to use 'tar' to copy ... Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org ...
      (RedHat)
    • Re: how to use tar with scp
      ... On November 13, 2003 03:25 am, Nitin wrote: ... > I've been using BRU for my backup for some time, but now, it's throwing e ... So, for the time being, I want to use tar for my backup. ...
      (RedHat)
    • Re: backup to CD with tar
      ... It seems I must first make tar archives of this on my hard drive ... tar and dar, so you can finally rest assured that dar is your best ... backup files which are uncompressed. ...
      (comp.os.linux.misc)
    • Re: tape command for solaris 8
      ... >>ufsdump is the standard backup utility. ... >>you can backup and restore an entire system onto tape. ... > directly read the raw disk device), tar is a high level program that correctly ... > old Solaris versions that support to read the hole list, ...
      (comp.unix.solaris)
    • Re: tape command for solaris 8
      ... >>ufsdump is the standard backup utility. ... >>you can backup and restore an entire system onto tape. ... > directly read the raw disk device), tar is a high level program that correctly ... > old Solaris versions that support to read the hole list, ...
      (comp.sys.sun.admin)