{"id":352,"date":"2026-05-01T02:55:12","date_gmt":"2026-05-01T02:55:12","guid":{"rendered":"https:\/\/sites.wp.odu.edu\/isaactano\/?p=352"},"modified":"2026-05-01T02:55:12","modified_gmt":"2026-05-01T02:55:12","slug":"lab-9-task-automation","status":"publish","type":"post","link":"https:\/\/sites.wp.odu.edu\/isaactano\/2026\/05\/01\/lab-9-task-automation\/","title":{"rendered":"Lab 9: Task Automation"},"content":{"rendered":"\n<p>This lab allowed me to learn how to write a script that automated backup processes on Linux. I created a new user under the name of Alice, then was able to write a script that backed up her home directory through a tar archive. I was able to write a script that used my MIDAS name and the date at the time in order to create a file name, which followed up with me moving said file into the \/var\/backups directory. I also learned how to compress files and use the crontab in order to time the script to run every 3 minutes. Some challenges included ensuring the script actually worked and appeared in the correct directory, but this lab showed me how linux admins can write tasks that are automated.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This lab allowed me to learn how to write a script that automated backup processes on Linux. I created a new user under the name of Alice, then was able to write a script that backed up her home directory through a tar archive. I was able to write a script that used my MIDAS&#8230; <\/p>\n<div class=\"link-more\"><a href=\"https:\/\/sites.wp.odu.edu\/isaactano\/2026\/05\/01\/lab-9-task-automation\/\">Read More<\/a><\/div>\n","protected":false},"author":30487,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","wds_primary_category":0},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/sites.wp.odu.edu\/isaactano\/wp-json\/wp\/v2\/posts\/352"}],"collection":[{"href":"https:\/\/sites.wp.odu.edu\/isaactano\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sites.wp.odu.edu\/isaactano\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sites.wp.odu.edu\/isaactano\/wp-json\/wp\/v2\/users\/30487"}],"replies":[{"embeddable":true,"href":"https:\/\/sites.wp.odu.edu\/isaactano\/wp-json\/wp\/v2\/comments?post=352"}],"version-history":[{"count":1,"href":"https:\/\/sites.wp.odu.edu\/isaactano\/wp-json\/wp\/v2\/posts\/352\/revisions"}],"predecessor-version":[{"id":353,"href":"https:\/\/sites.wp.odu.edu\/isaactano\/wp-json\/wp\/v2\/posts\/352\/revisions\/353"}],"wp:attachment":[{"href":"https:\/\/sites.wp.odu.edu\/isaactano\/wp-json\/wp\/v2\/media?parent=352"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sites.wp.odu.edu\/isaactano\/wp-json\/wp\/v2\/categories?post=352"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sites.wp.odu.edu\/isaactano\/wp-json\/wp\/v2\/tags?post=352"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}