Changes

Jump to: navigation, search

OPS335 - Assignment 1 (Part 1)

124 bytes added, 19:19, 29 January 2018
Create Full and Incremental Backups of cloning-source VM
# Issue the command '''su -'''
# Create a Bash shell script called '''/root/bin/assnBackup.bash''' to perform a '''full backup''' using the '''gzip''' command to backup the entire file system of your cloning-source VM to save the compressed copy to the directory path: '''/backup/full/''').
# This shell script should store each of any number of VM image file files in the "'''/var/lib/libvirt/images" ''' directory that has the extension ".qcow2" as a positional parameter to be used with a for loop. In this way, this shell script will safely backup any new VMs that are created later in this course, yet backup the existing labs and assignment VMs.
# Perform a Net-search to use the '''pv''' (''pipe-viewer'') command to show a text-based indicator of backup for EACH VM image file. You need to add the '''EPEL repository''' to install the pv command.
# Set execute permissions for this script, and '''run this Bash shell script prior to exiting your assignment work session to properly backup your cloning source'''. You should also make a copy of the backup on an external device (such as a USB key).
# Set-up via a crontab entry, an '''incremental backup''' of the '''/etc/''' directory of your cloning-source to be performed every hour to the '''/backup/incremental/cloning-source''' directory.
 
== Assignment Submission ==
13,420
edits

Navigation menu