From 27ca97884c570927cd5966a4248222e1901e4aaf Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Tue, 29 Apr 2025 23:08:14 +0200 Subject: [PATCH] docs: borg serve --repo is not supported, #8591 --- src/borg/archiver/serve_cmd.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/borg/archiver/serve_cmd.py b/src/borg/archiver/serve_cmd.py index 796e5bf2e..6e6c410fa 100644 --- a/src/borg/archiver/serve_cmd.py +++ b/src/borg/archiver/serve_cmd.py @@ -33,6 +33,10 @@ class ServeMixIn: - Getting started by some other means (not by the borg client) as a long-running socket server to be used for borg clients using a socket://... repository (see the `--socket` option if you do not want to use the default path for the socket and pid file). + + Please note that `borg serve` does not support giving a specific repository via the + `--repo` option or `BORG_REPO` environment variable. It is always the borg client which + specifies the repo to use when talking to `borg serve`. """ ) subparser = subparsers.add_parser(