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.1a0.tar.gz
(2.6 kB
view hashes)
Built Distribution
Close
Hashes for datasette_backup-0.1a0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1342b866e92bd66b1ec6b6bb5fdadc8829f84c9625852c26ba5f4299969522a5 |
|
MD5 | 8ff1662be8d2d48fb99edc39eb3ba615 |
|
BLAKE2b-256 | 9e08b4954eb1810f76b4e750d57efcaaf8d1cfe1f3043eb97a04214ccdd28349 |