Plugin adding backup options to Datasette
Project description
datasette-backup
Plugin adding backup options to Datasette
Installation
Install this plugin in the same environment as Datasette.
$ datasette install datasette-backup
Usage
Once installed, you can download a SQL backup of any of your databases from:
/-/backup/dbname.sql
Development
To set up this plugin locally, first checkout the code. Then create a new virtual environment:
cd datasette-backup
python3 -mvenv venv
source venv/bin/activate
Or if you are using pipenv
:
pipenv shell
Now install the dependencies and tests:
pip install -e '.[test]'
To run the tests:
pytest
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
datasette-backup-0.1.tar.gz
(2.6 kB
view hashes)
Built Distribution
Close
Hashes for datasette_backup-0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8108d0896f5c394f0b6b8828e0ba948a3370c053eb58c3e01856341dfa5b33e |
|
MD5 | 9e564118e26ac15414bb2006ceb3e520 |
|
BLAKE2b-256 | a4be5e982dc4251e44ee6c78e786d4958650bc0ae470112338c5c8fe6243e5e5 |