Flexible Hyper-V Backup Utility A substantial update in terms of changes made under the hood, but I’ve also added a few new options requested by users. The biggest change is that errors are now handled properly and reported to the user in a reliable manner. All the changes are summarized below. Version 20.07.13 Added -ShortDate option. This will create backups with only the Year, Month, Day as the file name.
Flexible Hyper-V Backup Utility Just a minor update to fix a non-critical issue with the previous version and to bring it in line with the recent update of the Image Factory Utility. 2020-02-28: Version 20.02.28 ‘Artifact’ Fixed e-mail report extra line breaks in Outlook 365, Version 2001. Config report matches design of Image Factory Utility. Improved and simplified code. Hyper-V Backup Utility can be downloaded from: The Microsoft PowerShell Gallery GitHub See the full documentation available here.
Flexible Hyper-V Backup Utility I’ve spent the past week away from home, and so I’ve been working on refactoring my Hyper-V Backup Utility and adding new features requested by users. Version 20.02.14 ‘Valentine’ Current known issues: The e-mail report has extra line breaks in Outlook 365, Version 2001. New features: Refactored code. Fully backwards compatible. Added option to use a working directory to stage backups before moving them to final backup location.
Download it from the Microsoft TechNet Gallery the PowerShell Gallery and GitHub. Today I’ve released a minor update to my Hyper-V Backup Utility. In version 4.4 I’ve added more feedback when the script is used interactively. Whether you are running Hyper-V on a Windows 10 desktop or a Windows Server 2016 cluster, this utility can be used to backup your virtual machines. My original post with the full documentation is available here.
Download it from the Microsoft TechNet Gallery the PowerShell Gallery and GitHub. Today I’ve released an update to my Hyper-V Backup Utility. In version 4.3 I’ve added the ability to specify the Hyper-V Virtual Machines you wish to backup using a TXT file. I’ve also improved some of the commenting and cleaned up some of the code. Whether you are running Hyper-V on a Windows 10 desktop or a Windows Server 2016 cluster, this utility can be used to backup your virtual machines.
Download it from the Microsoft TechNet Gallery the PowerShell Gallery and GitHub. Today I’ve released an update to my Hyper-V Backup Utility PowerShell script. Version 4.1 adds zip file creation and the ability to keep a history of Virtual Machine backups. These new features are included along with the ability to backup Virtual Machines using the built-in Hyper-V export function, meaning that the VMs do not need to be shutdown. However if the Hyper-V host lacks the permissions necessary to perform the export, it can be configured to shutdown the Virtual Machines and backup through a file-based copy operation.
Flexible Hyper-V Backup Utility Hyper-V Backup Utility can also be downloaded from: The Microsoft PowerShell Gallery GitHub A demonstration video is available on my YouTube channel. Please consider supporting my work: Sign up using Patreon. Support with a one-time payment using PayPal. If you’d like to contact me, please leave a comment, send me a tweet or DM, or you can join my Discord server. -Mike
UPDATE: This post is old and intended as a walk through on how my original script was put together for those wishing to learn PowerShell. For the finished, up-to-date script please check out this post and you can download the script from my TechNet profile. I previously posted a quick and dirty Hyper-V backup script that was very basic but did the job required at the time. I always wanted to revisit it and improve it.
I’ve replaced this script with a much more robust script that will backup each VM, including checkpoints/snapshots. You can find that post here and download the script from my TechNet profile. Let’s celebrate the holiday season with a quick PowerShell script to backup a Hyper-V server…or maybe you just need a quick and dirty, belt and braces backup script for your Hyper-V based VMs. It’s a small, quick script leveraging Hyper-V’s PowerShell module and some traditional command line utilities, like robocopy.