LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 12-23-2004, 08:40 PM   #1
jer2eydevil88
LQ Newbie
 
Registered: Sep 2003
Posts: 19

Rep: Reputation: 0
Linux Server In Office


My Parents have run a small publishing company out of the house my whole life and my interest in computers has coincided with the growth of said company.

This summer was my first summer home from school and I had been taking some server classes at the university. Once home I wanted to apply my new skills so I convinced my Dad that they needed a faster server for storing the large digital files and that I could install this server for very little cost using Linux. Well I did actually it was pretty easy considering this was my first time using Linux as more than a neat gadgetty OS.

Now then the samba share is set up to accept all transactions as the same user with full read write permissions. This may not be the way a real admin would set it up but hey i'm learning and I needed this to work quickly without buying software to tie the server into the windows domain.

The server is running Suse 9.1 Enterprise (Suse sent me the evaluation kit and I'm still using it). The hard drive configuration was a bit hard for me having never had multiple drives in a computer with Linux but here is how it goes.

\ or root is a 37gb WD raptor SATA drive
\wdhda or hard drive A is a 200gb sata drive
\wdhdb or hard drive B is a 200gb sata drive

Now the server is running fine and god help me if I ever have a problem with it because i'm almost totally in the dark when it comes to trouble shooting linux. So that brings me to my problem.

I need to backup the files on Hard Drive A to Hard Drive B! If anyone knows of a good way of doing so using free or inexpensive hardware or software please let me know. I also have a 200gb USB drive that I couldn't make linux recognize so I gave up on using that.

Basically I need guidance here because I do not want this server to not be getting backed up. I should mention that a RAID array to mirror the drives is possible but I have never attempted and would like to make this a last resort as I am afraid of data loss.
 
Old 12-23-2004, 08:43 PM   #2
jer2eydevil88
LQ Newbie
 
Registered: Sep 2003
Posts: 19

Original Poster
Rep: Reputation: 0
I forgot to mention the hardware other than the Hard Drives if that is important let me know.

I also needed to add that the Windows Server not only runs the domain here but its set up as the DHCP, DNS & Active Directory server for the domain. It is currently handling file sharing requests as well for an order keeping utility that runs on all the client workstations for order processing.
 
Old 12-24-2004, 07:37 AM   #3
Builder
Member
 
Registered: Jun 2004
Location: London
Distribution: Red Hat, SuSE, Gentoo
Posts: 80

Rep: Reputation: 15
Re: Linux Server In Office

Quote:
Originally posted by jer2eydevil88

I need to backup the files on Hard Drive A to Hard Drive B! If anyone knows of a good way of doing so using free or inexpensive hardware or software please let me know. I also have a 200gb USB drive that I couldn't make linux recognize so I gave up on using that.

Basically I need guidance here because I do not want this server to not be getting backed up. I should mention that a RAID array to mirror the drives is possible but I have never attempted and would like to make this a last resort as I am afraid of data loss.
You have a couple of choices. You can just synchronise the data between the two machines using rsync. The downside to this is that you overwrite the files each time, so if you damage a file, the backup runs and only then do you realise you need the file, you're scrod.

The biggest problem I have recommending a solution for your problem is the fact that both disks are the same size. In the beginning while you don't have much data, you can do incremental backups to the other disk using something like Bacula (which rocks, by the way ) The problem comes in as time passes and the disk fills up. You'll only have enough space on the other disk for one copy, so you can't go back X days.

The other problem you have is that both disks are in the same machine. If the machine is stolen, catches fire, gets abducted by aliens, etc, you lose both copies of your data. That might not be what you want
 
Old 12-27-2004, 07:09 AM   #4
jer2eydevil88
LQ Newbie
 
Registered: Sep 2003
Posts: 19

Original Poster
Rep: Reputation: 0
Thanks for the ideas,

I know this isn't the ideal corporate system but heh it was budget. I did what I could and plopped as much power and space in as I could. We deal with large files and the old server had only 80gigs that was constantly full. The new server has already accumulated 55gb and has only been operational for 5 months. I expect to upgrade the machine with larger capacity drives but for now I need bi-weekly backups to be taking place.

 
Old 12-27-2004, 12:53 PM   #5
-X-
Member
 
Registered: Oct 2003
Location: Tx,USA
Distribution: Slackware, Red Hat, CentOS
Posts: 495

Rep: Reputation: 30
With the 2 drives and that much data, I would do RAID1, probably software RAID1. Pretty easy to setup. If the data is important, backup on an external drive and store off site.
 
Old 01-02-2005, 05:47 AM   #6
murkster
LQ Newbie
 
Registered: Nov 2004
Posts: 5

Rep: Reputation: 0
Perhaps you could look into tape backups with say DLT, these can store 40 - 80 GB per tape and are quite quick, and the prices are very resonable for second user units on ebay.

TAR/DUMP can be used to backup the required files/directories. e.g. tar -cvf /dev/st0 /etc /var/log

Or you could try installing the drive on the win box, my home system runs that way, I have a permanant fstab entry that links to a share on a win server, and then just copy the required files to the share and back up from there. (Also 2 win xp machines backup to the same machine) although you would need a large amount of disk storage on the windoze box, but this could be an added layer of redundancy....

Some ideas anyway good luck...

 
Old 01-02-2005, 09:51 PM   #7
drbill
LQ Newbie
 
Registered: Sep 2003
Location: High Point, NC
Distribution: Red Hat , CentOS, Peppermint Linux, Linux Mint, , SuSE, Mepis
Posts: 5

Rep: Reputation: 0
What I do is use rsync, as has been suggested before, to a separate hard drive for my data... this keeps it as a fully sync'ed copy (which I run as a cron job every 15 minutes)... then I use tar to back up the data to a directory on the second hard drive every week, so I have a static copy to go back to in case I have a file deleted that I need to restore. Then, I have another cron job that runs a tar copy every month (on the first) that does the same thing... so, I end up with three "copies" of my real data directory... one that is totally kept in sync in "nearly" real time, and two to go back to to find files I may need older copies, or copies when a file was accidently deleted. So far, that has been working for me! (This assumes a LARGE hard drive to keep this many copies of my data... but large IDE drives are cheap these days!
 
  


Reply



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
Why Apache2.0 works on Server & Not On other Nodes in the Office? danfig Linux - Newbie 1 11-10-2004 07:33 PM
MS Office XP calendaring/contacts,etc. w/Red Hat Server rockinsushi Linux - Software 1 11-12-2003 03:15 PM
How to install an Open Office server on Linux ? Centaur81 Linux - Software 3 07-15-2003 05:02 AM
DNS Server for home office with firewall rioguia Linux - Networking 3 12-29-2002 08:05 PM
Opinions please - Which distro for office server ? Justinw Linux - Distributions 9 05-24-2001 08:22 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 10:37 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
Open Source Consulting | Domain Registration