A CLI tool to manage database snapshots
Project description
Dbback
CLI Tool for clean and easy way of managing databases
The goal of this project is to ensure we can revert the problems made by an intern at a DB level like
Truncate table.
The tech stack is using python as a programming language and using Click as a framework while using rich library for styling table for clean views
For ease there are mainly 3 commands being add, delete and list for all groups in the Tool which are explained below
Groups
1. Connection
The First group for estabilishing connections to the DB for esnsuring we can track the tables. This is the first step to later track and maintain the tables. Details required are- Project Name for ID
- DB type currently MySQL
- Host and Port for Connections
- Username and Password
- DB Name
- add
- delete
- list
2. Table
For adding tables to the connections that we have established already. Here we simply establish a table for storing snapshots and is a necessary step as well.The commands possible are- add
- delete
- list
3. Snapshot
Finally having created a connection and listed tables, we can take snapshots and store them for later use.- add
- list
- restore
Additional Informations
A folder is created in local C drive for storing the metadata for each user and also the snapshots taken. In further versions , we can remove the local usage and go for a cloud based approach.Scope for Improvement
Following can be implemented in further versions- More Database Options
- Ability to use snapshots remotely
- Cloud based storage of Snapshots
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
dbback-0.1.2.tar.gz
(9.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dbback-0.1.2.tar.gz.
File metadata
- Download URL: dbback-0.1.2.tar.gz
- Upload date:
- Size: 9.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
08d00b77cd5c314aa06318e6c42878ee6a4fc62ff0782c52891cfd22e1212568
|
|
| MD5 |
fea6ffb997e8289c7b1c4dc35a7b2bc1
|
|
| BLAKE2b-256 |
d51c0d6a38959ce4cc0b373aef63f5a62a1008d86f3b84d606ce4e2d538f768a
|
File details
Details for the file dbback-0.1.2-py3-none-any.whl.
File metadata
- Download URL: dbback-0.1.2-py3-none-any.whl
- Upload date:
- Size: 9.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ce76fed990d4aa5ab8e10d3ced4196e99c91e9eab4ab9b323bb73601565ca3e
|
|
| MD5 |
8a12f7b7cf753734f87b695244c61f43
|
|
| BLAKE2b-256 |
1529a697c69bf1fbdbed66882af2db86ae9c1cd596423ae528d8fd455a9cf568
|