|
@@ -55,9 +55,10 @@ Borg is instructed to restrict clients into their own paths:
|
|
|
``borg serve --restrict-to-path /home/backup/repos/<client fqdn>``
|
|
|
|
|
|
The client will be able to access any file or subdirectory inside of ``/home/backup/repos/<client fqdn>``
|
|
|
-but no other directories. You can allow a client to access several directories by passing multiple
|
|
|
-`--restrict-to-path` flags, for instance: ``borg serve --restrict-to-path /home/backup/repos/<client fqdn>/root --restrict-to-path /home/backup/repos/<client fqdn>/home``,
|
|
|
-or instead simply use `--restrict-to-path` once to restrict the client to ``/home/backup/repos/<client fqdn>/*``.
|
|
|
+but no other directories. You can allow a client to access several separate directories by passing multiple
|
|
|
+`--restrict-to-path` flags, for instance: ``borg serve --restrict-to-path /home/backup/repos/<client fqdn> --restrict-to-path /home/backup/repos/<other client fqdn>``,
|
|
|
+which could make sense if multiple machines belong to one person which should then have access to all the
|
|
|
+backups of their machines.
|
|
|
|
|
|
There is only one ssh key per client allowed. Keys are added for ``johndoe.clnt.local``, ``web01.srv.local`` and
|
|
|
``app01.srv.local``. But they will access the backup under only one UNIX user account as:
|