This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
deb11:backuppc [2024/03/17 13:25] – [Configuration for Windows 11 running WSL2 or Hosts without fixed IP address] Bernard Condrau | deb11:backuppc [2025/09/14 11:56] (current) – [Configuration for Windows 11 running WSL2 or Hosts without fixed IP address] Bernard Condrau | ||
---|---|---|---|
Line 96: | Line 96: | ||
==== Configuration for Windows 10 running WSL1 ==== | ==== Configuration for Windows 10 running WSL1 ==== | ||
- | - Windows 10: Install [[win10: | + | - Windows 10: Install [[win10: |
- Install ssh and rsync:< | - Install ssh and rsync:< | ||
- Harden [[deb9: | - Harden [[deb9: | ||
Line 104: | Line 104: | ||
%sudo ALL=(ALL: | %sudo ALL=(ALL: | ||
backuppc ALL=(root: | backuppc ALL=(root: | ||
- | - Test rsync access as root with the following command from user '' | + | |
+ | | ||
+ | - For Windows: start the following program as a task after user login in '' | ||
* [[https:// | * [[https:// | ||
* [[https:// | * [[https:// | ||
==== Configuration for Windows 11 running WSL2 or Hosts without fixed IP address ==== | ==== Configuration for Windows 11 running WSL2 or Hosts without fixed IP address ==== | ||
- | - Windows 11: Enable [[win10: | + | - Windows 11: Enable [[win10: |
- | - Follow steps 2-6 in [[#configuration_for_windows_10_running_wsl1|Configuration for Windows 10 running WSL1]] | + | - Install ssh, autossh and rsync:< |
- | - Establish a ssh connection from host to server with reverse tunneling:< | + | |
+ | - Create user backuppc with a restricted shell, not able to do local but only remote logins (do not expire the user):< | ||
+ | - Copy the Server' | ||
+ | - Allow user backuppc to run rsync as root, add the following line after %sudo:< | ||
+ | %sudo ALL=(ALL: | ||
+ | backuppc ALL=(root: | ||
+ | - Establish a ssh connection from host to server with reverse tunneling:< | ||
- Use '' | - Use '' | ||
ClientAliveCountMax 10</ | ClientAliveCountMax 10</ | ||
- | - Connect from server to host:< | + | - If it's a new machine you are connecting make sure the public keys are exchanged on host and server |
- | - For Windows: start the following programs as a task after user login in '' | + | - Test rsync access as root with the following command from user '' |
- | C: | + | - For Windows: start the following programs as a task after user login in '' |
+ | C: | ||
- Note that these commands work if WSL was installed as Windows feature (e.g. WSL2, Windows 11) and Debian through the Microsoft Store, otherwise you need to find the location of '' | - Note that these commands work if WSL was installed as Windows feature (e.g. WSL2, Windows 11) and Debian through the Microsoft Store, otherwise you need to find the location of '' | ||
- The BackupPC host config file needs to backup '' | - The BackupPC host config file needs to backup '' | ||
+ | |||
+ | === Reverse Ports === | ||
+ | * Hera: 60022 | ||
+ | * Vulcan: 60322 | ||
+ | * Heracles: 60422 | ||
+ | * Cassandra: 60522 | ||
=== Links === | === Links === | ||
* [[https:// | * [[https:// | ||
* [[https:// | * [[https:// | ||
+ | * [[deb11: | ||
==== Configuration on Synology DSM6 Hosts ==== | ==== Configuration on Synology DSM6 Hosts ==== | ||
Line 180: | Line 196: | ||
* [[https:// | * [[https:// | ||
* [[https:// | * [[https:// | ||
+ | * [[https:// | ||
* [[http:// | * [[http:// | ||
* [[https:// | * [[https:// |