-
-
Notifications
You must be signed in to change notification settings - Fork 808
Open
Milestone
Description
status quo (borg2 / master branch)
for borg2, we already have implemented splitting Location URLs like ssh://server:port/path/to/repo::archive into:
- repo location
ssh://server:port/path/to/repo - separate
archivename (as a positional parameter or-a ...matching pattern).
when working on socket support #6183 and #7615, another problem in the repo location part came up:
while a ssh user / server / port spec can be nicely combined with a repo path inside one repo URL,
it would be somehow ugly and confusing if we have to combine a UNIX domain socket path and a repo path inside one repo URL:
ssh://server:port/path/to/reposocket:///path/to/socket::/path/to/repo(UNIX domain socket at/path/to/socket) ugly / confusingsocket://server:port/path/to/repo(later maybe: TCP socket toserver:port)
split it again!? (for borg2)
maybe it would be better to just split server and repo spec, like borg --server=... --repo=...:
--server=builtin(default: no client/server, direct access to local filesystem)--server=ssh://user@host:port(client/server, server is at this location, use ssh or whatever--rshgave to connect)--server=socket:///path/to/socket(client/server, use a UNIX domain socket at/path/to/socket)--server=socket(client/server, use a UNIX domain socket at the default location)--server=socket://host:port(client/server, use a TCP socket connection tohost:port, later maybe)
in the client/server cases, --repo would just give a spec for the repo which borg serve can deal with (currently this would be just the repo fs path from the perspective of borg serve).
Metadata
Metadata
Assignees
Labels
No labels