Create an encrypted backup of your Pinboard.in bookmarks to Dropbox or a raw backup (no encryption) to SpiderOak.
- Retrieves path to Dropbox.
- Retrieves Pinboard.in api token from .netrc.
- Retrieves json file with bookmarks.
- Encrypts json file to Dropbox.
- Execute deploy.sh (copies script to "~/Scripts/Applications/Pinboard/").
- Get the common-scripts repository and execute deploy.sh.
- Get your API token.
- Add a pinboard.in entry with your API token (username:token) to your .netrc in your home folder.
machine pinboard.in
login username
password token
- Create a .backup folder in your home.
- Write your passphrase in a .passphrase.txt file inside that folder.
- Cron the backup_bookmrks.sh script.
- I use a Hazel rule that cleans old backups.
- Python
- Dropbox
- Pinboard.in account