Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

backup copy etc

Status
Not open for further replies.

flandercan

Technical User
Apr 23, 2003
1
GB
Hi,

I have two identical sun servers, running sun os 5.6 i had the isea of using the second server as a backup to the first. I have looked at ways of copying files from one to the other into identical directorys, but can not mount a drive to the second server? I have tried mount //server/share mnt/sharepoint, but guess i need samba inatlled on the second system?? Is there a better way of doing this rarther than installing samba ???

I would be gratfull for any advise

thanks
Paul
 
Hi,

Couple of ways to copy files from A to B. You can use NFS to mount remote share. Since both machines connected to each other, why not just use rcp or rsync. If you concern with security, tunnel it through ssh.


regards,
feroz
 
You can also use rdist, if scheduled regularly (cron job) the second machine can be kept up to date.
 
Set up your nfs share by editing the /etc/dfs/dfstab to look something like this.


share -F nfs -o rw -d "GIS share" /nas01

then /etc/init.d/nfs.server stop
then /etc/init.d/nfs.server start

then from the second server after you create directory /a

mount server1:/nas01 /a
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top