Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possibly to run a rdiff-backup to an existing old plain tree copy of the files to backup? What options should be used?

share|improve this question

migrated from Jan 21 '12 at 13:52

This question came from our site for professional and enthusiast programmers.

up vote 2 down vote accepted

I know the question is pretty old, but it came up in my search for this exact same thing.

I've found out [1] [2] that you can simply call:

rdiff-backup --force source/ dest/

and rdiff-backup will create the necessary checksumming/data files it needs to convert a plain mirror to an rdiff-backup destination.

share|improve this answer
Sounds good! As I am not using rdiff-backup in daily procedure now, may I ask if you tried this successfully? – dronus Oct 17 '13 at 22:17
@dronus: Yes. I tried it shortly after posting this and it worked fine. – jáquer Oct 22 '13 at 5:21

It sounds like what you're describing is rsync(1). I don't know how rdiff is different from a rsync, but I know that rsync only needs either (1) an rsync daemon listening on the remote system, tcp/873 by default, or (2) an ssh daemon listening on the remote system, tcp/22 by default. There may also be other ways of connecting the system.

share|improve this answer
rdiff seems to be based on rsync, and rsync can be used to sync two directories. However, rdiff-backup stores versionated backups, and uses its special metadata therefore. The question was how to make an existing simple copied backup rdiff-backup compatible without copying the whole data again. Maybe its not possible as rdiff-backup collects information while copying (checksums / hashes or soemthing else). – dronus Jan 24 '12 at 11:26

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.