LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-30-2004, 08:38 PM   #1
Donboy
Member
 
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:

http://rdiff-backup.stanford.edu/examples.html

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, 11:54 PM   #2
lyle_s
Member
 
Registered: Jul 2003
Distribution: Slackware
Posts: 388

Rep: Reputation: 52
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,
Lyle
 
  


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


All times are GMT -5. The time now is 04:44 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration