This document describes the current backup creation, verification, notification, and recovery procedures for infrastructure and services. Confirm the backup destination and required access before beginning.
Proxmox VE, PBS, and SCHBKUPS Backup Procedures#
Use the PBS datastore for guest backups and SCHBKUPS file-level recovery. The Proxmox guest-backup screenshots in the Infrastructure section illustrate the interface; follow the current PBS settings documented here if screenshots differ.
Backup and Verification Schedule#
| Local time | Job | Frequency |
|---|---|---|
| 01:30 | PVE guest backup jobs to PBS | Daily |
| 02:30 | home.lab SCHBKUPS file-level backup to PBS | Daily, up to five minutes randomized delay |
| 03:30 | PBS prune job | Daily |
| 04:30 | PBS garbage collection | Sunday |
| 08:00 | PBS verification | Sunday |
| 03:00 | home.lab host configuration TAR to SCHBKUPS | Monday |
The PBS datastore is named PBS on pbs.lab (172.16.10.243). The file-level backup group is host/schbkups, and the archived directory is /mnt/pve/SCHBKUPS. PBS is a separate backup server, not a voting node in the Proxmox VE cluster.
The verifier uses the root namespace, full depth, Skip Verified, and Re-Verify After: 30 days. Garbage collection and verification are separate jobs, not a guaranteed serial workflow; review task histories for overlap.
Timing consideration: The host TAR is generated Monday at 03:00, after Monday’s 02:30 SCHBKUPS upload. Without a manual upload, that week’s fresh host TAR will not reach PBS until the next nightly upload. To protect the new host archive immediately, manually run the SCHBKUPS-to-PBS service once the host backup completes.
Where the Host Recovery Files Live#
The host-configuration backup is created by /usr/local/sbin/pve-backup-schedule.sh and scheduled by /etc/cron.d/pve-backup-schedule:
# Weekly Proxmox VE host configuration backup to SCHBKUPS
0 3 * * 1 root /usr/local/sbin/pve-backup-schedule.shIts archive directory is:
/mnt/pve/SCHBKUPS/infrastructure/servers/home.lab/proxmox/Files use the pattern pve-backup-home-lab-YYYY-MM-DD-HH-MM-SS.tar.gz; the symlink pve-backup-home-lab-latest.tar.gz points to the most recent completed archive. The script retains 52 completed archives and emails local root on success or failure.
The host backup preserves PVE, networking, filesystem, repository, and /root configuration along with /etc/systemd/system, /etc/cron.d, /etc/postfix, and /usr/local/sbin. The host uses the modern /etc/apt/sources.list.d directory, not the absent legacy /etc/apt/sources.list path.
The script checks the SCHBKUPS mount, source-path availability, gzip/TAR readability, and twelve mandatory recovery-file paths before publishing the archive and updating latest. It no longer uses tar --ignore-failed-read. Incomplete temporary archives are not considered valid recovery points. This is a configuration backup, not a disk image or a complete replacement for the VM/LXC backups.
Mandatory Recovery Dependencies#
These recovery dependencies must be present in the host archive:
/etc/pve/storage.cfg
/etc/pve/notifications.cfg
/etc/pve/priv/notifications.cfg
/etc/systemd/system/schbkups-to-pbs.service
/etc/systemd/system/schbkups-to-pbs.timer
/etc/systemd/system/schbkups-failure-notify@.service
/etc/systemd/system/schbkups-to-pbs.service.d/10-failure-notification.conf
/etc/cron.d/pve-backup-schedule
/etc/postfix/main.cf
/usr/local/sbin/pve-backup-schedule.sh
/usr/local/sbin/schbkups-failure-notify.sh
/root/.config/proxmox-backup/schbkups.envThe last file is restricted to root and includes the PBS repository, API-token secret, and expected TLS certificate fingerprint. The TAR also includes private PVE cluster settings and root SSH material. Do not display, copy into public logs, or commit these secrets to Git. The TAR is not independently encrypted, and the PBS snapshots were shown as unencrypted. Access to SCHBKUPS and PBS must be treated as privileged.
SCHBKUPS File-Level Upload#
The service on home.lab uses proxmox-backup-client and an environment file to upload the entire SCHBKUPS tree:
# /etc/systemd/system/schbkups-to-pbs.service
[Unit]
Description=Backup SCHBKUPS to Proxmox Backup Server
Wants=network-online.target
After=network-online.target
RequiresMountsFor=/mnt/pve/SCHBKUPS
[Service]
Type=oneshot
EnvironmentFile=/root/.config/proxmox-backup/schbkups.env
ExecStart=/usr/bin/proxmox-backup-client backup SCHBKUPS.pxar:/mnt/pve/SCHBKUPS --backup-id schbkupsThe associated schbkups-to-pbs.timer runs at 02:30 daily with Persistent=true and RandomizedDelaySec=5m.
Troubleshoot Certificate and Authentication Failures#
When a scheduled backup fails, inspect the client on home.lab:
systemctl list-timers --all | grep -i schbkups
systemctl show schbkups-to-pbs.service -p Result -p ExecMainStatus -p OnFailure
journalctl -u schbkups-to-pbs.service -n 50 --no-pagerIf the error concerns the TLS fingerprint, inspect the certificate on pbs.lab with proxmox-backup-manager cert info and independently verify that the server is the intended PBS system before updating the pinned fingerprint in the root-restricted environment file. Do not disable certificate validation. For an authentication error, inspect token identity and PBS datastore permissions, and securely rotate or replace the secret as needed. Never print the environment file’s contents.
Retry with systemctl start schbkups-to-pbs.service, confirm Result=success and ExecMainStatus=0, and check that a fresh host/schbkups recovery point appears in PBS.
Backup Failure Notification Dependencies#
A nightly timer can keep firing even while its service fails. This systemd failure handler sends an alert for failed backup-service executions:
# /etc/systemd/system/schbkups-to-pbs.service.d/10-failure-notification.conf
[Unit]
OnFailure=schbkups-failure-notify@%p.service# /etc/systemd/system/schbkups-failure-notify@.service
[Unit]
Description=Notify administrator of SCHBKUPS backup failure (%i)
After=postfix.service
[Service]
Type=oneshot
ExecStart=/usr/local/sbin/schbkups-failure-notify.sh %i.serviceHere %p resolves to schbkups-to-pbs, and the template appends .service before invoking the notification script. This avoids the incorrect .service.service name. The script only accepts the expected backup unit, reads its systemd result, and submits a short failure report to local root without leaking environment credentials or raw journal output.
The mail chain has multiple restore dependencies: postfix.service, /usr/sbin/sendmail, the Proxmox /usr/libexec/proxmox-mail-forward command, /etc/pve/notifications.cfg, /etc/pve/priv/notifications.cfg, the authenticated SMTP target Alerts, and the corresponding matcher. Local root mail is forwarded into the existing Proxmox notification system; no second Gmail SMTP credential was created for this handler.
Test the unit itself without deliberately damaging the backup service:
systemctl daemon-reload
systemctl show schbkups-to-pbs.service -p OnFailure
systemctl start schbkups-failure-notify@schbkups-to-pbs.service
systemctl status schbkups-failure-notify@schbkups-to-pbs.service --no-pager
journalctl --since '5 minutes ago' --no-pager |
grep -Ei 'schbkups-failure-notify|proxmox-mail-forward|notified via target'An isolated test generates a failure-themed email even while the actual backup service is healthy; that alone is not evidence of a real backup failure.
Confirm that the notification reaches the configured mailbox and that the journal records delivery through the Proxmox Alerts target. Review the newest snapshot’s age separately because OnFailure= does not detect a timer that never runs.
Recovery Procedure — Host Configuration and Backup Pipeline#
Use this recovery sequence on a trusted repaired or replacement host, with administrative access that does not depend on Authentik.
- Confirm the replacement host, management networking, PBS reachability, administrative access, and intended recovery point. Maintain break-glass access independent of Authentik.
- Identify the SCHBKUPS filesystem by a stable identifier, then mount it at
/mnt/pve/SCHBKUPS. The observed/dev/sdv1device name is not guaranteed to remain stable after hardware changes. Confirm withfindmnt /mnt/pve/SCHBKUPS. - If SCHBKUPS is unavailable, recover the desired files from the newest verified PBS
host/schbkupssnapshot into a restricted staging location. The nested Proxmox host TAR lives underinfrastructure/servers/home.lab/proxmox/. - List and extract the selected TAR into an isolated staging directory. Do not blindly overwrite a live
/etc/pve, cluster identity, host network configuration, or SSH keys. Review restored values for the replacement environment. - Restore or reinstall the required systemd units,
proxmox-backup-client, Postfix and mail utilities,proxmox-mail-forwardsupport, cron schedule, notification script, and applicable Proxmox notification configuration. Reapply file ownership and restricted permissions. - Independently establish PBS identity and its current TLS certificate fingerprint. Restore or rotate the PBS API token securely; revalidate credentials and connectivity before enabling the nightly timer.
- Run
systemctl daemon-reloadand inspectschbkups-to-pbs.service, its timer, and itsOnFailuredependency. Confirm the SCHBKUPS mount and a successful manual backup before normal operation resumes. - Verify that PBS contains the new recovery point and that verification finishes without errors. Then send an isolated mail notification through the existing
Alertspath. - Confirm the weekly host backup produces a usable TAR with the current dependencies before trusting the routine. Re-enable automated pruning only once the intended recovery set has been checked.
For a non-destructive check of a local TAR:
ARCHIVE=/mnt/pve/SCHBKUPS/infrastructure/servers/home.lab/proxmox/pve-backup-home-lab-latest.tar.gz
tar -tzf "$ARCHIVE" | head -30
gzip -t "$ARCHIVE"Use a root-only temporary staging directory for selective extraction. Even test extraction includes potentially sensitive private keys and credential files; clean up staged files afterward.
Infrastructure#
This section covers backup procedures for various infrastructure devices.
Dell PowerEdge via iDRAC and Network Share#
Applicable to iDRAC 8 Enterprise controllers. Not validated on other hardware, but a similar process is expected.
- Navigate to the iDRAC login portal and sign in.

- On the overview dashboard, expand
iDRAC Settings.

- Select
Server Profile.

- In the
Backup and Export Server Profilemenu pane, selectAutomatic Backup.

- The following settings must be applied:
Enabled Automatic Backup: CheckedFile Settings and Security
File Location: Network
File Name: flexible-name-here
Backup File Passphrase (optional): optional-passphrase
Confirm Passphrase: optional-passphrase
Number of backup files to preserve (1-50): 50Network Settings
Protocol: CIFS
IP Address: network.share.IP.address
Share Name: network/share/backup/location
Domain Name: optional
Username: network-share-username
Password: network-share-password- After these settings have been applied, select
Test network connectionto validate the network share connectivity. If successful, selectOKto continue.


- Scroll down to set the
Backup Window Schedule. The follow settings must be applied:
Backup Window Schedule
Current iDRAC Time: Not selectable, this is a reference value.
Start (24hr format): 03:00Recurrence Pattern
Select from: [Daily], [Weekly], [Monthly]
Recur every: [1] day(s), week(s), month(s)
On days of the week: [Sunday], [Monday], [Tuesday], [Wednesday], [Thursday], [Friday], [Saturday]- After the
Backup Window Schedulesettings have been set, selectSchedule Backupto apply the backup configuration. SelectOKin the confirmation dialogue that appears.


- At this time, you may also choose to export a manual backup, but this is optional. To do this, navigate back to
Overview,iDRAC Settings,Server Profile, and selectBackup. Export a manual backup using the same network share information as entered previously for the automatic backup.

FortiSwitch#
Applicable to FortiSwitch using Firmware Version: v6.4.2, operating in Local Management mode. Not validated on other firmware versions, but a similar process is expected.
- Navigate to the FortiSwitch login portal and sign in.

- On the
Dashboard, in theSystem Informationpane, selectBackup.

- On the
Backupdashboard, selectDownload. An optional passphrase can be added but is not necessary.

- After the configuration is downloaded, save the file to the appropriate network share.


Ubiquiti Dream Machine Special Edition#
- Navigate to the UniFi login portal and sign in. Sign in via the UniFi remote dashboard or by accessing the console’s management IP address.

- If prompted with the
Site Managerdashboard, select the applicable site to view.

- Select the
Settingsicon.

- Select the
Control Planeoption underUDM SE.

- Select the
Backupsoption in theControl Planepane.

- Ensure
Auto (Weekly)backups are enabled, then selectDownload.

- In the dialogue box that appears, select
Downloadto download a local copy of the current UDM SE configuration.

- After the configuration is downloaded, save the file to the appropriate network share.


Proxmox VE Guest Backups#
- Navigate to the Proxmox login portal and sign in.

- Select
Datacenter,Backup, then clickAdd.

- In the
Create: Backup Jobdialogue, enter the current PBS job settings. The accompanying screenshots illustrate the interface and may show older values.
General
Node: All
Storage: PBS
Schedule: Every day at 01:30
Selection mode: Include selected VMs
Mode: Snapshot
Enable: Checked
Job Comment: OptionalGuests to Include
[x] Check applicable
[x] container and
[x] virtual machines to
[x] include, unless
[ ] intentionally left out
[ ] from the schedule.
- Select the
Notificationstab and ensure theUse global notification settingsoption is selected.

- Select the
Retentiontab and enter theRetentionparameters. These parameters largely depend on the backup model being used and may change for each individualBackup Job.
Retention
[ ] Keep all backups (unchecked by default, consumes a ton of of storage)
Keep Last: Optional
Keep Daily: Optional
Keep Hourly: Optional
Keep Weekly: Optional
Keep Monthly: Optional
Keep Yearly: Optional
- Select the
Note Templatetab and include optional information to help identify the purpose of theBackup Job, including identifying information.
Note Template Example
Daily opt-in VM/CT backup | Guest: {{guestname}} | VMID: {{vmid}} | Node: {{node}} | Retention: 3D/1W/1M | Scope: selected service guests only- Follow the intended guest retention policy (three daily, one weekly, and one monthly recovery point) and review the separate PBS pruning rules to confirm effective retention.

- Select the
Advancedtab and enter any optional information that may enhance theBackup Job.
For example, ensuring Repeat missed is enabled can run the job even if it missed the scheduled start due to the node being offline.
When done with the Advanced tab, select Create to create the Backup Job.

- It’s a good idea to then run an initial backup routine to make sure the
Backup Jobfunctions as intended, including selected targets and notification settings. Select theBackup Jobto perform an initial run, then selectRun now.

- In the
Confirmdialogue box that appears, selectYes.

- You can then view the output of the job in the
Task viewerby selecting the task in the log at the bottom.

- Validate that the selected targets of the
Backup Jobwere successful by navigating to the guest in the applicable node and viewing theBackup.

Services#
This section covers backup procedures for various services.
Pi-hole#
- Navigate to the Pi-hole login portal and sign in.

- On the Pi-hole dashboard, expand
Settingsunder theSystemgroup.

- Select
Teleporter.

- Select the
Exportoption to download a local copy of the current Pi-hole configuration.

Pi-hole notes that this archive contains sensitive information, including the 2FA-TOTP secret if enabled. This configuration also does not download the
pihole-FTL.dband must be backed-up separately.
- After the configuration is downloaded, save the file to the appropriate network share.

