forked from borgbackup/borg
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request borgbackup#8371 from AfroThundr3007730/AfroThundr3…
…007730/issue8361 Update repository URLs in docs to use new syntax
- Loading branch information
Showing
3 changed files
with
17 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -81,7 +81,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 | ||
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 | ||
``<user>@<host>:<repo>``. | ||
``ssh://<user>@<host>/./<repo>``. | ||
|
||
.. note:: The setup above ignores all client given commandline parameters | ||
which are normally appended to the `borg serve` command. | ||
|
@@ -93,21 +93,21 @@ The client needs to initialize the `pictures` repository like this: | |
|
||
:: | ||
|
||
borg init [email protected]:pictures | ||
borg init ssh://[email protected]/./pictures | ||
|
||
Or with the full path (should actually never be used, as only for demonstrational purposes). | ||
The server should automatically change the current working directory to the `<client fqdn>` folder. | ||
|
||
:: | ||
|
||
borg init [email protected]:/home/backup/repos/johndoe.clnt.local/pictures | ||
borg init ssh://[email protected]/home/backup/repos/johndoe.clnt.local/pictures | ||
|
||
When `johndoe.clnt.local` tries to access a not restricted path the following error is raised. | ||
John Doe tries to backup into the Web 01 path: | ||
|
||
:: | ||
|
||
borg init [email protected]:/home/backup/repos/web01.srv.local/pictures | ||
borg init ssh://[email protected]/home/backup/repos/web01.srv.local/pictures | ||
|
||
:: | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters