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: | |||
<pre>cd /my/system/public_html | |||
tar --create --gzip --file="Documents_01Jan2011" Documents</pre> | |||
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. | |||
See your systems man pages for tar to see details on the options as these vary from implementation to implementation. | |||
== Basic Shell Programming == | == Basic Shell Programming == |
edits