Set Up Backups in VirtFusion
Connect VirtFusion Backup Manager to your hosted PBS datastore.
VirtFusion Backup Manager can use Proxmox Backup Server as a native backup storage backend. This lets VirtFusion create on-demand and scheduled backups to your hosted PBS datastore.
Before you start
You need:
- VirtFusion admin access.
- At least one VirtFusion hypervisor that can reach the PBS server on port
8007. - Your PBS server, datastore, username, realm and namespace if one is used.
- A PBS API token name and secret.
- The PBS TLS fingerprint if you use certificate pinning.
VirtFusion uses a PBS API token for the PBS storage configuration. If your service only includes a password login, create an API token in PBS if your account can do so, or request one from support.
Create or collect the API token
If your account can create API tokens:
- Log in to the PBS web interface.
- Go to
Configuration>Access Control>API Token. - Add a token for your backup user.
- Save the token name and token secret.
The token secret is only shown once. Store it securely.
The token needs permission to write and read backups in the assigned datastore or namespace. Hosted PBS services usually configure these permissions for you.
Add PBS storage in VirtFusion
- Log in to the VirtFusion admin area.
- Open
Backup Manager. - Go to
Storage. - Click
Add Storage. - Select
Proxmox Backup Serveras the storage type. - Enter a clear storage name, for example
NC PBS. - Save the new storage entry.
Configure the PBS connection
Open the storage configuration and fill in the PBS fields.
| VirtFusion field | Value |
|---|---|
| Host | PBS server hostname or IP |
| Port | 8007 |
| Username | PBS username without the token suffix, for example customer |
| Realm | PBS realm, for example pbs |
| Token Name | API token name |
| Token Secret | API token secret |
| Datastore | Hosted datastore name |
| Namespace | Optional namespace from your service details |
| TLS Fingerprint | SHA-256 PBS certificate fingerprint |
Use Skip TLS Verify only for testing. For production, use the correct TLS fingerprint or a trusted certificate.
If the option is available, enable Skip Zero Chunks to avoid storing unused disk regions during full backups.
Optional: configure encryption
VirtFusion can encrypt backup data before it is sent to PBS.
Decide whether to use encryption before the first backup. Changing encryption settings later can make existing backups difficult or impossible to restore.
If you enable encryption:
- Store the encryption key or passphrase outside VirtFusion and PBS.
- Do not lose the key. Encrypted backups cannot be restored without it.
- Expect PBS deduplication to be less effective because encrypted data cannot be deduplicated in the same way as plain backup data.
Test the storage
After saving the PBS settings:
- Click
Save Settings & Testor the equivalent test action. - Select a hypervisor that should write to this PBS storage.
- Run the test.
The test must pass from every hypervisor that will use this storage. If only one hypervisor can reach PBS, only that hypervisor can back up or restore through this storage.
Create a backup schedule
- Open
Backup Manager>Schedules. - Click
Add Schedule. - Select the PBS storage.
- Select the hypervisor whose VMs should be backed up.
- Set the backup interval.
- Configure retention.
- Choose the default server access level.
- Save the schedule.
Create one schedule per hypervisor that should back up to PBS.
Run a manual test backup
- Open a server in the VirtFusion admin area.
- Go to the server backup section.
- Click
Backup Now. - Wait for the job to complete.
- Open the PBS web interface and confirm that the new backup exists in the datastore or namespace.
Restore from a VirtFusion backup
Use VirtFusion for normal VM restores:
- Open the server in VirtFusion.
- Go to the backup section.
- Select the restore point.
- Start the restore.
Restoring a disk can overwrite current VM data. Review the selected disk and restore point before confirming.
Recommended starting settings
For production hypervisors, start conservatively:
| Setting | Recommended value |
|---|---|
| Backup concurrency | 1 |
| I/O priority | Idle or Low |
| CPU priority | Low |
| Retention | Match your recovery policy |
| Time window | Off-peak hours |
Increase concurrency only after you have confirmed that backup jobs do not overload disk I/O or the network.
Troubleshooting
Storage test fails
- Confirm the hypervisor can reach the PBS server on port
8007. - Confirm the TLS fingerprint is correct.
- Confirm the datastore and namespace values are typed exactly as provided.
- Check whether a firewall blocks outbound HTTPS traffic to PBS.
Authentication fails
- Confirm the username and realm are split correctly.
- Confirm the token name is only the token name, not the full
user@realm!tokenstring. - Confirm the token secret was copied when the token was created.
- Request a new token if the old secret was lost.
Backups do not appear in PBS
- Check
Backup Manager>Jobsin VirtFusion. - Check the matching task log in PBS.
- Confirm the schedule is enabled.
- Confirm the affected server is included in the schedule and has backup access enabled.