Usage
make-backup special-content special-content-backups
Will create the following directory structure:
special-content/
dir1/
file1
file2
special-content-backups/
${YEAR}_${MONTH}_${DAY}T${HOUR}_${MINUTE}_${SECOND}/
special-content/
dir1/
file1
file2
latest -> ${LATEST_BACKUP_DIRECTORY}
The second time you run it, it will place content in a new directory under the current date/time, but use hard links for those files that haven't changed, thereby being very space efficient.
Currently only works on local file systems, i.e. won't copy files to other servers via SSH. I accept patches though ;).