simonw / simonw/datasette-backup

/-/backup/dbname.db

Open
#3 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
4
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Download a database file created using either the backup API or VACUUM INTO

Refs @simonw in https://github.com/simonw/datasette-backup/issues/1#issuecomment-687671727

I'll build the first version using the .backup() API (added in Python 3.7)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start from the /-/backup/dbname.db endpoint described in the issue and read how the backup API and VACUUM INTO approach apply to the database file. The first version should use Python 3.7's .backup() API and provide the created database file for download.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, sqlite
Domain
database
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.