243
edits
Tonyhanson (talk | contribs) No edit summary |
Tonyhanson (talk | contribs) No edit summary |
||
Line 52: | Line 52: | ||
==== tar ==== | ==== tar ==== | ||
tar is a Unix utility that allows you to create backup files. Here is an example: | tar is a Unix utility that allows you to create backup files. Here is an example: | ||
<pre>cd /my/system/public_html | <pre>cd /my/system/public_html | ||
Line 58: | Line 58: | ||
These commands would create a zipped file with the named "Documents_01Jan2011" which would contain all files and directories contained in the /my/system/public_html/Documents directory.<br> | These commands would create a zipped file with the named "Documents_01Jan2011" which would contain all files and directories contained in the /my/system/public_html/Documents directory.<br> | ||
It is common to group a series of backup commands into a batch file and to schedule that batch file to be run in cron. | It is common to group a series of backup commands into a batch file and to schedule that batch file to be run in cron. | ||
See your systems man pages for tar to see details on the options as these vary from implementation to implementation. | See your systems man pages for tar to see details on the options as these vary from implementation to implementation. |
edits