Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hjorslev/HyperVBackup
HyperVBackup is a PowerShell module that allows users to backup VMs from a Hyper-V host.
https://github.com/hjorslev/HyperVBackup
backup hyper-v powershell
Last synced: 3 months ago
JSON representation
HyperVBackup is a PowerShell module that allows users to backup VMs from a Hyper-V host.
- Host: GitHub
- URL: https://github.com/hjorslev/HyperVBackup
- Owner: hjorslev
- License: mit
- Created: 2018-06-15T22:52:30.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-08-05T20:31:52.000Z (over 5 years ago)
- Last Synced: 2024-05-18T05:33:55.626Z (6 months ago)
- Topics: backup, hyper-v, powershell
- Language: PowerShell
- Homepage: https://www.powershellgallery.com/packages/HyperVBackup
- Size: 320 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
- jimsghstars - hjorslev/HyperVBackup - HyperVBackup is a PowerShell module that allows users to backup VMs from a Hyper-V host. (PowerShell)
README
# HyperVBackup
[![Build status](https://img.shields.io/appveyor/ci/hjorslev/HyperVBackup.svg?style=for-the-badge)](https://ci.appveyor.com/project/hjorslev/HyperVBackup)
[![PowerShellGallery Version](https://img.shields.io/powershellgallery/v/HyperVBackup.svg?style=for-the-badge)](https://www.powershellgallery.com/packages/HyperVBackup)
[![PowerShellGallery Downloads](https://img.shields.io/powershellgallery/dt/HyperVBackup.svg?style=for-the-badge)](https://www.powershellgallery.com/packages/HyperVBackup)## Synopsis
HyperVBackup is a PowerShell module that allows users to backup VMs from a Hyper-V
host.## Description
HyperVBackup is a PowerShell module that allows users to backup VMs from a Hyper-V
host. The module backups can be stored in a directory or compressed to a .7z file.Using the parameter -Retention the user can evaluate the age of the backups
each time the cmdlet is executed and delete old backups if necessary.## Installation of HyperVBackup
The module is published in the [PowerShell Gallery](https://www.powershellgallery.com/packages/HyperVBackup).
Run the following in an elevated prompt:
```powershell
Install-Module -Name HyperVBackup
```## Using HyperVBackup
### Backups all VMs on a Hyper-V host
```powershell
Get-VM | Backup-VM -Destination - 'D:\Backup\Hyper-V'
```### Remove old backups
```powershell
Remove-VMBackup -Destination 'D:\Backup\Hyper-V'
```