How to Configure a VM Export Volume#
In VergeOS, you can create a volume specifically for exporting selected virtual machines (VMs). This export volume can then be used with third-party backup software to back up the VMs. The volume contains VM snapshots from the most recent export.
Steps to Configure a VM Export Volume#
1. Preparing the VMs for Export#
- Edit the VMs you want to export:
- Navigate to the VM settings and enable the option for Allow Export.
2. Setting Up the NAS Service#
To host the VM export volume, you will need to create and configure a NAS service:
- Navigate to NAS > NAS Services.
- Click New.
- Provide Name, Hostname, TimeZone, and Networking for the NAS service.
- Click Submit to initialize the NAS service.
3. Starting the NAS Service#
Once the NAS service is created:
- Select the NAS service from the list.
- Click Power On to bring the NAS online and prepare it to host the export volume.
4. Creating a NAS User#
You’ll need to create a user to access the NAS:
- Navigate to NAS > NAS Services > The NAS Service you created.
- Click NAS Users > New.
- Provide a username and password.
5. Creating a New Volume for VM Export#
- Navigate to NAS > Volumes > New
- Provide a Name for the volume and choose VergeOS VM Export as the filesystem type.
- Select the appropriate NAS service to host the export volume.
- Make sure Quiesced is checked.
- Adjust the number of exports to store.
- Click Submit.
6. Starting the VM Export#
- Under Export VMs, select Start to initiate the VM export process.
- Confirm by clicking Yes at the prompt.
Setting up a CIFS Share for the Exported Data#
To access the exported VM snapshots, set up a CIFS share on the NAS volume:
-
Create a CIFS Share: - Navigate to NAS > CIFS Shares > New. - Select the export volume you created earlier as the target volume. - Provide a Share Name and assign the NAS user you created in step 4 to access the share.
-
Access the Share: - Browse to
\\IPorDNSnameoftheNAS\CIFSShareYouCreated
. - Use the NAS user credentials when prompted.
!!! note "For Windows Users" You may need to edit the Group Policy (GPO) or modify the Windows Registry to connect using the Guest account if Guest mode is enabled.
Automating the VM Export#
You can schedule regular exports by setting up an automated event:
- Navigate to the VM Export Volume.
- Select Events > New.
- Select *Scheduled as the Task Triggered by.
- Provide a Name for the task.
- Select VM Exports for section.
- Ensure VM Exports as the volume you created previously.
- Configure the event to trigger the export at your desired intervals.
- Click Submit
By following these steps, you'll have a properly configured VM export volume that can be used with third-party backup solutions, along with automated export scheduling.
Document Information
- Last Updated: 2024-08-29
- vergeOS Version: 4.12.6