QNAP Virtualization Station – how to setup backup and recover from it
QNAP Virtualization Station offers several backup methods:
- You can periodically manually export a virtual machine to the .qvm configuration file.
In case of a failure, you can simply import this virtual machine using the QNAP Virtualization Station
without any problems (if the virtual machine itself was not damaged).
- The second method is automatic backup of virtual machines, which is built into the QNAP Virtualization Station
application. It automatically creates backups of one or more virtual machines: backup of .img files with data
and .json with the configuration. This method also allows you to restore a virtual machine.
- The last method is snapshots. They are needed if, for example, you have deleted
or changed something on the guest OS and want to return to the previous state of the virtual machine.
In case of a serious failure, you will not be able to restore the virtual machine in full using snapshots.
In this article, we will look at backup using the first two methods.
The first method:
- Go to the Virtual Machines tab and click on the gear icon in the row with the desired virtual machine.
- Click the Export button in the opened window.
- Select the file format and the place where it will be copied. Click Start and wait for the end of the process.
- After the file export process is complete, you can use it to transfer the virtual machine
to another QNAP device or to recover from a crash.
To restore a VM from a file .qvm, just click the Import Virtual Machine button,
specify the path to the file and then follow the on-screen instructions.
The second method:
- Go to the Data Protection tab and click on the Create button.
- Select Backup, specify the name of the plan and its description (if necessary).
- Select the needed VM(s)
- Then specify the location the backups will be saved to.
- Also specify the number of backups for each virtual machine that can be on the disk
at the same time (old copies will be deleted) and set a schedule.
- On the final screen, check the settings and click Create.
- If you have selected the option Immediately backup the VM,
the backup creation process begins immediately after configuration.
- In case of a failure, just open the Data Protection tab again and click Restore.
Then select the backup folder.
Select the desired one from the list.
Select the recovery method and specify the parameters for the virtual machine.
At the end, you can check all the parameters again
and click the Restore button, which launches the recovery process.
However, it may happen that backups have not been configured correctly, and/or .qvm files have been saved
for a long ago, and there is no necessary data, or manual export was also not carried out.
Or something has happened to the configuration and it is not possible to transfer/restore virtual machines.
In this case, you can at least try to restore data from the virtual machine image file.
We will discuss exactly how to do it best in this article.