3.4 First start and initial setup
After installation four things are still missing: the administrator account, the right names in the certificate, the passphrase for the server's disaster recovery, and a first repository as backup destination. This page walks through the setup in that order.
Opening the web interface and creating the administrator
Open
https://<server>:8443in a browser. On Windows you can also use the Start menu entry PDC-Backup. Port 8443 is the default (web_listeninserver.toml).The browser warns once about the certificate because it comes from the server's own CA. Compare the fingerprint of the CA with the value
CA fingerprintfrom the commandpdc-server infoand only then continue (Windows:pdc-server.exe info, Linux: see section 3.3 Installing the server on Linux).On first access the page First start: create the administrator account appears. Fill in the fields (table below) and choose Create account and sign in. You are signed in afterwards.
Field | Effect | Default |
|---|---|---|
User name | Name of the first account. It has the Admin role (see chapter 11 Users and Security). | empty |
Password | Password of the account. Hint in the interface: "At least 12 characters." | empty |
Repeat password | Must match the password, otherwise "The passwords do not match." appears. | empty |
The administrator account can only be created at first start. An admin adds further users later under Users.
Signing in
On the sign-in page enter User name and Password and choose Sign in.
Two-factor sign-in: If it is set up for the account, the page "Second step for" with the user name follows. Enter the Code from the authenticator app and choose Verify. "Use a recovery code instead" lets you enter a Recovery code. Two-factor authentication is set up under Settings (see chapter 11 Users and Security).
Single sign-on: If an OIDC provider is configured, Sign in with and the name of the provider appear as well (see chapter 11 Users and Security).
Disabled account: The message "This account is disabled. Ask an administrator to enable it." appears when an admin has blocked the account.
Language: The interface is available in German and English. Switch the language at the top right (see chapter 04 Web Interface).
Changing the password: under Settings in the Change password section (fields Current password, New password with at least 12 characters, and Repeat new password). Other sessions are signed out afterwards.
Certificate: names and addresses
Agents and browsers must reach the server under a name that is in the server certificate. It contains the machine name, the LAN IPv4 address and localhost. Add more names, for example a DNS name in the router, under Settings in the Certificate section. The section carries the note "agents and browsers must use one of these names". An admin also manages the web interface certificate there.
Option | Effect | Default |
|---|---|---|
Names in the internal certificate (web interface and agents) | List of the names the internal certificate contains. The mouse pointer shows where a name comes from: "automatic" (machine name, LAN IP, | machine name, LAN IPv4, |
New certificate name and Add | Adds a DNS name or an IP address (example: | empty |
Note "You opened this page as β¦" with Add β¦ | Appears when the name in the browser's address bar is not in the certificate. One click adds it. | only when needed |
Valid until | Shows the expiry date and remaining time. The certificate renews automatically ( | automatic |
download the CA | Downloads the certificate file of the server's own CA. Importing it removes the browser warning. | β |
Upload own certificate | Uses your own certificate for the web interface. Fields: Certificate with chain (PEM) and Private key (PEM, not encrypted), then Upload and reload the page. This applies to the web interface only; agents always keep the internal certificate. | internal certificate |
Remove, use the internal certificate | Removes an uploaded certificate. The web interface uses the internal one again. | β |
Removing the browser warning: use download the CA and import the file. On Windows: open the file, Install Certificate, Local Machine, Trusted Root Certification Authorities.
Additional names can alternatively be set with public_names in server.toml (see chapter 13 Configuration Reference).
Disaster recovery: DR passphrase
Every day the server saves its catalog, certificates and settings as a configuration backup into a repository marked for that purpose. The DR passphrase protects the server's keys in these backups.
Open Settings and click Set DR passphrase in the Disaster recovery section.
The passphrase is shown only once and the server does not store it. Write it down and keep it offline. Download recovery kit creates the kit for printing.
While no passphrase is set, the section shows "not set: configuration backups fail".
An existing passphrase can be exchanged with Replace DR passphrase. Configuration backups from then on need the new one, older ones keep the old one. Background and the restore procedure are in chapter 09 Restore.
Metrics access
In a new installation /metrics requires a token ([metrics] require_token = true in server.toml, written at first start). An admin creates it under Settings in the Metrics access section ("/metrics for Prometheus and Zabbix") with Create token. Prometheus and Zabbix send it as Authorization: Bearer pdcm_β¦. A server.toml from an older version keeps /metrics open until the option Require a token is switched on; the dashboard points this out. More in chapter 10 Monitoring and Reports.
Creating the first repository
A repository is the backup destination. Create it under Repositories with Add repository. To start you need the entries below; all further options (retention, quotas, Object Lock, isolation between machines, SFTP, WebDAV) are described in chapter 08 Repositories and Storage.
Option | Effect | Default |
|---|---|---|
Name | Display name of the repository, up to 80 characters (placeholder "e.g. NAS"). | empty |
Storage | Type of destination: Local disk (folder on the server, for example | Local disk |
Path on the server / Bucket and prefix | Location of the data. For S3 there are also Endpoint, Region, Access key ID and Secret access key. | empty |
NAS type, User on the NAS | NAS (SMB) only: help text for Synology, WD My Cloud, QNAP or another Windows share, plus the NAS user and password. | β |
Repository mode | Create new repository or Attach existing. | Create new repository |
Passphrase (New passphrase, Repeat) | Encrypts all data in the repository. At least 12 characters; Generate creates a random one. | empty |
Store server configuration backups here | Makes the repository the target of the server's daily configuration backup. Agents can never use this repository. For the machine backups, leave the option off on normal repositories. | off |
Test connection checks the location and access before saving. Create repository creates the repository.
Create a separate repository for the server's configuration backups and switch on the option to store configuration backups there. Without such a repository and without a DR passphrase, the configuration backups fail (see section 3.8 Installation troubleshooting).
Next steps
Install agents on the machines to protect (see section 3.5 Installing agents).
Set up a first backup: under Jobs click New backup job (key N), or choose Whole machine (1:1) or Files and folders in the agent details (see chapter 06 Jobs and chapter 07 Schedules and Plans).
Protect the server itself: Recovery medium and Protect this server guide you in four steps through agent, image job, configuration backup and recovery kit (see chapter 09 Restore).