Automate export (backup) of Trello boards

J. Allen picture J. Allen · Jun 8, 2012 · Viewed 12.9k times · Source

When logged into trello in a browser you can easily backup a board by hitting a URL like this: https://trello.com/board/replaceWithMyBoardId/my-board-name.json

I'd like to write a script that will go through a given set of boards and automatically archive the json export.

I've already got a developer key, and I've already got an oauth token. I can successfully go to https://api.trello.com/1/board/replaceWithMyBoardId?key=replaceWithMyKey&token=replaceWithMyToken but that only gives me basic board info. I want to get the full board export like I would through the browser.

Any ideas?

Answer

Matt picture Matt · Jan 12, 2013

If you want to download .json files automatically for all your Trello.com boards, I wrote a small script that does it using the API: Trello-backup on Github

I setup the script to run as a daily task and all my valuable trello boards/cards/lists are automatically saved on my computer as JSON files. Good for peace of mind!