Changes

Jump to: navigation, search

OPS335 Lab 1

165 bytes added, 14:58, 14 January 2017
Performing Full Backups
'''Perform the following steps:'''
#Make certain that your vm1 machine is running.#Make certain that you are logged in as root user on your host machine.#On your host machine, run the following commands:
 === Performing Incremental Backups ====
<ol><li value="4">If rsync prompts for a password, make certain that you completed the '''SSH key''' section above, and that you assigned the keys for the <u>appropriate user</u><br>(in this case, for the '''root user for both the hostname and vm1'''!)</li><li>When the rsync command runs correctly, you should see all the files from vm1 being copied over to your host machine.</li><li>Run the rsync command again. Notice that the second time nothing is copied over to your host machine since none of the files have changed on your vm1 machine.</li><li>Create a new file in vm1's '''/etc/''' directory, and rerun '''rsync'''. Confirm on your '''host machine''' that only that file that was created on your vm1 machine actually got backed up to your host machine.</li><li>Repeat the above steps to create backups for your '''vm2''' and '''vm3''' machines on your host machine as well (for the respective directories: '''/backup/vm2''' and '''/backup/vm3''').</li></ol>
 
 
=== Automating Backups (cron) ===
13,420
edits

Navigation menu