Take the 2-minute tour ×

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

1 Answer 1

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


