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.
| < Prev | Next > |
|---|





