Run from a script
PHP Code:
tar -czvf $BACKUP_DIR/$BACKUP_NAME *
I get the following greeting:
PHP Code:
tar: You may not specify more than one `-Acdtrux' or `--test-label' option
Try `tar --help' or `tar --usage' for more information.
In the script ...
PHP Code:
BACKUP_DIR="/mnt/disk3/backup"
BACKUP_NAME="scripts-`date +%Y%m%d`.tar.gz"