Commit 6f027112 authored by bescoto's avatar bescoto

Updated man page with remote schema


git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup@457 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
parent cab66691
...@@ -485,10 +485,10 @@ splits the filename into host_info::pathname. It then substitutes ...@@ -485,10 +485,10 @@ splits the filename into host_info::pathname. It then substitutes
host_info into the remote schema, and runs the resulting command, host_info into the remote schema, and runs the resulting command,
reading its input and output. reading its input and output.
.PP .PP
The default remote schema is 'ssh %s rdiff-backup --server' meaning if The default remote schema is 'ssh -C %s rdiff-backup --server' where
the host_info is user@host.net, then rdiff-backup runs 'ssh host_info is substituted for '%s'. So if the host_info is
user@host.net rdiff-backup --server'. The '%s' keyword is substituted user@host.net, then rdiff-backup runs 'ssh user@host.net rdiff-backup
with the host_info. Using --remote-schema, rdiff-backup can invoke an --server'. Using --remote-schema, rdiff-backup can invoke an
arbitrary command in order to open up a remote pipe. For instance, arbitrary command in order to open up a remote pipe. For instance,
.RS .RS
rdiff-backup --remote-schema 'cd /usr; %s' foo 'rdiff-backup rdiff-backup --remote-schema 'cd /usr; %s' foo 'rdiff-backup
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment