Changes

Jump to: navigation, search

OPS335 Lab 1

152 bytes added, 11:38, 18 January 2017
Performing Full Backups
#Make certain that your virtual machines are NOT running.
#Make certain that you are logged in as '''root ''' user on your host machine.
#Refer to OPS235 lab2 on backing up your VMs using the '''gzip''' command [https://wiki.cdot.senecacollege.ca/wiki/OPS235_Lab_2_-_CentOS7_-_HD2#Part_1:_Backing_Up_Virtual_Machines OPS235 Lab2 - Backing up VMs]
#Make certain that you have performed a full backup for '''vm1''', '''vm2''', and '''vm3'''.
It is recommended to create a Bash shell script to automate the backing up of ALL your VMs in sequence. You can do this by running a for loop using a list for vm1, vm2, and vm3.
#<ol><li value="5">Create the sub-directory '''/root/bin'''</li>#<li>Create a Bash shell script called '''/root/bin/fullbackup.bash''' that will backup all of your other vms (i.e. vm1, vm2, and vm3) one at a time using the '''gzip''' command into the respective path-names: '''/backup/full/vm1''', '''/backup/full/vm2''', and '''/backup/full/vm'''</li>#<li>Set execute permissions, and run the shell script to verify that you shell script works.</li><li>It is also recommended to backup to your USB key as well (qcow2 images and xml config files).</li></ol>
13,420
edits

Navigation menu