Operating System - HP-UX
1753767 Members
5892 Online
108799 Solutions
New Discussion юеВ

File transfer from HP UNIX server to NAS box.

 
SOLVED
Go to solution
jeevarajkn
Frequent Advisor

File transfer from HP UNIX server to NAS box.

Hi Guru's


Server-HPUX IA-11.23


I want to transfer some files from HPUX server to NAS box in weekly basis automatically.Back hand for NAS box is linux server.


Please let me know all the possibilities on this.quick response highly appreciable.


Reg
Jeevaraj.
7 REPLIES 7
Ganesan R
Honored Contributor

Re: File transfer from HP UNIX server to NAS box.

Hi,

Mount the NAS box filesystem on HP-UX server as NFS mount then schedule a crontab to do the file transfer on weekly basis.

You can also consider rsync to do the file transfer.
Best wishes,

Ganesh.
Steven E. Protter
Exalted Contributor
Solution

Re: File transfer from HP UNIX server to NAS box.

Shalom,

Edit /etc/exports on the Linux(NAS) box.

exports -av

showmount -e host_name_linux

That will show you the shares.

You can use automounter or a simple mount -t nfs to mount, cp command to copy the files then umount to close the mount.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Zinky
Honored Contributor

Re: File transfer from HP UNIX server to NAS box.

Many other possibilities sir if you do not want to go the CIFS (aka SMB) or NFS approach. TO wit:

rsync
ftp
scp
rcp
smbclient

Pick one.
Hakuna Matata

Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
Vijaykumar_1
Valued Contributor

Re: File transfer from HP UNIX server to NAS box.

Hi Jeeva,

The standard method of doing it is in the steps below..

Steps to configure:

1. Share the FS on the NAS box

2. Mount it on the HP_UX box as NFS or autofs

3. Create a simple script to copy the files to the destination directory, adn schedule it to occur every week on the desired date

Hope this would do...
jeevarajkn
Frequent Advisor

Re: File transfer from HP UNIX server to NAS box.

Dear Guru,s

Sorry for delay in responds and for confusing.My NAS box is connected to windows server not o linux.

Any way I have tried(In test machine) with CIFSmount(Samba) and its working fine.But in production server Iam not sute that will get permission to enable Samba.


Because of this am planning for the SSH password less authentication file transfer using SCP. I know how to configure the same between two UNIX boxes, but want GURU's help to configure the same between UNIX box and windows server.


Please help me to sort it out.


Thanks

Jeevaraj
avizen9
Esteemed Contributor

Re: File transfer from HP UNIX server to NAS box.

if you have both (source & destination) in linux/unix use rsync

if you have both (source & destination) in windows use robocopy

jeevarajkn
Frequent Advisor

Re: File transfer from HP UNIX server to NAS box.

Thanks to all, am closing the case.