Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 07-30-2004, 07:38 PM   #1
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736

Rep: Reputation: 31
Backups with rdiff - how different from rsync?

I was looking at the howto found here:

If anyone knows anything about using rdiff, I'd like your input because I'm curious about how this works, exactly. I'm currently using rsync for my backups and I'm wondering how the 2 compare.

Since rdiff does backups that include version history, does that mean if I were to ls -l into the backup directory, I would see additional folders that contain the version history? Can somebody show me what this might look like?

My deal is... I don't think I want to use the restore commands provided in rdiff to do my file restorations. I want the ability to just mv a large block of data to another spot. Can I do that if my backups are made with rdiff? Or will I be copying a bunch of old revisions too?

Thanks in advance.
Old 07-30-2004, 10:54 PM   #2
Registered: Jul 2003
Distribution: Slackware
Posts: 392

Rep: Reputation: 55
Your backup directory will be the same as the source directory at the time rdiff-backup was last run with one exception--a directory called "rdiff-backup-data" will be in the backup directory.

You can use cp or cpio to restore files to the state the source directory was in when rdiff-backup was last run; you'll have to omit the rdiff-backup-data directory to avoid copying a bunch of old revisions. You have to use rdiff-backup itself to restore to previous states.

Hope that helped,


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
getting an old version from CVS - rdiff? BrianK Programming 6 04-22-2010 11:41 AM
rsync and cp -al for staggered backups babyphil Linux - Software 2 06-14-2005 12:24 AM
Rsync backups - how not to backup TV recordings jamespetts Linux - Software 0 11-20-2004 12:15 PM
Windows Rsync Upload to Linux Rsync - permissions inspleak Linux - Software 0 10-12-2004 02:49 PM
Rsync for incremental backups? Phaethar Linux - Software 3 12-04-2003 01:27 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:14 PM.

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