Sonora Communications, Inc.

  • Increase font size
  • Default font size
  • Decrease font size

Backup Using 'tar'

E-mail Print PDF

To perform a partial tape backup using 'tar', perform the following as root.  This works for most any Linux or any OS with 'tar' with the specific example being for an SME Server.

First, change to the directory to be backed up which is /home/e-smith in this case.

cd /home/e-smith
tar cpvvf /dev/st0 --exclude='*.m4a' --exclude='*.tmp' \
--exclude=tmp --exclude=mrtg --exclude=temp \
--exclude=support --exclude='Recycle Bin' \

--exclude=';Trash' --exclude=spambucket . > ~/tar_backup.log

This will exclude several directories and file types.

Last Updated on Sunday, 06 July 2008 17:40  

Your external IP

You are connecting to this site from: 38.107.179.233

Secure Client Login

Email Address:

Password: