Skip to content

Export all your Trello boards from multiple organizations at once !

Notifications You must be signed in to change notification settings

aroy314/export-trello-boards

Repository files navigation

Export Trello Boards

Description

This Node.js script will take all your boards from an organization and export them in the same JSON format as you would have by exporting manually (trello.com/b/{board_id}.json) BUT will do it with the Trello API and not the /b/{board_id}.json path.

Why ?

The /b/{board_id}.json path is limited to small boards, it gets a 504 timeout for big boards (over 600 cards, 3500 attachments and 1600 checklists), something that would create a JSON file over 10 Mo. So I wrote this script to be able to back up my biggest Trello boards.

Credits : I used this node wrapper for Trello API

How to use

  1. Clone this repository on your computer
  2. Make sure node.js and npm are installed on your computer node -v && npm -v. This script has been developed with node v18.17.1 and npm 9.9.2
  3. Log in to Trello and visit trello.com/app-key to get a token and app key. Fill the file config.json with them.
  4. Fill also the organizationIds which is what you have in the URL of your organization dashboard (trello.com/w/{organizationId}). Note you can provide multiple organization IDs in the array ("organizationIds": ["YOUR_ORGANIZATION_ID_1", "YOUR_ORGANIZATION_ID_2"])
  5. Install packages npm i
  6. Run it npm run export
  7. Your export will be available in the directory export/YYYY-MM-DD with one folder per organization having one json file per board

Changelog

v1.0 - 2023-01-04

  • Functional script to fetch all boards of an organization, their lists, cards (with attachments), actions, custom fields, checklists and members

v1.1 - 2024-03-22

  • Changed organizationId to organizationIds in config.json to allow multiple organizations to be exported
  • Bumped node version from 16 to 18

Feedback

You found a bug? You need a new feature? You can create an issue if needed or contact me on Twitter.

About

Export all your Trello boards from multiple organizations at once !

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published