{"id":29201074,"url":"https://github.com/datopian/ckanext-datastore-dumper","last_synced_at":"2025-07-23T04:04:26.453Z","repository":{"id":201122489,"uuid":"706753051","full_name":"datopian/ckanext-datastore-dumper","owner":"datopian","description":"A CKAN extension that upload and download files from the filestore for API managed resources.","archived":false,"fork":false,"pushed_at":"2024-04-23T09:13:17.000Z","size":31,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-07-02T11:13:44.198Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/datopian.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-10-18T14:51:04.000Z","updated_at":"2024-04-23T09:13:21.000Z","dependencies_parsed_at":"2024-04-23T10:47:17.514Z","dependency_job_id":null,"html_url":"https://github.com/datopian/ckanext-datastore-dumper","commit_stats":null,"previous_names":["datopian/ckanext-datastore-uploader"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/datopian/ckanext-datastore-dumper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datopian%2Fckanext-datastore-dumper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datopian%2Fckanext-datastore-dumper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datopian%2Fckanext-datastore-dumper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datopian%2Fckanext-datastore-dumper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datopian","download_url":"https://codeload.github.com/datopian/ckanext-datastore-dumper/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datopian%2Fckanext-datastore-dumper/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266614313,"owners_count":23956343,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-07-02T11:07:24.818Z","updated_at":"2025-07-23T04:04:26.445Z","avatar_url":"https://github.com/datopian.png","language":"Python","readme":"When there is a high volume of requests on the datastore dump URL, it creates a heavy load on both the CKAN and Postgres database servers. In order to alleviate this load, this extension generates a blob file uploads it to filestore, and then serves downloads directly from filestore.\n\n## How this work \n\nIt runs separate job each time when the datastore table is updated via the datastore create/update action. While the blob upload is in progress, the data is served via a generic datastore dump URL. Once the upload is completed, the data is served directly from the filestore.\nIt also works with s3filestorage. \n\n\n## Installation\n\nTo install ckanext-datastore-dumper :\n\n1. Activate your CKAN virtual environment, for example:\n\n    . /usr/lib/ckan/default/bin/activate\n\n2. Clone the source and install it on the virtualenv\n\n        git clone https://github.com/sagargg/ckanext-datastore-dumper.git\n        cd ckanext-datastore-dumper \n        pip install -e .\n\t    pip install -r requirements.txt\n\n3. Add `datastore_dumper` to the `ckan.plugins` setting in your CKAN\n   config file (by default the config file is located at\n    `/etc/ckan/default/ckan.ini`).\n\n4. Restart CKAN. For example if you've deployed CKAN with Apache on Ubuntu:\n\n        sudo service apache2 reload\n\n5. Run ckan background job worker \n\n        paster --plugin=ckan jobs worker --config=/ckan.ini # ckan \u003e= 2.9\n        ckan -c  ckan.ini jobs worker  # ckan \u003c 2.9\n\n\n\n\n## Config settings\n\nIf you are using [ckanext-noanonaccess](https://github.com/datopian/ckanext-noanonaccess) extension then allow this blueprint\n\n    ckanext.noanonaccess.allowed_blueprint = datastore_dumper.dump\n\n\n## Developer installation\n\nTo install ckanext-datastore-dumper for development, activate your CKAN virtualenv and\ndo:\n\n    git clone https://github.com/sagargg/ckanext-datastore-dumper.git\n    cd ckanext-datastore-dumper\n    python setup.py develop\n    pip install -r dev-requirements.txt\n\n\n## License\n\n[AGPL](https://www.gnu.org/licenses/agpl-3.0.en.html)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatopian%2Fckanext-datastore-dumper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatopian%2Fckanext-datastore-dumper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatopian%2Fckanext-datastore-dumper/lists"}