LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-23-2010, 08:39 PM   #1
dman65
Member
 
Registered: Sep 2003
Posts: 61

Rep: Reputation: 15
A question about backing up


I have a file server that currently has 2.5 million files on it. We add about 1,000 per day and notations can be made on any number of other documents. The server is accessed by mostly Windows clients over samba.

The files are on a RAID 10 array. From there I copy them to a stand by computer in the server room and also to a server in an off site facility.

The problem I have is that currently the process of running the find command to find any of the files that have changed in the past day takes several hours and that does not include the time to then copy the files to the other servers.

I am currently considering dropping the use of samba and making my own socket based solution so I can keep track of the files that are written to throughout the day and instead of backing up to the stand by and offsite servers overnight, back them up as they are modified. But before I go to the effort of doing that, I wanted to see if anyone knew of something I might be missing that would be simpler to implement.

Thanks for any input.
 
Old 10-24-2010, 01:26 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Quote:
Originally Posted by dman65 View Post
I have a file server that currently has 2.5 million files on it. We add about 1,000 per day and notations can be made on any number of other documents. The server is accessed by mostly Windows clients over samba.

The files are on a RAID 10 array. From there I copy them to a stand by computer in the server room and also to a server in an off site facility.

The problem I have is that currently the process of running the find command to find any of the files that have changed in the past day takes several hours and that does not include the time to then copy the files to the other servers.

I am currently considering dropping the use of samba and making my own socket based solution so I can keep track of the files that are written to throughout the day and instead of backing up to the stand by and offsite servers overnight, back them up as they are modified. But before I go to the effort of doing that, I wanted to see if anyone knew of something I might be missing that would be simpler to implement.

Thanks for any input.
Hello,

I've had very good results with Unison File Synchronizer. It's worth checking it out for what concerns your needs I believe. It'll work a lot faster and better then using a find command. Another advantage is that you wouldn't have to run it once a day, you can keep your copies synchronized automatically (excluding conflicting files) several times a day, in an hour, and so on. Only the first run will take some time in your setup (millions of files) but after that it'll run fast without consuming lots of resources and / or bandwith.

Kind regards,

Eric
 
  


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
question about backing up data newbiesforever Linux - General 4 11-01-2009 01:37 AM
Totally newbie Question on backing up a server Franko25 Linux - Server 5 01-19-2009 06:04 AM
Question about backing up home directory IndyGunFreak Ubuntu 2 02-04-2007 01:19 AM
Backing Up RH 6.1 Lilbudha Red Hat 1 05-20-2005 06:12 AM
Backing up /etc. Gag Halfrunt Linux - Newbie 1 12-05-2004 03:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:12 PM.

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