LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-08-2002, 08:51 PM   #1
lowly_tech
Member
 
Registered: May 2001
Posts: 34

Rep: Reputation: 15
Linux Backup Batch question


I have a customer that has a network of about 25 workstations.
All workstations are windows98, they have a NT4 Server and Novell 3x. They had two drives crash in a RAID on the NT server and lost all their data several weeks ago. What they want is an on-line backup drive kinda like NAS. They have a PII 450MHz that they would like to put 100GB hard drive in to act as an on-line backup in addition to their DAT. My question is this. I wanted to setup Linux with SAMBA to accompolish this mapping a drive to one 98 workstation and have them click on a batch file to copy from NT to Linux. However they want the Backup box to automatically copy from the NT server. Unfortunatly I am mainly familiar with windows/DOS as an operating system. can you make a batch like file to copy from an NT server to the Linux box from Linux and schedual it to run every night at 4am?

Breakdown...
Need Linux box to map or see NT4 server and copy c,d,e,f drives to local drive on linux box, and have it automatically run on a schedual.

Any help would be appricated.

Jamie
 
Old 01-09-2002, 08:13 AM   #2
theFuzzyOne
Member
 
Registered: Dec 2001
Distribution: redhat
Posts: 154

Rep: Reputation: 30
short answer: yes

you can automount shares (once you configure proper access) from the linux box and write a shell script (like a batch file) and schedule it with cron ('crontab' from the console). Is the NT server a PDC? you may need to configure some user rights to see the shares on the NT box. the rest is easy. check the howto's on www.linuxdoc.org for bash shell scripting, and check the man pages for automounting smb shares.
 
Old 01-09-2002, 04:02 PM   #3
lowly_tech
Member
 
Registered: May 2001
Posts: 34

Original Poster
Rep: Reputation: 15
thank you

Thanks for your help. The workstations do have to login to the NT
domain. Does that qualify for a PDC? I will check out that web site and try my best. I am not at the point of currently working on this but I am sure in several days they are going to want it done. I was just trying to get a head start.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
script batch linux cetoute14 Linux - General 5 09-02-2005 07:37 PM
linux startup mysql as user question and backup questions... eyewittness Linux - Software 1 07-21-2005 12:26 PM
Linux batch files denizen Linux - Newbie 3 07-28-2004 03:56 AM
Batch rename question hellblade Linux - Software 4 05-03-2004 03:57 PM
Batch Question hornet74 Linux - General 2 02-02-2004 04:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration