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:31] – [Configuration for Windows 10 running WSL1] 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: | ||
+ | - 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 '' | ||
* [[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: |
- Install ssh, autossh and rsync:< | - Install ssh, autossh and rsync:< | ||
- Harden [[deb9: | - Harden [[deb9: | ||
Line 117: | Line 119: | ||
%sudo ALL=(ALL: | %sudo ALL=(ALL: | ||
backuppc ALL=(root: | backuppc ALL=(root: | ||
- | - Establish a ssh connection from host to server with reverse tunneling:< | + | - Establish a ssh connection from host to server with reverse tunneling:< |
- 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 '' | ||
- 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 '' |
- | C: | + | 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 186: | Line 196: | ||
* [[https:// | * [[https:// | ||
* [[https:// | * [[https:// | ||
+ | * [[https:// | ||
* [[http:// | * [[http:// | ||
* [[https:// | * [[https:// |