Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-18-2008, 12:13 PM
|
#1
|
Member
Registered: Jun 2005
Location: Boston, USA
Distribution: Gentoo, CentOS
Posts: 82
Rep:
|
Suggestions for Incremental Backup System on CentOS (ZFS, ext3cow, wayback...?)
I'm trying to figure out the best fit for doing incremental backups of project and server data on CentOS 5. Specifically, I'm looking for something that supports easy incremental backups at the filesystem level (something lower-level than a versioning system like CVS or Subversion, but not so heavy-duty as full, separate backups (we're looking at using AMANDA for that)). There are a couple of candidates, but I wanted to see if anybody has experience with these issues first:
ZFS looks like it would be good, but the FUSE implementation has some limits on how snapshots are handled, among other things. ext3cow would be perfect, but as far as I can tell it requires a patched kernel of a very specific version, which sounds pretty annoying to manage on CentOS. The lack of fsck, etc. also kind of scares me. Finally, Wayback looks OK too, but is it still actively developed? These were the best systems out of the ones I found, but they all look like pretty small, academic projects. Not necessarily bad, but it makes me a bit nervous not to use something more fully-developed.
I've read plenty about them, but haven't found much in the way of responses from users. Does anybody have any stories about these tools (or others!), good or bad?
|
|
|
11-19-2008, 06:43 AM
|
#2
|
Senior Member
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109
Rep:
|
I use rsync, with a nifty hard link trick, to do incremental backups. No need for extra software either:
http://www.mikerubel.org/computers/rsync_snapshots/
Works great.
Dave
|
|
|
11-19-2008, 07:29 AM
|
#3
|
Member
Registered: Jun 2005
Location: Boston, USA
Distribution: Gentoo, CentOS
Posts: 82
Original Poster
Rep:
|
Thanks Dave, that looks very promising! I didn't realize rsync had all that functionality built in. This might be exactly what I need. Do you happen to know if the mount --bind option he mentions for 2.4 series kernels has a workaround in modern versions? (ie, mounting read-only in one place and read-write in another). It looks like the direct approach won't work (the man page for mount on my home computer, with 2.6.25, explicitly says the --bind option can't do it), but maybe there is a different solution? It would be nice to avoid an unneeded layer of NFS, though I guess if I end up using a dedicated backup machine in the future I'll want it anyway. Anyway, thanks!
|
|
|
11-19-2008, 07:43 AM
|
#4
|
Senior Member
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109
Rep:
|
I've got the same warning in my mount man page, so I'm going to assume it's not do-able. I generally do backups as root to a directory that's chmod 700 so normal users can't even see the backups, so I've never really thought about read-only access to the backed up data. NFS seems like a decent way of doing this, though.
Dave
|
|
|
11-19-2008, 10:06 AM
|
#5
|
Member
Registered: Jun 2005
Location: Boston, USA
Distribution: Gentoo, CentOS
Posts: 82
Original Poster
Rep:
|
OK! I think I've found a workaround for the ZFS FUSE limitation on snapshots, so I'm still on the fence between that and this rsync method. This has the very big plus of being completely standard and portable, though. Whether or not we end up setting up a dedicated backup box is definitely a factor... If we do, I think I'll almost certainly use the rsync method along with NFS or something similar. So anyway, I think I can finally start getting somewhere on this, so thanks again!
|
|
|
All times are GMT -5. The time now is 02:40 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|