3.2 Installing the server on Windows
The setup PDC-Backup_<version>_x64-setup.exe installs the server as a Windows service, creates the data folder, the internal CA and the certificates, and optionally sets up the firewall rule. This page describes every step, every component and the unattended installation.
Before you start
64-bit Windows 10 or later. On a 32-bit system the setup stops with the message "PDC-Backup needs 64-bit Windows 10 or later."
Administrator rights, because the setup creates a Windows service, a firewall rule and files under
C:\ProgramData.The setup file is not signed. SmartScreen shows "Unknown publisher": choose More info and Run anyway after comparing the checksum (see section 3.1 Requirements and installation files).
The setup appears in German or English, depending on the Windows language.
Installing with the setup
Start
PDC-Backup_<version>_x64-setup.exeas administrator: right-click and Run as administrator, then confirm the UAC prompt.Choose Next on the welcome page.
On the components page, tick the components you want (described below). For normal operation leave all of them ticked.
Confirm the destination folder. The default is
C:\Program Files\PDC-Backup. If an installation already exists, the setup proposes its folder.Wait for the installation. The setup stops a running server service if necessary, copies the files, registers the service
PDCBackupServer, creates the data folder, generates the CA and certificates (pdc-server.exe service install), creates the firewall rule and the tray icon, and starts the service. The service has up to 30 seconds to start.On the last page keep Open the web interface ticked and choose Finish. The second box, Show the agent installers (folder), is off by default; it opens the
downloadsfolder.
Afterwards the Start menu has an entry PDC-Backup. It opens the server's web interface in the default browser. Continue with section 3.4 First start and initial setup.
Setup components
Component | Effect | Default |
|---|---|---|
Server (service) | The backup server with web interface, runs as the Windows service | always installed, cannot be deselected |
Agent packages | Agents for Windows (x64) and Linux (x64, ARM64) in the | always installed, cannot be deselected |
Agent installers |
| on |
Recovery medium (ISO) | Boot medium for restoring a whole machine (bare metal), stored in the | on |
Firewall rule | Allows incoming connections to the server in the network profile that is active now (web interface and agents, both TLS-encrypted). | on |
Tray icon | Shows the PDC-Backup icon in the notification area of every user while the server runs (grayed out when it is stopped). Starts at every logon. | on |
What the setup creates
What | Where |
|---|---|
Program |
|
Open the web interface |
|
Data (catalog, keys, certificates, settings) |
|
Configuration |
|
Agent packages |
|
Recovery medium |
|
Logs |
|
Agent installers to hand out |
|
Windows service |
|
Uninstall entry | "PDC-Backup Server" under Installed apps (publisher PD-Codes) |
Firewall rule | "PDC-Backup Server": inbound for |
Firewall rule
The rule allows inbound TCP for the program pdc-server.exe only (so for 8443 and 8444, even if the ports are changed in server.toml). The setup creates it with the bundled script firewall.ps1 in the profiles that are active at the moment of installation:
The Windows network categories Public, Private and Domain network map to the firewall profiles Public, Private and Domain.
If no network is connected during setup, only the Private profile is used.
An existing rule with the same name is removed first, so running the setup again refreshes the rule.
Tray icon
The icon (component "Tray icon") shows next to the clock whether the server service is running (colored) or not (gray). The tooltip shows the state and version. It has no other function except the right-click entry Hide icon, which hides it until the next logon. It starts at every user logon. After an unattended installation it first appears at the next logon.
Unattended installation (silent)
PDC-Backup_<version>_x64-setup.exe /S
The server setup has no further switches. It installs all components with their default selection, opens nothing afterwards and starts no tray icon.
Exit code | Meaning |
|---|---|
0 | Installed, the service is running |
1 | Installed, but the service did not start within 30 seconds (check the logs) |
2 | Aborted: the service could not be registered or stopped |
Checking that everything runs
The service
PDCBackupServeris started (Get-Service PDCBackupServer).pdc-server.exe infoshows the data folder, the CA fingerprint, the names in the certificate and the web interface address.The web interface is reachable at
https://<server name>:8443. If the service does not run, see section 3.8 Installation troubleshooting.