This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| deb11:backuppc [2024/03/18 13:32] – [Configuration for Windows 11 running WSL2 or Hosts without fixed IP address] Bernard Condrau | deb11:backuppc [2025/12/21 15:18] (current) – [Maintenance] Bernard Condrau | ||
|---|---|---|---|
| Line 18: | Line 18: | ||
| * [[deb9: | * [[deb9: | ||
| * [[deb9: | * [[deb9: | ||
| + | |||
| + | ==== Setup remote ping ==== | ||
| + | * Make sure necessary apps are installed, see [[deb11: | ||
| + | * Log in to the DiskStation with SSH, sudo to root, and create the file // | ||
| + | sudo vim | ||
| + | # Allow backuppc | ||
| + | backuppc ALL=(root: | ||
| ==== Setup boot configuration ==== | ==== Setup boot configuration ==== | ||
| Line 25: | Line 32: | ||
| ==== Maintenance ==== | ==== Maintenance ==== | ||
| + | * Update host\\ <color red> | ||
| * Delete a backup. If you delete several backups, delete non-filled backups which were taken after a filled backup first.< | * Delete a backup. If you delete several backups, delete non-filled backups which were taken after a filled backup first.< | ||
| ==== Links ==== | ==== Links ==== | ||
| Line 95: | Line 103: | ||
| * Modify ping command in host access configuration (note: $sshPath is not resolved for PingCmd):< | * Modify ping command in host access configuration (note: $sshPath is not resolved for PingCmd):< | ||
| - | ==== Configuration for Windows 10 running WSL1 ==== | + | ==== Configuration for Windows 11 (22H2 and higher) running WSL2 or Windows 10/11 running WSL1 ==== |
| - | - Windows 10: Install [[win10: | + | - Windows 10: Install [[win10: |
| + | - Windows 11: Enable [[win10: | ||
| + | networkingMode=mirrored</ | ||
| - Install ssh and rsync:< | - Install ssh and rsync:< | ||
| - Harden [[deb9: | - Harden [[deb9: | ||
| Line 104: | Line 114: | ||
| %sudo ALL=(ALL: | %sudo ALL=(ALL: | ||
| backuppc ALL=(root: | backuppc ALL=(root: | ||
| + | - If it's a new machine you are connecting make sure the public key of the host is added to the server and you have connected manually from server to host to add to the '' | ||
| - Test rsync access as root with the following command from user '' | - Test rsync access as root with the following command from user '' | ||
| - For Windows: start the following program as a task after user login in '' | - For Windows: start the following program as a task after user login in '' | ||
| Line 109: | Line 120: | ||
| * [[https:// | * [[https:// | ||
| - | ==== Configuration for Windows 11 running WSL2 or Hosts without fixed IP address ==== | + | ==== Configuration for Windows 11 (lower than 22H2) running WSL2 or Hosts without fixed IP address |
| - | - Windows 11: Enable [[win10: | + | - Windows 11: Enable [[win10: |
| - Install ssh, autossh and rsync:< | - Install ssh, autossh and rsync:< | ||
| - Harden [[deb9: | - Harden [[deb9: | ||
| Line 121: | Line 132: | ||
| - Use '' | - Use '' | ||
| ClientAliveCountMax 10</ | ClientAliveCountMax 10</ | ||
| - | - If it's a new machine you are connecting make sure the public keys are exchanged on host and server and you have connected manually from each side to add both to the '' | + | - If it's a new machine you are connecting make sure the public keys are exchanged on host and server and you have connected manually from each side to add both to the '' |
| - Test rsync access as root with the following command from user '' | - Test rsync access as root with the following command from user '' | ||
| - For Windows: start the following programs as a task after user login in '' | - For Windows: start the following programs as a task after user login in '' | ||
| Line 130: | Line 141: | ||
| === Reverse Ports === | === Reverse Ports === | ||
| * Hera: 60022 | * Hera: 60022 | ||
| - | * Vulcan: | + | * Vulcan: |
| + | * Heracles: 60422 | ||
| * Cassandra: 60522 | * Cassandra: 60522 | ||