Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

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

I'm running the following command:

rdiff-backup --remote-schema '%s' 'sudo /usr/bin/rdiff-backup --server \
    --restrict-read-only /'::/etc /var/backups/hosts/derp

It's backing up /etc from localhost and putting it in /var/backups/hosts/derp just fine. I can scarcely imagine it working better, but I have no idea how to get this to run and pull the files from another host. Maybe I'm just being silly and assuming that the remote part in --remote-schema actually means remote.

share|improve this question

You can specify the source and destination with user@host:/folder style. From the man page of rdiff-backup:

rdiff-backup      [options]      [[[user@]host1.foo]::source_directory]

And --remote-schema refers to the type of connection to the remote host -- ssh by default.

share|improve this answer

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.