hi all.
i have a cron job set for weekly backups of my server and they are starting to get to the point where i have to split them for single layer dvds
i found that i can use split to split them at 4gb
however, the files don't have the date in the filename
here is the command i use to start backups
Code:
tar -cvf - --exclude /home/jamiesEmb --exclude /home/backup /home /etc/httpd/conf /var/lib/mysql | split -a 2 -b 4608m - /home/backup/www_backup`date '+%Y%m%d'`.tar.gz
im getting the following files
www_backup.tar.gz.aa
www_backup.tar.gz.ab
instead of
www_backup20071007.tar.gz.aa
www_backup20071007.tar.gz.ab
any ideas?