Backup all SVN repos

If you need to backup your SVN repositories, then you can use this bash script to do so:

DATE=`date +"%Y-%m-%d"`
mkdir -p $BACKUP_DIR
for dir in `ls /var/svn/`; do
    svnadmin dump $RES_DIR | gzip > "${BACKUP_DIR}/${dir}.dump.gz";

This basically dumps every revision from each repository in your server, and gzip’s them and then puts them in /home/user/svn/backup under the current date

Facebook – Download *all* of your data

You can download all the data you’ve ever uploaded to Facebook if you like.

Once you are logged in, click this link: and press the “Download your information” link.

It will take a while as it packages up all images and videos too.

Facebook will email you when it’s ready and hey hoe, you can download it to see how much of a facebook whore you are!