Loading repository data…
Loading repository data…
mattab / repository
Trello-Backup is a simple script that Backups all your Trello.com boards and cards, one JSON file per board, for total peace of mind. This is a simple php script which uses the Trello.com API to securely fetch all your boards and store them on your computer as raw JSON files.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
Trello-Backup is a simple script that Backups all your Trello.com boards and cards, one JSON file per board, for total peace of mind. This is a simple php script which uses the Trello.com API to securely fetch all your boards and store them on your computer.
This is a simple php script which requires PHP installed on your system:
sudo apt-get install php7
git clone https://github.com/mattab/trello-backup.git trello-backupconfig.example.php file to config.php and fill in your details (as follows)$key to your 'Key'.php trello-backup/trello-backup.php
It will output a URL that you can visit with your browser to get the Application Token. Visit this URL. Then click 'Allow' and copy the token string.config.php and paste this token in $application_token.php trello-backup/trello-backup.php
It will create a file named trello-org-[OrganizationNameHere]-board-[NameHere].json for each of your board.
Also recommended: setup a crontab to automatically backup every day or every week.Enjoy!
If you want to backup multiple Trello accounts, you can make multiple copies of example-config.php with different file names. Run trello-backup.php once for each account, specifying the path to the config file as an argument. For example, php trello-backup.php account1.php.
Trello.com is a really wonderful free tool, but it has one technical issue 'by design': it is not Free Software that we can self host ourselves.
Also the fine weather can turn to rain pretty quickly: We cannot trust the clouds 100%.
Plus I'm pretty sure others would like to backup their Trello data!
For anyone using Trello.com who wants to ! but especially:
This little script keeps your data out of the clouds!
Trello is a free web-based project management application made by Fog Creek Software. Trello uses a paradigm for managing projects known as kanban, a method that had originally been popularized by Toyota in the 1980s for supply chain management. Projects are represented by boards, which contain lists (corresponding to task lists). Lists contain cards (corresponding to tasks). Cards are supposed to progress from one list to the next (via drag-and-drop), for instance mirroring the flow of a feature from idea to implementation. Users can be assigned to cards. Users and boards can be grouped into organizations.
Source: Trello on Wikipedia
After backuping your Trello boards, you can easily revoke your token if you wish. Go to trello.com/my/account, scroll down to "Applications" and click "Revoke". See this Trello help page for more info.
Fatal error: Maximum execution time of x seconds exceed in (Directory here). The simple fix here is to edit your php.ini file and set the max_execution_time attribute to 0 to allow your script to run as long as you need it to.
This is my first Github project! ~ Matthieu Aubry
Kuddos to Zander on Github for his help, when I was trying to use his trello-archiver.
This script officially started from this Gist!
The README Is longer than the script - I'm also practising Markdown.