Document ~/.ssh/config support for remote backups

This commit is contained in:
Fuxino
2026-10-21 22:31:36 +02:00
parent dc50ef1b07
commit db4059ff36
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -69,6 +69,7 @@ The only rsync error that is ignored is return code 24 (source files vanished du
It's possible to use a remote server as destination for the backup. Just use the --ssh-user and --ssh-host arguments (or set them in the configuration file).
Both are required: if only one of them is set, simple_backup exits with an error.
For this to work, rsync must be installed on the server too.
The host can be an alias from `~/.ssh/config`: its HostName, Port and IdentityFile are used (ProxyJump and ProxyCommand are not supported).
The output directory is a path on the server. A leading '~' and relative paths refer to the user's home directory on the server.
On the command line, quote '~' so that your local shell doesn't expand it: