LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 04-28-2010, 06:54 AM   #1
athomas
Member
 
Registered: May 2009
Location: Eastern Shore, MD, USA
Distribution: CentOS 5.5
Posts: 184

Rep: Reputation: 15
CentOS 5.4 Backup Software Needed


I need to backup one folder from a server. Right now I have a cron job setup to tar/gz the file and copy it to an external drive, which works. But I want to have incremental backups setup, and just copy all the files - not tarball the whole thing. Can somebody recommend a free piece of software that I can accomplish this with? Again, I'm on CentOS 5.4.

I'll answer any more questions if I need to.
 
Old 04-28-2010, 06:58 AM   #2
linuxunix
Member
 
Registered: Mar 2010
Location: California
Distribution: Slackware
Posts: 235

Rep: Reputation: 18
Use Rsync

Example: http://rsync.samba.org/examples.html
 
Old 04-28-2010, 07:17 AM   #3
athomas
Member
 
Registered: May 2009
Location: Eastern Shore, MD, USA
Distribution: CentOS 5.5
Posts: 184

Original Poster
Rep: Reputation: 15
Yeah that's what I was thinking of doing. How's this look:

rsync -ar /path/to/directory /path/to/backupdrive
 
Old 04-28-2010, 07:22 AM   #4
athomas
Member
 
Registered: May 2009
Location: Eastern Shore, MD, USA
Distribution: CentOS 5.5
Posts: 184

Original Poster
Rep: Reputation: 15
Sorry, forgot to add this in... I need if possible to be able to go back and restore a file from a certain date. Is this possible with any free software? Storage space is not an issue.
 
Old 04-28-2010, 07:52 AM   #5
nuwen52
Member
 
Registered: Feb 2009
Distribution: Debian, CentOS 5, Gentoo, FreeBSD, Fedora, Mint, Slackware64
Posts: 208

Rep: Reputation: 46
It's just one directory you need to backup? This might be completely opposite of what you need. But, what about using a revision control system? You could use subversion to keep track of the directory. That would allow you to restore a given version. Also, you could store the revision database on the alternate drive. In revision control, it only does deltas on the files anyway. Also, you could write an automated script to check in all the files every night (if there are changes).

Just a thought.
 
Old 04-28-2010, 07:59 AM   #6
athomas
Member
 
Registered: May 2009
Location: Eastern Shore, MD, USA
Distribution: CentOS 5.5
Posts: 184

Original Poster
Rep: Reputation: 15
It's running subversion 1.4(ish) but I want to backup the whole /home/subversion/* directory.
 
Old 04-28-2010, 08:31 AM   #7
choogendyk
Senior Member
 
Registered: Aug 2007
Location: Massachusetts, USA
Distribution: Solaris 9 & 10, Mac OS X, Ubuntu Server
Posts: 1,197

Rep: Reputation: 105Reputation: 105
There are a lot of tools that are based on rsync and that handle incremental backups by way of snapshots. The classic howto is http://www.mikerubel.org/computers/rsync_snapshots/. Now you can get various packages or scripts that take care of all that detail and more. Some examples include

http://rsnapshot.org/,
http://www.ubuntugeek.com/flyback-sn...-on-rsync.html,
http://www.zmanda.com/backuppc.html,
http://blog.interlinked.org/tutorial...e_machine.html,

or the conceptually related http://rdiff-backup.nongnu.org/.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
GUI Based CENTOS free Backup software arghyadas Linux - Software 6 04-09-2010 09:56 PM
Backup software that can backup symbolic links Geert86 Linux - Software 2 01-20-2010 06:10 PM
Windows Backup Software (diff backup without archive bit) nkhajanchi.mg@gmail.com Linux - Software 4 09-09-2009 09:29 AM
Backup Software that runs on CentOS and backs up Linux and Windows sstory Linux - Enterprise 31 06-01-2009 07:00 AM
What to backup when changing from fc8 to centos 5.1 gfem Fedora 3 02-29-2008 07:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:58 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