copying files from shell to network drive.
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix questions > copying files from shell to network drive.




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    copying files from shell to network drive.  
thor


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-25-07 12:19 AM

Hi, I am a new unix admin.

My webserver hard drive is filling up quick and I am trying to move
some files to a networked windows server that has a burner to perform
backup.

I am not sure the command to pass in the shell to make this happen.  in
windows I would map a path to the computer in question and use the
console to copy.  Do I do something similar to for unix system?

I am thinking something like...
$  cp fooboo.tar   //winbox1/backup

or
$ cp fooboo.tar  X:/backup/

Thanks in advance.






[ Post a follow-up to this message ]



    Re: copying files from shell to network drive.  
Bill Marcum


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-25-07 12:19 AM

On 24 Jan 2007 12:44:27 -0800, thor
<Bryce4@gmail.com> wrote:
>
>
> Hi, I am a new unix admin.
>
> My webserver hard drive is filling up quick and I am trying to move
> some files to a networked windows server that has a burner to perform
> backup.
>
> I am not sure the command to pass in the shell to make this happen.  in
> windows I would map a path to the computer in question and use the
> console to copy.  Do I do something similar to for unix system?
>
> I am thinking something like...
> $  cp fooboo.tar   //winbox1/backup
>
mount -t smbfs //winbox1/backup /somepath
cp fooboo.tar /somepath
You must be root to mount unless the remote share is listed in
/etc/fstab.

> or
> $ cp fooboo.tar  X:/backup/
>
> Thanks in advance.
>


--
Some people pray for more than they are willing to work for.





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 02:08 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register