Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-25-2008, 08:01 PM   #1
LQ Newbie
Registered: Jul 2008
Posts: 1

Rep: Reputation: 0
How do I only backup the difference?

It takes me too much time to backup my project source code and documents every day. Is there any easy way to backup only the difference from previous backup? I am using Fedora 9.
Old 11-25-2008, 08:27 PM   #2
Registered: Jul 2008
Location: Northern CA USA
Distribution: Ubuntu, Slackware, Gentoo, Fedora, Red Hat, Puppy Linux
Posts: 370

Rep: Reputation: 35
rsync has an archive mode (-a, --archive archive mode; equals -rlptgoD (no -H,-A,-X))
which makes a copy of the file(s). The next time the rsync command is run with the '-a, --archive' flag set only the files which have been changed since the last copy will be copied.
Old 11-25-2008, 08:50 PM   #3
Registered: Dec 2005
Location: Oregon
Distribution: Debian Testing
Posts: 488

Rep: Reputation: 38
Take a look at rsnapshot. It handles differential backups very efficiently - based on the rsync engine.
Old 11-25-2008, 09:01 PM   #4
Senior Member
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375

Rep: Reputation: 217Reputation: 217Reputation: 217
Since you mention "source code", might I suggest revision control software(RCS) of some sort?



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
shell script to find the difference betwwn two file and place the difference to other kittunot4u Linux - General 3 07-19-2010 04:26 AM
LXer: Automatic backup for sporadically connected clients with Box Backup LXer Syndicated Linux News 0 08-29-2008 08:40 PM
What is the difference between filesystem backup and a server image? ShaqDiesel Red Hat 1 08-29-2008 04:43 AM
Backup system ala rdiff-backup, but without mirror and with dst encryption dr_dex Linux - Software 0 08-04-2008 03:39 AM
Every sunday running difference backup job. kwingng Linux - Server 2 05-01-2007 10:01 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:06 AM.

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
Open Source Consulting | Domain Registration