LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Linux Backup Batch question (https://www.linuxquestions.org/questions/linux-newbie-8/linux-backup-batch-question-11384/)

lowly_tech 01-08-2002 08:51 PM

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

theFuzzyOne 01-09-2002 08:13 AM

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.

lowly_tech 01-09-2002 04:02 PM

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.


All times are GMT -5. The time now is 02:54 AM.