docs: borg expects --rsh, not -rsh

This commit is contained in:
Joachim Breitner 2023-02-17 12:01:14 +01:00 committed by Bjørn Forsman
parent ff4c0a140b
commit 20c135b191

View file

@ -128,7 +128,7 @@ To backup your home directory to borgbase you have to:
- Initialize the repository on the server. Eg. - Initialize the repository on the server. Eg.
sudo borg init --encryption=repokey-blake2 \ sudo borg init --encryption=repokey-blake2 \
-rsh "ssh -i /run/keys/id_ed25519_borgbase" \ --rsh "ssh -i /run/keys/id_ed25519_borgbase" \
zzz2aaaaa@zzz2aaaaa.repo.borgbase.com:repo zzz2aaaaa@zzz2aaaaa.repo.borgbase.com:repo
- Add it to your NixOS configuration, e.g. - Add it to your NixOS configuration, e.g.