I could find the root/local directory. let say I created a tar file and called it<br>my-tar.tgz I want to pass this tar file with ssh to my another server for exxample <br>
' <a href="http://www.mysite.com">www.mysite.com</a>'<br>
<br>
Where I have to put my tar file' my-tar.tgz' to the next comand<br>
<br>
<span class="q" id="q_10a161c147190515_1">rsync -essh -av . www.mysite.com:/path/to/directory
<br>
<br>
Thanks<br>
mkohan<br>
</span><br>
<br><div><span class="gmail_quote">On 3/19/06, <b class="gmail_sendername">M. K</b> <<a href="mailto:webfreelancers@gmail.com">webfreelancers@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="direction: ltr;">Thanks, <b class="gmail_sendername">Les Mikesell</b><br>
Excellent response, I will try it and let you know.<br>
Mkohan</div><div style="direction: ltr;"><span class="q" id="q_10a161c147190515_1"><br>
<br>
<br>
On 3/19/06, <b class="gmail_sendername">Les Mikesell</b> <<a href="mailto:lesmikesell@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">lesmikesell@gmail.com</a>> wrote:<div><span class="gmail_quote">
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Sun, 2006-03-19 at 22:48, M.K wrote:<br><br>> I have stand alone server(FC2)<br>> Could you tell me more detail instructions to copy my data to<br>> a USB and with ssh to another server.<br><br>I'm not sure if rescue mode will recognize a USB disk or
<br>not. If it does, it should show up as /dev/sda1. You can<br> mkdir /tmp/usb<br> mount /dev/sdb1 /tmp/usb<br>then copy things there. If the USB drive has a FAT filesystem<br>you'll lose some of the file attributes (ownership, modes, etc.)
<br>and may have problems with some filenames if you copy the files<br>directly, so it might be better to use a tar archive. For that,<br>cd to the directory you want to save and:<br> tar -czvf /tmp/usb/my-tar.tgz .<br>
(that last '.' specifies the current directory).
<br><br>For rsync over ssh to another system you would let rescue<br>mode active your network, chroot to /mnt/sysinstall as it<br>suggests, then cd to the directory you want to save and:<br>rsync -essh -av . othermachine:/path/to/directory
<br>It should prompt for the root password on the other machine,<br>then copy the files.<br><br>><br>> > my data are on local directory.<br>> > How could I login in as a root to see my local dir.
<br>> > -result With "ls" command in shell prompt:<br>>
> bin
etc
linuxra
mnt<br>> > oldtmp<br>>
>
sbin
sys usr<br>>
> dev lib<br>>
>
lost+fund modules proc<br>>
>
selinux
temp
var<br>><br>> If rescue mode was able to find your partitions and<br>> mount them normally and you followed the instructions<br>> with the 'chroot' command, everything should appear<br>
> in it's usual locations from your shell prompt. That<br>> is, if your files are in your home directory it would<br>> be /home/your_login.<br>><br>> I don't know how find those directories.
<br>> Do I need to login in shell mode? if response is yes with which<br>> command?<br><br>You should be logged in as root already in rescue mode. You<br>need to 'chroot /mnt/sysinstall' when it tells you. That puts
<br>you at the root (/) of your installed system. From there just<br>cd to the directory you want. Use pwd (print working directory)<br>to confirm where you are and ls to list the files there. You<br>can cd with an absolute path (starting with /) or if you omit
<br>the leading / the directory you specify is relative to your<br>current position.<br><br>--<br> Les Mikesell<br> <a href="mailto:lesmikesell@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
lesmikesell@gmail.com</a><br><br><br>--<br>fedora-list mailing list
<br><a href="mailto:fedora-list@redhat.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">fedora-list@redhat.com</a><br>To unsubscribe: <a href="https://www.redhat.com/mailman/listinfo/fedora-list" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
https://www.redhat.com/mailman/listinfo/fedora-list</a><br></blockquote>
</div><br>
</span></div></blockquote></div><br>