Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 06-11-2004, 06:57 PM   #1
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
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
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.


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 > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:17 PM.

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