Pinboard Backup with Raspberry Pi

Use this script and add a new cronjob to run it daily (or whatever period you want).

I personally prefer JSON format over HTML.