On this page

12.2 Deployment: packages and versions

The Administration → Deployment page manages the agent packages on the server, shows the version of every agent, and updates outdated agents in a few clicks. It also collects the ways to install an agent on a new computer and manages stored push credentials. The installation itself (pull command, push over SSH and WinRM, network discovery) is described in chapter 03 Installation; this page covers packages, versions and updates. The package list and updates require at least the operator role, the push credentials the admin role.

Deployment: packages, versions, installation on new computers
Deployment: packages, versions, installation on new computers

The page has two columns. On the left are Agent packages and Agent versions, on the right Install on new machines and (for admins) Push credentials.

Agent packages

A package is the agent program for one platform. The server hands it out to agents that update themselves and to the pull installer (chapter 03 Installation). All packages are stored in the packages folder of the server's data directory.

Platform

File name in the packages folder

windows-x86_64

pdc-agent-windows-x86_64.exe

windows-aarch64

pdc-agent-windows-aarch64.exe

linux-x86_64

pdc-agent-linux-x86_64

linux-aarch64

pdc-agent-linux-aarch64

The Windows server setup and the Linux server packages put the agent packages into this folder themselves (Windows: C:\ProgramData\PDC-Backup\server\packages, Linux package: /var/lib/pdc-backup/packages). On a manual server installation, copy the files with the names from the table there and then click Rescan folder (tooltip: "Rescan the packages folder on the server"). The server also reads the folder at startup.

How the server treats the files:

  • The server reads the version from the program file itself. A file from which no version can be read is ignored (warning in the server log) and does not appear in the list.

  • For every package the server computes the SHA-256 sum and signs platform, version, size and sum with the server's Ed25519 key. If a file does not change, its entry keeps the previous signature and timestamp; a new build of the same version gets a new signature.

  • The server writes the result as manifest.json into the packages folder.

  • The signing key is created on first start in the pki folder of the data directory (package-signing.key, encrypted by the server's secret store, next to it package-signing.pub). The pki folder is part of the server configuration backup.

The table shows per package:

Column

Meaning

Platform

Platform identifier from the table above (tooltip: file name).

Version

Agent version read from the program file.

Size

File size.

SHA-256

The first 12 characters of the sum (tooltip: complete).

Signed

Time of the signature (relative, tooltip: date and time).

Agents

Number of active agents of this platform, followed by "(n outdated)" if some do not run the package.

Above the table, Signing key (Ed25519) shows the public key in groups of four for reading aloud and comparing. Agents pin this key at enrollment and only install packages signed with it; an agent therefore refuses a package from another server or signed with another key. Without packages the table says "No packages. Copy agent binaries into the packages folder of the server and rescan."

Agent versions and update control

The Agent versions section compares every active agent with the package of its platform.

Column

Meaning

Checkbox

Only for outdated agents that are online: select for the bulk update.

Host

Agent name with online dot; a click opens the agent.

Platform

The agent's platform identifier.

Version

Reported agent version.

Build

The first 12 characters of the SHA-256 sum of the running program (tooltip: complete).

State

latest: program and package match. "→ version" (orange): the package differs; if it shows the same version as the agent, the suffix new build follows. no package: no package exists for the platform. unknown: the agent has not yet reported its platform or build.

Update button

Starts the update of this agent; disabled for offline agents (tooltip "Agent is offline").

"Outdated" therefore means: the SHA-256 sum of the running program differs from that of the package. This also detects a new build with the same version number.

Controls above the table:

Option

Effect

Default

Toggle Outdated (n) / All (n)

Shows only outdated or all active agents.

Outdated (n)

Update n selected

Updates the checked agents. Appears as soon as at least one is checked.

–

Update all outdated (n)

Updates all outdated agents that are online right now. Disabled if none qualifies (tooltip: "Online agents only; offline ones update when you run this again").

–

Right-click on a row

Menu with Open agent, Update, selection for the bulk update and copy actions (host name, version, build SHA-256, agent ID). Right-click on a package: Rescan folder and copy actions (platform, version, SHA-256, file name).

–

How an update runs

  1. The server checks per agent whether an update is possible and starts a run of the kind agent-update.

  2. The agent downloads the package over its secured connection, verifies the Ed25519 signature (against the key pinned at enrollment) and the SHA-256 sum, and swaps the program file.

  3. The agent starts the new version. If it does not reconnect and confirm within 90 seconds, the agent automatically restores the old version (rollback).

  4. The run ends with success as soon as the new version is connected and has confirmed. It ends with failure and a reason if a rollback is reported or the agent comes back with the old program file. If the confirmation is missing although the new version is connected, it ends with a warning after the wait time plus 15 minutes.

When a single update starts, the interface opens the corresponding run. For bulk updates, messages appear ("Update started on 3 agents") along with the skipped agents and the reason.

Skipped agents

Reason

Meaning

unknown agent

The agent ID does not exist.

agent is revoked

The agent has been revoked.

agent is offline

The agent is not connected (see below).

already up to date

The program's sum matches the package. Reported only as a number for bulk updates.

no package for its platform

There is no package for the agent's platform.

The package is older than the agent

The package version is lower than the agent version. Without explicit permission an agent is never rolled back to an older version; the agent itself also refuses downgrades.

Offline agents and downgrade (REST API)

The interface updates only agents that are online. Two functions exist only in the REST API (POST /packages/update):

  • when_online: true queues the update for offline agents; it starts the next time the agent connects. GET /packages/update/pending lists the queued agents, POST /packages/update/pending/cancel withdraws them.

  • allow_downgrade: true (admin only) also allows a package with a lower version.

  • confirm_timeout_secs changes the wait for the new version's confirmation (default 90).

# update all online agents; offline agents the next time they connect
curl -sS -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \
  -X POST https://backup-server:8443/api/v1/packages/update \
  -d '{"agent_ids": [], "when_online": true}'

The answer lists started (agent and run), skipped (agent and reason) and queued (queued agents). An empty agent_ids stands for all agents.

Install on new machines

The Install on new machines area has three buttons. The procedures behind them are described in chapter 03 Installation.

Button

Purpose

Add agent

Generates the pull command for any Windows or Linux PC. Default path: the command runs on the target, downloads the agent from the server and enrolls it.

Discover

Scans the network and installs by push over SSH or WinRM.

Prepare script

Prepares a Windows PC once for push. Relaxes remote UAC filtering.

The pull command and push use the same package files as the update. If the Windows package is missing, the generated pull command reports that the server has no Windows agent package; then put pdc-agent-windows-x86_64.exe into the packages folder and generate a new command.

Push credentials

For push, the server can store credentials encrypted so they need not be entered for every push. The area is visible to the admin role only. Add opens the form, Cancel closes it.

Option

Effect

Default

Name

Label of the credentials (placeholder "Home PCs").

–

Kind

Windows or SSH. Switching sets the user to the default of that kind.

Windows

User

Account on the target.

pdcpush (Windows), root (SSH)

Password

The account's password. Required for Windows; for SSH required if no private key is given.

–

Private key (instead of a password)

SSH only: key for sign-in instead of a password.

–

Key passphrase

SSH only: passphrase of the key, if any.

–

sudo password

SSH only: password for sudo if the account is not root.

–

Store

Creates the credentials. They are encrypted on the server and never shown again.

–

The list shows name, kind, user and age (tooltip: time and creator). The trash icon per row deletes the credentials after confirmation. If nothing is stored, it says "None stored. Credentials are asked per push unless you store them."

REST API

All paths in the table are under /api/v1, so GET /packages calls /api/v1/packages.

Call

Role

Effect

GET /packages

operator

Public key and package list; with refresh=true the folder is rescanned

POST /packages/update

operator

Starts updates (body: agent_ids, confirm_timeout_secs, when_online; allow_downgrade admin only)

GET /packages/update/pending

readonly

Queued updates of offline agents

POST /packages/update/pending/cancel

operator

Withdraws queued updates

GET /push-credentials

admin

Stored credentials (without secrets)

POST /push-credentials

admin

Creates credentials

DELETE /push-credentials/{id}

admin

Deletes credentials

Last updated Nov 16, 2026