Unix questions - copying files from shell to network drive.

This is Interesting: Free IT Magazines  
Home > Archive > Unix questions > January 2007 > copying files from shell to network drive.





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author copying files from shell to network drive.
thor

2007-01-24, 7:19 pm

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.

Bill Marcum

2007-01-24, 7:19 pm

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.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com