== Creating a Backup ==
To create a backup of a current working virtual machine (e.g. ecc-a-17), the machine must first be brought down:
```lang=bash
$ sudo systemctl stop hmux@ecc-a-17
```
The logical volume should then be written to a file for ease of transport:
```lang=bash
$ sudo dd if=/dev/mapper/vg1-ecc--a--17 of=/backups/ecc-a-17.dd bs=1M status=progress
```
This can also be done over the network using netcat:
```lang=bash
$ sudo dd if=/dev/mapper/vg1-ecc--a--17 bs=1M | nc hostname.cse.unr.edu 7000 # on the host sending the backup
$ sudo nc -l 7000 | sudo dd of=/pool0/backups/ecc-a-17.dd bs=1M # on the client saving the backup
```
== Restoring from a Backup ==
The process for restoring a backup is more or less the same as creating one but with the arguments just flipped around:
```lang=bash
$ sudo dd if=/backups/ecc-a-17.dd of=/dev/mapper/vg1-ecc--a--17 bs=1M status=progress
```
Or, over the network:
```lang=bash
$ sudo dd if=/pool0/backups/ecc-a-17.dd bs=1M | nc hostname.cse.unr.edu 7000 # on the server containing the backup
$ sudo nc -l 7000 | sudo dd of=/dev/mapper/vg1-ecc--a--17 bs=1M # on the client restoring the backup
```
== Backing up/Restoring Using Multi-cast ==
TBD