Open main menu

CDOT Wiki β

Changes

OPS335 Lab 1

296 bytes removed, 16:36, 14 January 2017
Automating Backups (cron)
# Edit your crontab to '''make automatic backups''' of the '''/etc''' directory from '''vm1''', '''vm2''', and '''vm3''' into '''/backup/vm1''', '''/backup/vm2''', and '''/backup/vm3''' every hour and overwrite the previous backup.
{{Admon/important |Backup your VMs!|You MUST perform a '''full backup ''' of ALL of your VMs whenever you complete your '''OPS335 labs''' or when working on your '''OPS335 assignments''':<br>[ [https://wiki.cdot.senecacollege.ca/wiki/OPS235_Lab_2_-_CentOS7_-_HD2#Part_1:_Backing_Up_Virtual_Machines Backing up Your Virtual Machines] ]. Refer to OPS235 lab2 notes on how to backup your VMs. You should backup your VMs be using the dump command, and you should use the Bash shell script that you were adviced to a USB key create in case something happens order to backup all of your host machine. Note: VM files contained in the '''/var/lib/libvirt/images''' directory have the extension in '''.qcow2''' and instead of '''.img''' (eg. for OPS235 courses prior to Fall 2016VMs.}}
'''Record steps, commands, and your observations in INVESTIGATION 2 in your OPS335 lab log-book'''
 
== COMPLETING THE LAB ==
13,420
edits