I have just backed up all my photos from flicrk to local drive.

I used Offlickr2 https://github.com/hugoh/Offlickr2

The command I had to use was:
php Offlickr2.php -A -d backupdir -P -i 94569284@N00 -v

94569284@N00 is my flickr ID that I have retrieved using the website http://idgettr.com/

Good luck backing up photos.

Backup of metadata is not really as useful as I though it would be – it stored the comments and metadata into separate XML files.

I am planning to write a tool to embed that metadata into JPEG metadata section at some point soon.