deck icon indicating copy to clipboard operation
deck copied to clipboard

Export/import [$30]

Open jospoortvliet opened this issue 9 years ago • 56 comments

So Desk is awesome and we have decided to start using it for our marketing coordination (hi @NinaNC !)

One thing I'd like to see, but probably crazy, is a way to export boards. Both because I'm always worried something breaks but also it'd be nice to have them available off line.

Even nicer would be if the actual boards could be stored in markdown-ish text files on Nextcloud itself so I have full access to them and can keep working when flying but I realize that that is probably a bit too far fetched :roll_eyes:


There is a $30 open bounty on this issue. Add to the bounty at Bountysource.

jospoortvliet avatar Apr 04 '17 12:04 jospoortvliet

Trello import has already been discussed in #30 but as mentioned it is not on the road map currently. However if someone is willing to contribute, I'd be happy to integrate that.

From a UI perspective we could have a simple button to upload a json file like calendar does for ics files: image

I would prefer to do this in several steps, so first we make sure that json exported from deck can be imported properly and in a second step we add some detection for the trello export format and map the values properly to deck parts then.

How download it?

ahvahsky2008 avatar Mar 16 '20 13:03 ahvahsky2008

I want simple convert trello json to ics

ahvahsky2008 avatar Mar 16 '20 14:03 ahvahsky2008

Nothing like that is implemented yet, this is.the issue where we discuss possible solutions.

juliusknorr avatar Mar 17 '20 19:03 juliusknorr

Hey there,

I'd just like to let you know that due to the ongoing issue with Bountysource we're discussing ways to move to a different platform. As it looks right now, Bountysource might claim some of the money that was contributed by the community. We will try our best to prevent that. Historically we – the Nextcloud GmbH employees – simply put the claimed bounties back to other tickets until one was solved by a community member. So the money was always from the community and for the community. We'll therefore move to a better platform and currently don't post any new bounties until this situation is resolved. The current goal is to move/donate the money to Nextcloud include but details will follow in the forum post.

Hope this makes sense. If you have any questions please ask them on the forum. This comment will be copy-pasted to all open issues with bounties.

juliusknorr avatar Jun 18 '20 10:06 juliusknorr

I wrote a small python script that uses the API to copy your boards from one Nextcloud instance to another. It doesn't handle assigned users, permissions or attachments. Nevertheless, I thought it could be useful for some of you. I'm not planning to do any maintenance.

https://gist.github.com/svbergerem/5914d7f87764901aefddba125af99938

svbergerem avatar Jun 24 '20 10:06 svbergerem

hi, I just want to add that for me this is the only thing keeping me from switching to Deck. I have all my todos in Trello atm, and switching will already be a hassle, so i do not want to risk having to do that again in the future. Happy to add to the bounty, is the Bountysource thing working again (i saw a negative comment about it)?

Rik44444 avatar Sep 10 '20 08:09 Rik44444

@Rik44444 Though it is still possible, it is recommended not to add to the bounty at this time as Nextcloud are looking at alternative solutions after BountySource planned to make bounties expire after 2 years (though they did then retract those plans).

Which does make it difficult for us non-contributors to help in any way. I too am in a similar position where having manually copied everything from one instance to another in the past, I will need to migrate to another Nextcloud instance soon and am dreading the thought of having to repeat that process again! Though I will try svbergerem's script when it comes to it.

I think Deck is great and improving all the time, and I will still use it over any alternative platforms despite this issue. I'm not really in any position to ask this as I've made no contribution to this project, but it would be great just to have an update on how this is coming along?

sootstone avatar Sep 13 '20 11:09 sootstone

Also not that it really matters now other than to show the interest in this feature, but the bounty is currently at $60 as of this time.

sootstone avatar Sep 13 '20 11:09 sootstone

Please either fix this or impliment federation.

mstyp avatar Oct 02 '20 13:10 mstyp

@mstyp as i told you in the other issue: Please use GitHub reactions 👍 to show that you are affected by the same issue. Please don't comment if you have no relevant information to add!

stefan-niedermann avatar Oct 02 '20 13:10 stefan-niedermann

Now it is already $65.00 USD ;-)

ALutz273 avatar Feb 03 '21 14:02 ALutz273

@ALutz273 you're the greatest.

tensau avatar Feb 03 '21 15:02 tensau

Hi Folks!

I'm using Deck for Years now and i really like to use it, its really helping me with my chaos:) sadly there is still no easy way to Export/Import Boards..

As i already had to switch to different Hosters, sadly i had to manually re-build all of my boards:/ thats really Time-eating and a lot of work:/ is there still no way to export it to a file and to import my boards into a new Nextcloud from (the same) File?

How can i pay some Bounty e.g. to get this necissary Feature? is there a way?

With kind regards Sebastian

rhinozeross avatar Mar 03 '21 17:03 rhinozeross

I already just lost data in one of my shared boards (whole list got accidenitally removed). The lack of a backup/restore (import/export) is quite a bummer, other apps like calendar/contacts support it and that already saved my ass in the past. Please consider prioritizing it, a lot of ppl voted for this feature already. I'm happy to top the bounty but it would be good to have a trustworthy bounty provider first (any news on that ?).

varac avatar Mar 14 '21 12:03 varac

This is the export script that I use: https://0xacab.org/-/snippets/928. It pulls all boards, details and cards and dumps them as json to stdout. Still better than nothing.

varac avatar Mar 14 '21 14:03 varac

@varac Thanks for this snippet! Do you by any chance know such a script also for the restore of such dump?

th23x avatar Mar 14 '21 16:03 th23x

@varac Thanks for this snippet! Do you by any chance know such a script also for the restore of such dump?

@th23x The only reference I have is the original scipt (see https://github.com/nextcloud/deck/issues/87#issuecomment-648727278), which I only modified for my purposes. The original script copies over the decks from one to another NC instance, so it shouldn't be hard to modify the script to restore a backup to the original server. But I have not tried that so far.

varac avatar Mar 14 '21 17:03 varac

I just wanted to propose a small workaround for people worried of losing most of their information contained in their boards, like I do.

You can download your Deck boards as tasks list, and import them as tasks list if needed.

For this, you need three apps : Calendar, Tasks and Decks.

  1. Go on Deck; open the options of Deck (bottom-left corner); enable "Show boards in calendars/tasks"
  2. Go in tasks; for each of your deck, in the left menu of Tasks, click on the three dots and choose "download". This will download your board as a task list file (ics/Icalendar file).
  3. If you lose data concerning your board, go in the Calendar app; open the option of Calendar (bottom-left corner); select "import calendar"; choose the Icalendar file corresponding to your board that you backup up; et voila. Now, you can transform those tasks back into board. Comments on each card are kept; I don't know about attached files.

This solution is, of course, very imperfect. I don't know how to automatize it; and if you do import your backup back into your nextcloud after a data loss, you still have to transform the board that is under the form of tasks back into the form of a board.

An import/export function directly for Decks would be wonderful indeed, and I'm really looking forward to it.

Klemet avatar Apr 19 '21 18:04 Klemet

I just wanted to propose a small workaround for people worried of losing most of their information contained in their boards, like I do.

You can download your Deck boards as tasks list, and import them as tasks list if needed.

For this, you need three apps : Calendar, Tasks and Decks.

1. Go on Deck; open the options of Deck (bottom-left corner); enable "Show boards in calendars/tasks"

2. Go in tasks; for each of your deck, in the left menu of Tasks, click on the three dots and choose "download". **This will download your board as a task list file** (ics/Icalendar file).

3. If you lose data concerning your board, go in the Calendar app; open the option of Calendar (bottom-left corner); select "import calendar"; choose the Icalendar file corresponding to your board that you backup up; _et voila_. Now, you can transform those tasks back into board. Comments on each card are kept; I don't know about attached files.

This solution is, of course, very imperfect. I don't know how to automatize it; and if you do import your backup back into your nextcloud after a data loss, you still have to transform the board that is under the form of tasks back into the form of a board.

An import/export function directly for Decks would be wonderful indeed, and I'm really looking forward to it.

Hey @Klemet , it all works apart from the last step. So my imported boards all show up as tasks in the tasks app. Now, how to "transform tasks back into boards"? Manually?

exigu avatar Apr 20 '21 16:04 exigu

Yeah, this has to be done manually, @dtcg. That is why I consider this workaround as very imperfect. Still, you can copy/paste the cards's titles, tags and comments, allowing you to recreate the structure of your boads if needed.

Klemet avatar Apr 20 '21 17:04 Klemet