소스 검색

Merge pull request #8377 from AfroThundr3007730/AfroThundr3007730/issue8361

Update repository URLs in docs to use new syntax
TW 8 달 전
부모
커밋
c278a8e859
2개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. 4 4
      docs/deployment/central-backup-server.rst
  2. 1 1
      docs/faq.rst

+ 4 - 4
docs/deployment/central-backup-server.rst

@@ -82,7 +82,7 @@ The options which are added to the key will perform the following:
 Due to the ``cd`` command we use, the server automatically changes the current
 Due to the ``cd`` command we use, the server automatically changes the current
 working directory. Then client doesn't need to have knowledge of the absolute
 working directory. Then client doesn't need to have knowledge of the absolute
 or relative remote repository path and can directly access the repositories at
 or relative remote repository path and can directly access the repositories at
-``<user>@<host>:<repo>``.
+``ssh://<user>@<host>/./<repo>``.
 
 
 .. note:: The setup above ignores all client given commandline parameters
 .. note:: The setup above ignores all client given commandline parameters
           which are normally appended to the `borg serve` command.
           which are normally appended to the `borg serve` command.
@@ -94,21 +94,21 @@ The client needs to initialize the `pictures` repository like this:
 
 
 ::
 ::
 
 
- borg init backup@backup01.srv.local:pictures
+ borg init ssh://backup@backup01.srv.local/./pictures
 
 
 Or with the full path (should actually never be used, as only for demonstration purposes).
 Or with the full path (should actually never be used, as only for demonstration purposes).
 The server should automatically change the current working directory to the `<client fqdn>` folder.
 The server should automatically change the current working directory to the `<client fqdn>` folder.
 
 
 ::
 ::
 
 
-  borg init backup@backup01.srv.local:/home/backup/repos/johndoe.clnt.local/pictures
+  borg init ssh://backup@backup01.srv.local/home/backup/repos/johndoe.clnt.local/pictures
 
 
 When `johndoe.clnt.local` tries to access a not restricted path the following error is raised.
 When `johndoe.clnt.local` tries to access a not restricted path the following error is raised.
 John Doe tries to back up into the Web 01 path:
 John Doe tries to back up into the Web 01 path:
 
 
 ::
 ::
 
 
-  borg init backup@backup01.srv.local:/home/backup/repos/web01.srv.local/pictures
+  borg init ssh://backup@backup01.srv.local/home/backup/repos/web01.srv.local/pictures
 
 
 ::
 ::
 
 

+ 1 - 1
docs/faq.rst

@@ -147,7 +147,7 @@ Try using ``borg mount`` and ``rsync`` (or a similar tool that supports
 resuming a partial file copy from what's already copied).
 resuming a partial file copy from what's already copied).
 
 
 How can I switch append-only mode on and off?
 How can I switch append-only mode on and off?
------------------------------------------------------------------------------------------------------------------------------------
+---------------------------------------------
 
 
 You could do that (via borg config REPO append_only 0/1), but using different
 You could do that (via borg config REPO append_only 0/1), but using different
 ssh keys and different entries in ``authorized_keys`` is much easier and also
 ssh keys and different entries in ``authorized_keys`` is much easier and also