From 56fd96589b8caa435ee1b0963329173e4993dfa3 Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Fri, 15 May 2015 18:35:14 +0200 Subject: [PATCH 1/2] docs: make clear that remote repos used via ssh need a remote borg --- docs/usage.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/usage.rst b/docs/usage.rst index 7ae76e6a2..ad536a48f 100644 --- a/docs/usage.rst +++ b/docs/usage.rst @@ -24,7 +24,7 @@ Examples # Local repository $ borg init /mnt/backup - # Remote repository + # Remote repository (accesses a remote borg via ssh) $ borg init user@hostname:backup # Encrypted remote repository From afc2dab71e894cd0aa78bfd698acfd1aff5f595b Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Fri, 15 May 2015 19:22:52 +0200 Subject: [PATCH 2/2] docs: more borg (or project_name) --- docs/quickstart.rst | 6 +++--- docs/usage.rst | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/quickstart.rst b/docs/quickstart.rst index b4273167c..d0881fb95 100644 --- a/docs/quickstart.rst +++ b/docs/quickstart.rst @@ -146,10 +146,10 @@ or:: Remote operations over SSH can be automated with SSH keys. You can restrict the use of the SSH keypair by prepending a forced command to the SSH public key in the remote server's authorized_keys file. Only the forced command will be run -when the key authenticates a connection. This example will start attic in server -mode, and limit the attic server to a specific filesystem path:: +when the key authenticates a connection. This example will start |project_name| in server +mode, and limit the |project_name| server to a specific filesystem path:: - command="attic serve --restrict-to-path /mnt/backup" ssh-rsa AAAAB3[...] + command="borg serve --restrict-to-path /mnt/backup" ssh-rsa AAAAB3[...] If it is not possible to install |project_name| on the remote host, it is still possible to use the remote host to store a repository by diff --git a/docs/usage.rst b/docs/usage.rst index ad536a48f..971a467b9 100644 --- a/docs/usage.rst +++ b/docs/usage.rst @@ -175,8 +175,8 @@ Examples ~~~~~~~~ :: - # Allow an SSH keypair to only run attic, and only have access to /mnt/backup. + # Allow an SSH keypair to only run |project_name|, and only have access to /mnt/backup. # This will help to secure an automated remote backup system. $ cat ~/.ssh/authorized_keys - command="attic serve --restrict-to-path /mnt/backup" ssh-rsa AAAAB3[...] + command="borg serve --restrict-to-path /mnt/backup" ssh-rsa AAAAB3[...]