TechBuzzPro

Back Up Hyper-V VMs with Synology Active Backup Business

· 6 min read · Apps & Browsers

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Yes, you can back up your Hyper-V virtual machines (VMs) using Synology Active Backup Business (AB Business). This software provides a centralized platform for backing up Hyper-V VMs to a Synology NAS, offering efficient data protection and disaster recovery capabilities. It simplifies the backup process, supports incremental backups to minimize storage space and backup time, and allows for quick VM restoration when needed. Before you begin, ensure you have a Synology NAS with sufficient storage capacity, Synology Active Backup Business installed and licensed on the NAS, and a stable network connection between your Hyper-V host and the NAS.

What You'll Need

  • A Synology NAS: This will serve as your backup destination. Ensure it has enough storage space to accommodate your VMs and their backups. Consider RAID configurations for data redundancy.
  • Synology Active Backup Business License: AB Business is a licensed product. You’ll need a valid license to use it. The license covers a specific number of agents (Hyper-V hosts).
  • Hyper-V Host: The server running your Hyper-V VMs.
  • Stable Network Connection: A reliable network connection between the Hyper-V host and the Synology NAS is crucial for successful backups.
  • Administrative Privileges: You'll need administrator access on both the Hyper-V host and the Synology NAS.

Step-by-Step

  1. Install Synology Active Backup Business on your Synology NAS: Log in to your Synology DSM (DiskStation Manager) web interface. Open the Package Center, search for "Active Backup Business," and install it.
  2. Activate Your License: After installation, launch AB Business and activate your license. Follow the on-screen instructions to enter your license key.
  3. Create a New Backup Job: In AB Business, click the "Create" button and select "Hyper-V VM."
  4. Specify the Hyper-V Host: You'll be prompted to add a Hyper-V host. Enter the IP address or hostname of your Hyper-V server. AB Business will attempt to connect and authenticate. Accept any certificate warnings if prompted. Note: Menu labels may vary slightly depending on your DSM version.
  5. Select VMs to Back Up: After successfully connecting to the Hyper-V host, AB Business will display a list of available VMs. Select the VMs you want to back up. You can select individual VMs or choose to back up all VMs on the host.
  6. Configure Backup Schedule: Define the backup schedule. You can choose from predefined schedules (e.g., daily, weekly) or create a custom schedule. Consider the criticality of your VMs when setting the backup frequency.
  7. Set Backup Destination: Choose the Synology NAS folder where you want to store the VM backups. It's highly recommended to use a dedicated folder for Hyper-V VM backups.
  8. Configure Backup Options: This is where you fine-tune the backup process. Key options include:
    • Incremental Backup: Enable incremental backups to save storage space and reduce backup time. Only changed data will be backed up after the initial full backup.
    • Compression: Enable compression to further reduce storage space.
    • Encryption: Enable encryption to protect your backups with a password. Store the encryption key securely!
    • Retention Policy: Define how long you want to keep your backups. Consider your recovery point objective (RPO) and recovery time objective (RTO) when setting the retention policy.
  9. Review and Start the Backup Job: Review all your settings carefully. Once you're satisfied, click "Apply" to create and start the backup job.
  10. Monitor Backup Status: AB Business provides a dashboard to monitor the status of your backup jobs. You can see when the last backup was performed, the backup duration, and any errors that occurred.

Common Mistakes

  • Insufficient Storage Space: Ensure your Synology NAS has enough free space to accommodate the VM backups, including future growth.
  • Incorrect Network Configuration: Verify that the Hyper-V host can communicate with the Synology NAS over the network. Check firewall settings on both devices.
  • License Issues: Double-check that your AB Business license is valid and not expired.
  • Incorrect Credentials: Make sure you’re using the correct username and password to connect to the Hyper-V host.
  • Overly Aggressive Retention Policy: Setting a retention policy that’s too short can leave you vulnerable to data loss.
  • Forgetting the Encryption Key: If you enable encryption, store the encryption key in a secure location. Losing the key will make your backups unrecoverable.

Tips

  • Test Your Backups Regularly: Periodically restore VMs from your backups to ensure the backups are valid and the restoration process works as expected. This is crucial for disaster recovery preparedness.
  • Centralize Management: AB Business allows you to manage backups for multiple Hyper-V hosts from a single console.
  • Consider Snapshot Integration: AB Business can utilize Hyper-V snapshots to create consistent backups, minimizing downtime during the backup process.
  • Monitor Performance: Pay attention to the backup duration and network bandwidth usage. Optimize your network and backup schedule if necessary.
  • Use Storage Pools: Synology Storage Pools can provide improved performance and data redundancy for your backup destination.
  • Keep Synology DSM and AB Business Updated: Regularly update your Synology DSM and AB Business to benefit from the latest features, bug fixes, and security patches.

Troubleshooting

  • Backup Job Fails to Start: Check the network connection between the Hyper-V host and the NAS. Verify that the Hyper-V host is online and accessible. Review the AB Business logs for error messages.
  • Backup Job Completes with Errors: Examine the AB Business logs for detailed error information. Common causes include insufficient storage space, network issues, or permission problems.
  • Unable to Restore VM: Ensure you have a valid backup of the VM. Check the storage space on the NAS. Verify that the Hyper-V role is installed on the host where you’re restoring the VM.
  • Slow Backup Speeds: Check network bandwidth usage. Consider enabling compression. Optimize the backup schedule to avoid peak network traffic.
  • Connection Issues: Restart both the Hyper-V host and the Synology NAS. Verify that the firewall on both devices is not blocking communication.
  • If that did not work: Check the Synology website for known issues and updates for Active Backup Business. Consult the Synology forums for community support.

Frequently Asked Questions

What is the difference between a full and incremental backup?

A full backup copies all data, while an incremental backup only copies changes since the last backup (full or incremental). Incremental backups are faster and use less storage space.

How often should I back up my Hyper-V VMs?

The frequency depends on how often your VMs change and your recovery point objective (RPO). Critical VMs should be backed up more frequently (e.g., hourly or daily).

Can I restore individual files from a Hyper-V VM backup?

No, AB Business primarily supports VM-level recovery. While it provides efficient VM restoration, granular file-level recovery is not directly supported.

What happens if my Synology NAS fails?

If your Synology NAS fails, you'll need to replace it and restore your backups to the new NAS. RAID configurations help protect against NAS failure, but they don't protect against data corruption or accidental deletion.

Can I back up VMs from multiple Hyper-V hosts to the same Synology NAS?

Yes, AB Business supports managing backups for multiple Hyper-V hosts from a single NAS. You’ll need a license that covers the number of hosts you’re managing.

Is there a cost associated with using Synology Active Backup Business?

Yes, AB Business is a licensed product. The cost depends on the number of agents (Hyper-V hosts) you need to protect. There are different license tiers available.