Changes

Jump to: navigation, search

OPS335 Lab 1

14 bytes added, 08:48, 14 January 2016
no edit summary
'''Perform the following steps:'''
# In your host machine as root, edit your crontab and enter the line above. Modify the setting so it will run in a couple that echo command every 2 minutes.# Wait for two minutes to pass, and check the '''/tmp/cron.log''' file to see if it was created with the expected contents. You can also check '''/var/log/cron''' file to see what jobs were run.# Edit your crontab to make automatic backups of minutes the '''/etc''' directory from now vm1, vm2, and insert that vm3 into your crontab'''/backup/vm1''', '''/backup/vm2''', and '''/backup/vm3''' every hour and overwrite the previous backup.
Wait for the minute to pass, and check that /tmp/cron.log was created with the expected contents. You can also check /var/log/cron to see what jobs were run.
 
'''Your task:''' set up cron to make automatic backups of the /etc directory from vm1, vm2, and vm3 into /backup/vm1, /backup/vm2, and /backup/vm3. These should run every hour and overwrite the previous backup. Which makes them lousy backups but they're better than nothing.
'''Record steps, commands, and your observations in INVESTIGATION 2 in your OPS335 lab log-book'''
13,420
edits

Navigation menu