From FamilySearch Wiki
Jump to: navigation, search

tar is a Unix utility that allows you to create backup files. Here is an example:

cd /my/system/public_html

tar --create --gzip --file="Documents_01Jan2011" Documents

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.

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.

Return to Genealogical Society Webmasters