trello-backup
trello-backup copied to clipboard
Any way to Restore data to Trello?
I can export the JSON, but can't find any way to restore it back.
Googling says it needs to import via API, is there existing code that helps this?
Hi @hrsetyono - import may not exist yet, or I don't know about it yet. But it would for sure be great to have a similar script to re-import the trello data back into Trello!
Hi @mattab thanks for the reply. This is the article I'm referring to http://help.trello.com/article/751-importing-data-into-trello
It seems there's API to post it back, but the problem is the Image is not backed up.
For now, I'll have to do with copying the Board to my Personal space every now and then.
I'm currently working on it. This not an easy job, because each extra feature (votes, checklists, attachments etc) have to be created separately. This is a bit problematic.
Also many features after an import are lost (Actions, PowerUp Settings etc.) - this work contains a lot of research.
My first attempt using a PHP script was a big fail 😂 - a Browser Userscript/Chrome Extension is much easier.
Also I will take a look at Import2 Wizard, they offer a CSV import for Trello
@CodeBrauer The way I see it, there are 2 options to pursue - REST API and Zapier. REST API looks very promising. My gut feeling is telling that REST API gives you more power but requires more time while Zapier is somewhat limit yet you will get results faster. What do you think?
@alexkuc I started already using the REST API.
Basic example:
POST /boards/
POST /boards/{id}/members for each member
POST /lists for each list
POST /cards/ for each card
POST /labels/ for each label
So this would be a basic example.
Now to be complete you would have to extend all this for each feature like:
- checklists (create checklists, update their state (checked or not))
- customfields (with their values)
- attachments (upload the files, attach them - whats about Google Drive attachments?)
- votes
- comments
- maybe even actions? (like "John Doe" created a card yesterday)
- powerups?
- and many more...
The main thing is as I said: Basically every action a user does in the Trello UI to change a state - has to be somehow implemented in the importing process. And if you don't support a certain feature - you have to tell it to the user, so he knows.
is this going to be happening as I would love to use this to backup and restore boards with this.
Are there any other tools, Open Source Boards, etc. that can work with the Backup json Files??
I haven't tested it, but maybe this project offers import of the JSON? https://github.com/wekan/wekan