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 details)
Built Distribution
File details
Details for the file datasette-backup-0.1.tar.gz
.
File metadata
- Download URL: datasette-backup-0.1.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9dde717e66b061769fb325475be30352d405c53cdcc44114c2664be876907bf |
|
MD5 | aefb0e90cdba8fc3810566bb938ba1e1 |
|
BLAKE2b-256 | 1126c2d817284cad97f600e9bff12abafb07dc0c35e02724f9a92eb496b3bf58 |
File details
Details for the file datasette_backup-0.1-py3-none-any.whl
.
File metadata
- Download URL: datasette_backup-0.1-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8108d0896f5c394f0b6b8828e0ba948a3370c053eb58c3e01856341dfa5b33e |
|
MD5 | 9e564118e26ac15414bb2006ceb3e520 |
|
BLAKE2b-256 | a4be5e982dc4251e44ee6c78e786d4958650bc0ae470112338c5c8fe6243e5e5 |