trello-backup icon indicating copy to clipboard operation
trello-backup copied to clipboard

Any way to Restore data to Trello?

Open hrsetyono opened this issue 8 years ago • 8 comments
trafficstars

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?

hrsetyono avatar Apr 09 '17 13:04 hrsetyono

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!

mattab avatar Apr 10 '17 20:04 mattab

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.

hrsetyono avatar Apr 11 '17 01:04 hrsetyono

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 avatar Oct 28 '18 10:10 CodeBrauer

@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 avatar Jan 27 '19 08:01 alexkuc

@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.

CodeBrauer avatar Jan 28 '19 10:01 CodeBrauer

is this going to be happening as I would love to use this to backup and restore boards with this.

KaptianCore avatar Aug 22 '19 04:08 KaptianCore

Are there any other tools, Open Source Boards, etc. that can work with the Backup json Files??

wblessen avatar Jan 07 '22 07:01 wblessen

I haven't tested it, but maybe this project offers import of the JSON? https://github.com/wekan/wekan

mattab avatar Sep 29 '23 04:09 mattab