Back up data in Rescue mode

M.K webfreelancers at gmail.com
Tue Mar 21 02:56:38 UTC 2006


First I tried scp command  i got error then tried to connection with ssh as
you said.
 ssh -v    user_login at www.place_ my site.com
  I  got this error
OpenSSh_3.2           ,SSH protocol 1.5/2. openSSL 0X0090701f
debug1: Rhosts Authentication disabled, originating  Port will not be
trusted.
ssh: user_login at www.place_ my site.com  Temporary failure in name resolution


On 3/20/06, Les Mikesell <lesmikesell at gmail.com> wrote:
>
> On Mon, 2006-03-20 at 00:21, M.K wrote:
> > I could find the root/local directory. let say I created a tar file
> > and called it
> > my-tar.tgz  I want to pass this tar file with ssh to my another server
> > for exxample
> >  ' www.mysite.com'
> >
> > Where I have to put my tar file' my-tar.tgz' to the next comand
> >
> > rsync -essh -av . www.mysite.com:/path/to/directory
>
> The '.' (current directory) in this command is the source that
> rsync will send and the -a option says (among other things) to recurse
> through subdirectories.  The /path/to/directory
> part of the command will create one (and only one) new subdirectory
> at the end of the path if it doesn't already exist.  If you use
> that, you wouldn't have to create the tar file first unless you
> want compression or the convenience of having everything in one
> file while you rebuild your machine.
>
> If you do make a tar file first, you could use scp instead of
> rsync like:
>   cd  /dir/with/tarfile
>   scp my-tar.tgz  www.mysite.com:/path/to/directory
> or with rsync like:
>   rsync -essh my-tar.tgz www.mysite.com:/path/to/directory
>
> If you have trouble with either of these, test your ssh
> connection with something like:
>   ssh www.mysite.com id
> If you don't have root access to the other machine you can
> specify a user name like:
>   ssh user at www.mysite.com
> and connect with the specified user's password.  The same
> user at host style works in the scp and rsync commands.
>
> --
>   Les Mikesell
>    lesmikesell at gmail.com
>
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20060320/ff04719a/attachment-0001.htm>


More information about the fedora-list mailing list