Open main menu

CDOT Wiki β

Changes

OPS245 Lab 2

8 bytes added, 10:42, 24 January 2021
Part 3: Using Shell Scripts for VM Backup & Management
&nbsp;done<br>
&nbsp;echo "Backing up VM #$numanswer"<br>
&nbsp;gzip < /var/lib/libvirt/images/centos$numanswer.qcow2 > ~YourRegularUsername/backups/centos$numanswer.qcow2.gz<br><br>
&nbsp;echo "VM #$numanswer BACKUP DONE"<br>
else<br>
572
edits