I could find the root/local directory. let say I created a tar file and called it<br>my-tar.tgz&nbsp; I want to pass this tar file with ssh to my another server for exxample <br>
&nbsp;' <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> &lt;<a href="mailto:webfreelancers@gmail.com">webfreelancers@gmail.com</a>&gt; 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,&nbsp; I will try it and&nbsp; 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> &lt;<a href="mailto:lesmikesell@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">lesmikesell@gmail.com</a>&gt; 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>&gt; I have stand alone server(FC2)<br>&gt; Could you tell me more detail instructions to copy my data to<br>&gt; a USB and&nbsp;&nbsp;with ssh&nbsp;&nbsp;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.&nbsp;&nbsp;You can<br>&nbsp;&nbsp;mkdir /tmp/usb<br>&nbsp;&nbsp;mount /dev/sdb1 /tmp/usb<br>then copy things there.&nbsp;&nbsp;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.&nbsp;&nbsp;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>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; my data are on local&nbsp;&nbsp;directory.<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; How could I login in as a root&nbsp;&nbsp;to see my local dir.
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; -result With &quot;ls&quot; command in shell prompt:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&gt;&nbsp;&nbsp;bin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
etc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
linuxra&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
mnt<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &gt; oldtmp<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
sbin&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
sys&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;usr<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&gt;&nbsp;&nbsp;dev&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lib<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&gt;
lost+fund&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;modules&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;proc<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
selinux&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
temp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
var<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If rescue mode was able to find your partitions and<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mount them normally and you followed the instructions<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; with the 'chroot' command, everything should appear<br>

&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; in it's usual locations from your shell prompt.&nbsp;&nbsp;That<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; is, if your files are in your home directory it would<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; be /home/your_login.<br>&gt;<br>&gt; I don't know how find those directories.
<br>&gt; Do I need to login in shell mode? if response is yes&nbsp;&nbsp;with which<br>&gt; command?<br><br>You should be logged in as root already in rescue mode.&nbsp;&nbsp;You<br>need to 'chroot /mnt/sysinstall' when it tells you.&nbsp;&nbsp;That puts
<br>you at the root (/) of your installed system.&nbsp;&nbsp;From there just<br>cd to the directory you want.&nbsp;&nbsp;Use pwd (print working directory)<br>to confirm where you are and ls to list the files there.&nbsp;&nbsp;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>&nbsp;&nbsp;Les Mikesell<br>&nbsp;&nbsp; <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>