LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 06-11-2004, 06:57 PM   #1
synecdoche
Member
 
Registered: Jul 2003
Location: British Columbia, Canada
Distribution: CollegeLinux 2.5
Posts: 148

Rep: Reputation: 15
Automatic backup over LAN


Hi-- A friend recently gave me an old P2-450 that he wasn't using, and I am going to put Linux on it (my other system runs Win2K). I've used linux a bit and am a bit beyond a newbie, but hardly an expert.

Anyway, what I want to do with this is run the Linux computer all the time and then set it up to automatically grab certain folders from the Windows machine to back them up. I'm sure there is a simple way to do this; can anyone tell me how? I imagine there is some sort of FTP command that can do it, or maybe a CRON job?

I've never explored CRON before.

Anyway, I haven't put Linux on the p450 yet, but I am currently downloading Knoppix as I want to give it a try.

Thanks for any and all help.
 
Old 06-12-2004, 01:21 AM   #2
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
This can be setup pretty quickly. If I lose you anywhere here, let me know, and I can elaborate more, but this should give you the general idea.

You would share whatever directories you wanted to backup on the Windows 2000 machine using Window's standard File Sharing service, and have your Linux system mount them at boot (with /etc/fstab). You will need to have SMBFS support in your kernel (most distro's do) for this.

Then, make a simple script that uses rsync to synchronize the mount points of the shared directories to directories on the local Linux machine, and put that in as an hourly cron job (or maybe daily).

Now your Linux machine will synchronize it's own backups with the files on your Windows 2000 machine as often as you specify.

You might then want to look into a cheap tape drive, which you can setup to have all of the backups copied to every day or two.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatic backup of specified directories? Spreegem Debian 3 07-28-2005 11:08 PM
Automatic switching between LAN and WLAN chrismic Linux - Wireless Networking 0 12-19-2004 07:38 PM
Automatic Backup? Mirra? naloxone Linux - Software 0 04-28-2004 04:27 AM
I need my LAN users to access the internet using automatic configuratin script on RH9 akohamen Linux - Networking 1 04-20-2004 03:09 PM
Automatic Backup Usiag taper?? ptom98 Linux - Software 0 07-31-2003 09:39 AM


All times are GMT -5. The time now is 07:32 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration