13,420
edits
Changes
no edit summary
{| width="40%" align="right" cellpadding="10"
|- valign="top"
|{{Admon/note | Backing up Files |One very important aspect of system admin is performing backups. There are many methods for backing up the data on a a computer system.<br />The following is an example of a common backup system used in Business Unix/Linux systems:<br /><br />'''Full Backup''': Backup all specified files (eg. configuration, data files, etc)<br />'''Incremental Backup''': Backup of only files that have changed since last (full) backup<br /><br />When the system is required to be fully restored, then the '''full backup''' is recovered, followed by each .<br />In this investigation, you will learn how to perform an '''incremental backup''' using the <code>find</code> utility|}}
|}
# You may have to restart the network using the correct command.
# Verify the configuration by pinging centos host ('''192.168.235.1''') and centos2 ('''192.168.235.12''')
#We will now create an '''Incremental Bbackup'''.
#Run the following Linux command: <ul> <li><code>find /etc -newer /tmp/timestamp > /root/netcfg.lst</code></li> </ul>
<ol> <li value="8">View the <code>/root/netcfg.lst</code> file. What does it contain?</li>
<li>Create a new directory called: <code>/tmp/lab6</code></li>
</ol>
{| width="40%" align="right" cellpadding="10"
|- valign="top"
|{{Admon/tip | Tip | You can create a Bash Shell script file using the ''find'' command above, give the shell script executable permissions, and use the ''crontab'' command to schedule running this script on a periodic basis.}}
|}
<li>Issue the following commands:
<ul>