Databudgie
Databudgie is a CLI & library for database performing targeted backup and restore of database tables or arbitrary queries against database tables.
Usage
A minimal config file might look like:
# databudgie.yml or config.databudgie.yml
backup:
url: postgresql://postgres:postgres@localhost:5432/postgres
tables:
- name: public.product
query: "select * from {table} where store_id > 4"
location: s3://my-s3-bucket/databudgie/public.product
restore:
url: postgresql://postgres:postgres@localhost:5432/postgres
tables:
- name: public.product
location: s3://my-s3-bucket/databudgie/public.product
With that config in place, backing up the defined tables (using the specified
config) is as simple as databudgie backup; and restore databudgie restore.
Installation
pip install databudgie
Release files for databudgie 2.9.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| databudgie-2.9.2.tar.gz | 267.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| databudgie-2.9.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 301.8 kB
Release files / databudgie-2.9.2.tar.gz
| Download URL | databudgie-2.9.2.tar.gz |
|---|---|
| Size | 267.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ab51f06a61e2bc81a47c689158660351a9054b9284fe73a186156f626a7cfcbe
|
|
BLAKE2b-256 checksum How to use checksums |
945bc1f97d69bf89933e1497255fe826028300d8151d039ac6074b18146ea871
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.11 {"installer":{"name":"uv","version":"0.10.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / databudgie-2.9.2-py3-none-any.whl
| Download URL | databudgie-2.9.2-py3-none-any.whl |
|---|---|
| Size | 34.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c3943eb061a6c7ba93e8b139ae8947a0b8e75a016b475d61cc2697395327d094
|
|
BLAKE2b-256 checksum How to use checksums |
230a7c0749803f068dbe19c0700e899fc97ac29bd1781691ea205734df09e9d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.11 {"installer":{"name":"uv","version":"0.10.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|