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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Backup Linux DIR to windows via NFS

Status
Not open for further replies.

montyzummer

IS-IT--Management
Oct 6, 2010
2,999
GB
Hi all,

I have the requirement to back up a specific dir on a red hat box to a windows 2012 server ,

Essentially I have a manufacturers application running on the Linux , the application creates weekly backups and stores them in the same directory on the Linux OS , as the title suggests I would like to be able to utilise NFS to get the backups on the windows box.

Thus far I have got as far as preparing what I think is correct , in that the windows machine is in the host file so I can utilise dns , on the windows drive it has read write permissions , so my question is do I just need to mount the file path in Linux that the current back ups are written to , by going down the road of

Mount mywindowsservername/Linux file path of current backup directory

Where the above is obviously the "mount" command followed by the host name of the windows machine and the local path of the application backup , I do have root privelages , but I'm dubious that I'm anywhere near accurate as that seems too simple , I want the current location on Linux to be permanently mounted as a nfs on the windows machine.

Any assistance would be much appreciated.

ACSS (UC/SBCE/SM/SME)

Not that they mean a thing anymore , get a brain dump pass the test crash the system.
 
Hi montyzumer,

I backup CMS to NFS (but on a linux box, not windows).

On CMS:

cd /mnt
mkdir backups
chmod 777 backups

Add this line to /etc/fstab
10.2.x.x:/NFS/CMS /mnt/backups nfs rw,bg,soft,intr,retry=10,vers=3
(Ip address of NFS Server:path on server, local path)

mount /mnt/backups
 
Maybe your Linux system has "samba"

man samba



A great teacher, does not provide answers, but methods to teach others "How and where to find the answers"

bsh

40 years Bell, AT&T, Lucent, Avaya
Tier 3 for 30 years and counting
[URL unfurl="true"]http://bshtele.com[/url]
 
Cheers boys all sorted.

ACSS (UC/SBCE/SM/SME)

Not that they mean a thing anymore , get a brain dump pass the test crash the system.
 
montyzummer, what was the solution that worked for you?

"But thanks be to God, which giveth us the victory through our Lord Jesus Christ." 1 Corinthians 15:57
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top