Export / Import

Hello. Is there anyplace I can go for a step by step guide to import and export decks? I have three different nextcloud servers and all three have different deck boards that I have to mannually keep in sync. one. card. at. a. time. I am really tired of having to manually sync them.

I found a python script that says it does it, but I dont know how to code or use python.

Regarding the mentioned python script: Are you using windows or linux as operating system?

I guess you mean this script:

  1. Download it
  2. Replace lines 2-7 with your Nextclour instance URLs, usernames and passwords
  3. Step 4 depends on your operating system: See instructions to execute the script on windows and linux
1 Like

this does not work for me. I am using debian10 linux. I renamed the script and made it executable and replaced all the urls and passwords and stuff.

Every time I try to run the script it says:

File “NC1-NC2.py”, line 13
f’{urlFrom}/index.php/apps/deck/api/v1.0/boards’
^
SyntaxError: invalid syntax

Also, one of the three servers I am using does use selfsigned certs, and never touches the internet (which does break a bunch of nextcloud stuff). will i need to not use https in the urls?

The script worked like a charm for me. Regarding the syntax error: the script is written for the python3 executable. So instead of python, use python3.

For anybody who wants to export / import card comments and attachments too, I made a fork from the mentioned Gist and added the API methods to export / import card comments and attachments. Please note: Comments are posted with the specified user!