Create a compressed tar file named "backup[date].tgz" in the home directory, containing the contents of the "/var/lib/trac/htdocs" directory.
tar -c -z -f ~/backup`date +%Y%m%d-%H%M%S`.tgz -C /var/lib/trac/htdocs .