Skip to content

Commit

Permalink
docs: change error SSH connection
Browse files Browse the repository at this point in the history
  • Loading branch information
MatteoGuadrini committed Jan 13, 2025
1 parent b2c8adc commit f19bad4
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -536,15 +536,15 @@ This is a few examples:
arthur@heartofgold$ bb backup --list /home/arthur/pclist.txt --destination /mnt/backup --data User Config --type MacOS
# host1 SSH-2.0-OpenSSH_7.5
# host1 SSH-2.0-OpenSSH_7.5
error: The port 22 on host2 is closed!
error: The port 22 on host3 is closed!
error: SSH connection failed on host2:22
error: SSH connection failed on host3:22
Start backup on host1
success: Command rsync -ahu --no-links --link-dest=/mnt/backup/host1/2018_08_08__10_30 arthur@host1:/Users :/private/etc /mnt/backup/host1/2018_08_08__10_50
.. important::
Port 22 (OpenSSH standard) is tested in order to verify the reachability of the machine. If the machine is not reachable, an error is generated:
``error: The port 22 on host2 is closed!``
``error: SSH connection failed on host2:22``

This example, is the same as the previous one, with the only difference being that the parallel flag is specified at 2.
This means that maximum two backup jobs will run at the same time. When a first process ends, another one is started.
Expand All @@ -555,8 +555,8 @@ This means that maximum two backup jobs will run at the same time. When a first
arthur@heartofgold$ bb backup --list /home/arthur/pclist.txt --destination /mnt/backup --data User Config --type MacOS --parallel 2 --log
# host1 SSH-2.0-OpenSSH_7.5
# host1 SSH-2.0-OpenSSH_7.5
error: The port 22 on host2 is closed!
error: The port 22 on host3 is closed!
error: SSH connection failed on host2:22
error: SSH connection failed on host3:22
Start backup on host1
success: Command rsync -ahu --no-links --link-dest=/mnt/backup/host1/2018_08_08__10_30 arthur@host1:/Users :/private/etc /mnt/backup/host1/2018_08_08__10_58
Expand All @@ -572,8 +572,8 @@ This is the same example but specifying a retention at 3 (days). This means that
debug: Include this criteria: :/Users :/private/etc
debug: Destination is /mnt/backup/host1/2018_08_08__10_30
Start backup on host1
error: The port 22 on host2 is closed!
error: The port 22 on host3 is closed!
error: SSH connection failed on host2:22
error: SSH connection failed on host3:22
debug: rsync command: rsync -ahu --no-links --link-dest=/mnt/backup/host1/2018_08_08__10_30 arthur@host1:/Users :/private/etc /mnt/backup/host1/2018_08_08__10_58
receiving file list ...
39323 files to consider
Expand All @@ -599,8 +599,8 @@ Here we find the same example above but specifying a retention at 2 (days) and 5
debug: Include this criteria: :/Users :/private/etc
debug: Destination is /mnt/backup/host1/2018_08_08__10_30
Start backup on host1
error: The port 22 on host2 is closed!
error: The port 22 on host3 is closed!
error: SSH connection failed on host2:22
error: SSH connection failed on host3:22
debug: rsync command: rsync -ahu --no-links --link-dest=/mnt/backup/host1/2018_08_08__10_30 arthur@host1:/Users :/private/etc /mnt/backup/host1/2018_08_08__10_58
receiving file list ...
39323 files to consider
Expand Down

0 comments on commit f19bad4

Please sign in to comment.