Re: how to use tar with scp
From: Nitin (nitinmehta_at_kappa.net.in)
Date: 11/14/03
- Previous message: Ed Wilts: "Re: Mail error: reason: 550 5.0.0 You must use a valid mail server"
- In reply to: Sameh Attia: "Re: how to use tar with scp"
- Next in thread: Ken Rossman: "Re: how to use tar with scp"
- Reply: Ken Rossman: "Re: how to use tar with scp"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: Ed Wilts: "Re: Mail error: reason: 550 5.0.0 You must use a valid mail server"
- In reply to: Sameh Attia: "Re: how to use tar with scp"
- Next in thread: Ken Rossman: "Re: how to use tar with scp"
- Reply: Ken Rossman: "Re: how to use tar with scp"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|