3.7 Updating and uninstalling
An update replaces the server first and the agents afterwards. Data, settings, certificates and backups are kept. Uninstalling never deletes backups in the repositories automatically.
Updating the server
Windows
Run the new setup over the existing installation, also silently (
/S).Confirm the UAC prompt. The service
PDCBackupServeris stopped, replaced and restarted.Data, settings and certificates in the data folder are kept.
Linux
Install the new package over the old one:
sudo apt install ./pdc-backup-server_*.deb
# or
sudo dnf install ./pdc-backup-server-*.rpm
If the existing installation dates from a time when the service ran as root, the package handles the switch: it stops the service, creates the account pdc-backup, hands /var/lib/pdc-backup over to it once and starts the new unit. Repository folders created by root outside the data folder are left untouched and must be adjusted by hand (see section 3.3 Installing the server on Linux).
Updating agents
The server ships the agent packages. After a server update, older agents keep running but report their capabilities: the interface does not offer new features such as mounting restore points, secure restore, self-service and Hyper-V instant recovery for an older agent. Update the agents promptly.
Open Deployment. The Agent versions area shows host, platform, version, build and state for each agent.
Use the Outdated filter to show only agents with an older package.
Update all outdated installs the current package on all outdated agents. Individual agents can be ticked and updated on their own with Update. Alternatively, use Update outdated on the Agents page.
A message states on how many agents the update was started. Offline agents are queued: their update starts when they next connect. Skipped agents appear with a reason: unknown agent, agent is revoked, already up to date or no package for its platform.
How the self-update works
The agent updates itself and rolls back automatically on failure:
The server sends an update job. The agent checks the Ed25519 signature against the key it pinned at enrollment, downloads the package over the mTLS endpoint and verifies size and SHA-256.
A copy of the new file starts as the update helper. If it does not take the lock within 15 seconds, the current file takes over that role.
The helper stops the agent, keeps the old file as
.old, installs the new one and starts it.The new agent connects and confirms the update.
If the confirmation does not arrive within the timeout (default 90 seconds), the helper restores the old file and starts it. The old agent reports the failed update in its next session.
An older, validly signed package is installed only if an admin has explicitly allowed the downgrade.
Uninstalling the server
Windows
Uninstall "PDC-Backup Server" under Settings, Apps. Silently:
"C:\Program Files\PDC-Backup\uninstall.exe" /S.The uninstaller asks whether to delete the data folder (
C:\ProgramData\PDC-Backup\server). The default is No. In silent mode the folder is always kept.
Linux
sudo apt remove pdc-backup-server
apt remove and apt purge stop the service but never delete data, the account or repositories. The catalog, CA and master key live in the data folder /var/lib/pdc-backup and are kept.
Uninstalling agents
From the web interface: on the Agents page (or in the agent details) choose Uninstallβ¦. The dialog Uninstall agent removes the service and program from the machine and revokes the agent. The option Also delete its state (identity, certificates, logs) additionally removes the local state folder. If the agent is offline, it uninstalls when it connects again.
Locally on Windows: uninstall "PDC-Backup Agent" under Installed apps. The uninstaller asks about the state; the default is No.
Locally on Linux:
sudo apt remove pdc-backup-agent.
Backups in the repositories are always kept. The component WinFsp, if it was installed with the agent, is not removed with it; uninstall it separately under Installed apps.