#!/bin/sh
# --alter=secu
DIR=/var/backups/system
FILE=${DIR}/`/bin/date -I`_data
# Commands
/usr/local/bin/dar -m 256 -y -s 600M -D -R / -c $FILE -Z "*.gz" \
-Z "*.bz2" -Z "*.zip" -Z "*.png" -P home/`/usr/bin/whoami` -P tmp \
-P mnt -P dev/pts -P proc -P floppy -P burner \
-P cdrom -P var/backups > /dev/null
/usr/local/bin/dar -t $FILE > /dev/null
/usr/bin/find $DIR -type f -exec chown .`/usr/bin/whoami` \{\} \;
/usr/bin/find $DIR -type f -exec chmod 440 \{\} \;
syntax highlighted by Code2HTML, v. 0.9.1