Skip to content

ploedige/nextcloud-deck-export-import

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

nextcloud-deck-export-import

This code is a fork of the keitalbame/nextcloud-deck-export-import

The script was split up to enable export to a json file and import of that json file.

Why in hell would I ever need this functionality?
Valid question. I needed it because I fucked up my Nextcloud installation inside a Proxmox VM. The web GUI took upwards of 30s to load any page. After two weeks of trial and error trying to figure out the problem I was still unable to fix this issue. I decided to completely rebuild my Nextcloud installation. Since the new install is intented to run on the same domain as the old one I needed a way to store the exported data before reimporting into the new installation.

Before run the script

If you have 2FA configured, you need to temporarly disable it. Reenable it after import is finished.

How to run

  1. Clone repository
    git clone https://github.com/keitalbame/nextcloud-deck-export-import.git
    
  2. Change to folder
    cd nextcloud-deck-export-import
    
  3. Adapt variables for your instances:
    • export script:
      • urlFrom
      • authFrom
      • outFile
    • import script:
      • inFile
      • urlTo
      • authTo
  4. Run python script
    • export:
      python nextcloud-deck-export.py
      
    • import:
      python nextcloud-deck-import.py
      

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%