Bash script to dump your Redmine db (psql) and files - http://www.redmine.org/