borg/docs/deployment
Thomas Waldmann f144bac320
remove --rsh option, use BORG_RSH
Like --remote-path, --rsh was only honoured on the legacy (borg 1.x, ssh://)
code path. For borg2 repositories the remote shell command comes from
borgstore, which reads its own BORGSTORE_RSH environment variable, so --rsh
silently had no effect there.

Remove the option; BORG_RSH is now the only way to set the remote shell
command. For borgstore-based repositories, borg gives the BORG_RSH value to
borgstore as BORGSTORE_RSH, except if that was set explicitly (then the user
wants a different command for borgstore).

borg benchmark crud does not need to inherit --rsh / --remote-path into its
sub-invocations any more (environment variables are inherited anyway), so the
parse_args wrapper is gone.
2026-07-24 23:10:50 +02:00
..
automated-local.rst fixed typos and grammar (AI) 2025-09-23 14:56:23 +02:00
central-backup-server.rst remove ssh:// and socket:// remote repository for current repos 2026-06-08 08:04:59 +02:00
hosting-repositories.rst fixed typos and grammar (AI) 2025-09-23 14:56:23 +02:00
image-backup.rst fixed typos and grammar (AI) 2025-09-23 14:56:23 +02:00
non-root-user.rst fixed typos and grammar (AI) 2025-09-23 14:56:23 +02:00
pull-backup.rst remove --rsh option, use BORG_RSH 2026-07-24 23:10:50 +02:00