backup

How to back up your Drupal's files directory

Recently I wanted to make sure that all images and other files from our server are downloaded to our development environment. This is a short note on how to do this effectively.

Naturally re-downloading all of the files is long, a waste of bandwidth and so on, so I decided to use rsync, a smart tool that can actually look for changed, or new files and only download those. In addition, it is smart enough to learn about files to exclude, which is really useful when someone is using imagecache for instance.