On this page

9.2 Databases, VMs and whole machines

Application, VM and image backups have their own restore dialogs. They open on the Restore page once the matching Restore type is chosen and a snapshot is open: Application, Virtual machine or Disk image / bare metal. If you do not want to use these dialogs, any of these snapshots can also be restored as plain files into a folder (see section 9.1 Restoring files and folders).

Databases and applications

Depending on the workload, the snapshot shows Restore database, Restore data directory, Restore volumes or Restore VM. The dialog is titled "Restore application" or carries the workload name. The agent connects the way the job that made the snapshot did, using the job's credentials.

Common fields

Option

Effect

Default

On agent

Machine that restores. If it is offline, the restore starts when it connects. The engine's database client tools must be present there (except for SQL Server).

machine of the backup

Database

Picks the database in the snapshot (dropdown; if no list is available, type the database name).

–

Restore as: New database

Restores under the name typed in New database name; the original database stays untouched.

selected

Restore as: Replace {name}

Overwrites the original database. The dialog asks for confirmation ("Overwrite and restore"); changes since the backup are lost.

–

Drop {name} first if it exists

Only for a new database with a different name: a database of that name that already exists is dropped and replaced.

off

Per engine

Option

Applies to

Effect

Apply saved roles first

PostgreSQL (dump)

Applies the roles saved with the backup before the database is loaded.

Run DBCC CHECKDB afterwards

SQL Server

Checks the restored database; errors fail the run.

File locations (collapsible): Data files, Log files, Temporary folder for .bak files

SQL Server

Target folders for data and log files (empty: instance default) and the folder the .bak file is written to before it is loaded (empty: as in the job).

Point in time

SQL Server (with log backups), PostgreSQL PITR

As of this snapshot or At any time (Restore to this time). The dialog shows the available range ("Available from … to …"). If the time is outside it, the run fails and reports the latest restorable point. The agent finds the full, differential and log backups it needs in the repository itself.

Target folder (Empty folder on the agent)

PostgreSQL PITR, MariaDB physical

For PITR this becomes a data directory that recovers to the chosen time when PostgreSQL is started on it (for example pg_ctl -D <folder> -o "-p 5433" start); delete pdc_restore_wal afterwards. For a physical MariaDB backup the folder becomes the data directory of a new MariaDB server.

Prepare the backup (--prepare) so the server can start on it

MariaDB physical

Prepares the physical backup.

Single tables (PostgreSQL and MariaDB dumps)

For dump backups the button Tables… appears next to the database. The dialog Tables of {database} reads the dump, lists Table, Data and Foreign keys to, and offers search as well as Select with referenced tables. The default is Whole database. The target database must be named under New database.

Option

Effect

Replace tables that already exist in the target

Replaces tables of the same name in the target database. Without the check mark existing tables stay untouched; the target database is never dropped.

Structure only (no rows)

Creates the tables without data.

Keep foreign keys to tables that are not restored

MariaDB only. For PostgreSQL, foreign keys to tables that are not restored are left out.

Docker

The dialog Restore Docker volumes lists the named volumes of the snapshot under Volumes (without volumes: "No named volumes in this snapshot"). Missing volumes are created.

Option

Effect

Volumes

The volumes to restore.

Compose files

Restores the saved compose files together with .env.

Bind mounts

Restores the data of the bind mounts.

Stop containers using them meanwhile

Stops containers that use this data while the restore runs.

Bind mounts and compose files to

Target folder; empty means original location.

The dialog asks for confirmation before overwriting. At least one volume or one of the two file kinds must be selected.

Virtual machines

VM snapshots come from Hyper-V or Proxmox jobs. The agent must run on the hypervisor (Hyper-V host on Windows, Proxmox node on Linux). The dialog is titled Restore Hyper-V VM or Restore Proxmox guest. While it reads the snapshot it shows "Reading the snapshot…"; if the snapshot holds no VM it reports "The snapshot holds no VM".

Hyper-V

Option

Effect

Default

VM in the snapshot

Picks the VM if the snapshot holds several.

–

On Hyper-V host

Agent of the host that restores.

source agent

Restore as: New VM next to the original

Creates a new VM with a new VM ID; the original VM stays as it is.

selected

Name

Name of the new VM.

{name} (restored)

Folder for configuration and disks

Empty or new folder on the host for the configuration and virtual disks. Required; without it the restore does not start ("Choose an empty folder for the new VM").

–

Restore as: Replace the original VM

Turns the original VM off and removes it with its virtual disks, then restores the backup with the same VM ID and disk paths. The dialog requires typing the VM name to confirm.

–

Start the VM after the restore

Starts the VM when done.

off

Proxmox

Option

Effect

Default

Guest in the snapshot

Picks the guest (VM or container) from the snapshot.

–

On Proxmox node

Agent of the node.

source agent

VM ID

Target ID of the restored guest (100 or higher). The dialog suggests a free ID and warns if the ID exists on the node. IDs used anywhere in the cluster are refused unless replaced.

free ID

Storage

Proxmox storage to restore to. Empty: original storages.

empty

Transfer: Pipe

The archive is piped into qmrestore / pct restore.

selected

Transfer: Temp file

The archive is written to a temporary file first. Give the Temporary folder (needs room for the whole archive; empty: agent state folder/tmp).

–

New MAC addresses

Assigns new MAC addresses so the copy can run next to the original.

–

Replace an existing guest with this ID

Destroys an existing guest with this ID and replaces it (qmrestore/pct --force). Confirmation required.

off

Start the guest after the restore

Starts the guest when done.

off

Proxmox archives are restored under a new ID. Alternatively, Restore as files… writes disk segments, configuration and archive parts into a folder.

Whole machines (disk images)

Image backups save whole disks (partition table, EFI, recovery and data partitions). There are three ways to restore.

Single files from an image

In the snapshot open /image/disk0/files/<partition>/ (NTFS, ext2/3/4, FAT, XFS v4/v5 and exFAT) and download the files as ZIP. Unreadable file systems (btrfs, ReFS and others) are listed but cannot be read. Restoring paths below files/ to an agent is not possible.

Write to a disk or an image file (running agent)

In the snapshot choose To disk…. The dialog is titled Restore disk image.

Option

Effect

Default

On agent

Machine whose disk is written. If it is offline its disks cannot be listed; then choose an image file or another agent.

source agent

Disk in the snapshot

Which saved disk (for example disk0) is written.

–

Target kind: Disk

Lists the disks of the agent with Holds now, Size, Table and Usable. Not usable: the system disk ("holds the running system"), disks in use, and disks that are too small (the target must be at least as large as the image). Warnings appear for removable disks and disks with a partition table: everything on them is overwritten.

–

Target kind: Image file

Writes into a file on the agent (Image file on the agent; created or overwritten). Optional Size (GiB); empty: as the image.

–

Grow the last partition to the end of the disk

Only for a target larger than the image. Grows the partition table and the last data partition; the file system keeps its size until it is grown from the restored system (Windows: Disk Management "Extend Volume"; Linux: resize2fs, xfs_growfs). For files the label reads … to the end of the file.

off

Quick rollback: write only blocks that differ from the backup

Only for the disk the image was taken from, on the source agent, at the same size. Every block of the target is read and its SHA-256 compared with the backup; only differing blocks are fetched and written. A different disk (other partition table ID or size) is refused.

off

Confirmation

To overwrite a disk, type the device name ("Type the device name to confirm"). The button reads Overwrite {device} or Write image file.

–

The disk the running system lives on cannot be overwritten from itself; use the recovery medium for that (see section 9.6 Recovery media and bare-metal restore).

Bare metal

For machines that no longer boot, or for new hard disks, boot from the recovery medium (see section 9.6 Recovery media and bare-metal restore). The interface shows the hint "Bare metal: boot the new machine from the recovery medium."

Last updated Nov 16, 2026