Changes

Jump to: navigation, search

OPS335 Assignment 1a - Murray Saul

35 bytes added, 09:02, 23 January 2017
Create Full and Incremental Backups of cloning-source VM
# Issue the command '''su -'''
# Create the following directory: '''/root/bin'''
# 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 any VM image file in the "/var/lib/libvirt/images" directory that has the extension ".qcow2" as a positional parameter to be used with a for loop.
# Perform a Net-search to use the '''pv''' command to show a text-based indicator of backup for EACH VM image file. You need to add the EPEL repository (taught in OPS235) 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 Cron for an '''incremental backup ''' of the /etc/ directory of your cloning source to be performed every hour to the /backup/incremental/cloning-source directory(like you did in lab1).
== Assignment Submission ==
13,420
edits

Navigation menu