ckan / ckan/ideas

complete dump + restore via API

Open
#54 0 comments 0 reactions 0 assignees View on GitHub
CKAN Extension Core CKAN
Dominant language
No language data
Stars
39
Forks
1
PR merge metrics
No merged PRs in 30d

Description

I'd like to be able to collect all the datasets, orgs, groups and users from a ckan instance and load them again via the API if I have admin access on both instances.

I can almost do this with `ckanapi dump` and `ckanapi load`, but users (including sensitive information like their emails and hashed passwords) and file contents in the filestore aren't yet supported.

Are there any limitations in the API that would prevent me from doing this?

@amercader like the harvester, this is another potential use for the "admins can set uuids via the API by default" dataset schema change that we talked about.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the ckanapi dump and ckanapi load entry points, then inspect the API capabilities for users and filestore contents. Define the supported scope and validation for a complete admin-to-admin round trip; the issue names no files or tests, so substantial repository exploration is required.

Written by the indexing model from the issue text.

Assessment

Domain
api, backend, databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.