On this page

13.6 Ports, paths and firewall

This page lists the network ports, the directories and files of server and agent, and the firewall rules. Ports and addresses are set in server.toml (see section 13.1 server.toml).

Ports

Port

Direction

Purpose

Standard

8443/tcp

Browsers and API clients to the server

Web interface, REST API and (unless [metrics] listen is set) /metrics. HTTPS only. Key web_listen.

0.0.0.0:8443

8444/tcp

Agents to the server

Agent connection with mutual TLS (client certificate). Key agent_listen.

0.0.0.0:8444

[metrics] listen

Monitoring system to the server

Separate HTTPS address for /metrics only, for example 127.0.0.1:9101. When set, the web port no longer serves /metrics.

not set

9/udp

Server to the local network

Magic packets for Wake-on-LAN. Destination from the key wol.broadcast.

255.255.255.255:9

Agents connect to the server; for backups, no inbound port is needed on the agent computer. The push installation (see chapter 03 Installation) is the exception: the server connects to the target machine with WinRM or SSH. The server reaches the repository locations (local path, share, S3, SFTP, WebDAV) with the ports of the respective protocol.

Firewall

  • Windows server: the setup creates the inbound rule "PDC-Backup Server". It allows TCP to pdc-server.exe for the network profile that is active during installation. If the computer later joins a network with another profile, run the setup again or adjust the rule in "Windows Defender Firewall with Advanced Security".

  • Linux server: the package opens no ports. Allow the ports afterward, for example sudo firewall-cmd --permanent --add-port=8443/tcp --add-port=8444/tcp && sudo firewall-cmd --reload or sudo ufw allow 8443/tcp && sudo ufw allow 8444/tcp.

  • Changed ports: after a change of web_listen or agent_listen, adapt the rule and the server URL of enrolled agents (see section 13.2 agent.toml).

  • Check from the agent computer: Test-NetConnection <server> -Port 8444 (Windows) or curl -vk https://<server>:8444 (Linux).

Paths of the server

Content

Windows

Linux

Program

C:\Program Files\PDC-Backup\pdc-server.exe

/usr/bin/pdc-server

Data directory (catalog, keys, certificates, settings)

C:\ProgramData\PDC-Backup\server

/var/lib/pdc-backup

Configuration

C:\ProgramData\PDC-Backup\server\server.toml

/var/lib/pdc-backup/server.toml

Logs

C:\ProgramData\PDC-Backup\server\logs

journal: journalctl -u pdc-server

Agent packages (update source)

<data>\packages

/var/lib/pdc-backup/packages

Agent installers for distribution

C:\Program Files\PDC-Backup\downloads

โ€“

Service

PDCBackupServer

pdc-server.service

Account

SYSTEM

system user pdc-backup

The data directory can be changed with --data-dir or PDC_DATA_DIR (see section 13.4 Environment variables and section 13.5 Command line). The Linux data directory has mode 0700, the Windows one is accessible only to SYSTEM and Administrators.

Content of the data directory

Data directory
โ”œโ”€โ”€ server.toml  # configuration (13.1)
โ”œโ”€โ”€ catalog.db  # catalog (database, with catalog.db-wal and catalog.db-shm while running)
โ”œโ”€โ”€ pki/  # CA, server and signing keys (encrypted)
โ”œโ”€โ”€ packages/  # agent packages and manifest
โ”œโ”€โ”€ recovery/  # recovery ISO
โ”œโ”€โ”€ logs/  # server logs
โ””โ”€โ”€ tmp/  # temporary files, for example uploaded packs

The Linux package additionally keeps a copy of the agent packages in /usr/share/pdc-backup/packages and copies them into the data directory on installation.

Paths of the agent

Content

Windows

Linux

Program

C:\Program Files\PDC-Backup Agent\pdc-agent.exe

/opt/pdc-agent/pdc-agent

State directory

C:\ProgramData\PDC-Backup\agent

/var/lib/pdc-agent

Configuration

agent.toml in the state directory

agent.toml in the state directory

Logs

logs in the state directory

logs in the state directory

The state directory can be changed with --state-dir or PDC_AGENT_DIR. It holds agent.toml, agent.key, agent.crt, ca.crt, server.pins, package.key, logs and tmp (see section 13.2 agent.toml).

Helper for hardened repositories

Content

Path

Configuration (owned by root)

/etc/pdc-immutable-helper/config.toml

Unix socket

/run/pdc-immutable-helper/helper.sock

State directory

/var/lib/pdc-immutable-helper

Further details: see section 13.5 Command line and chapter 08 Repositories and Storage.

Linux: SMB credentials

pdc-server smb-mount-unit stores the credentials of a share in /etc/pdc-backup/smb-<name>.cred (mode 0600), see section 13.5 Command line.

Related

For installation and firewall troubleshooting, see chapter 03 Installation and chapter 14 Operations and FAQ.

Last updated Nov 16, 2026