Bakdroid
Bakdroid is a command-line tool for unpacking backup files with support for decryption and decompression.
Features
- Unpack Backup Files: Extract data from various backup file formats.
- Decryption Support: Securely decrypt encrypted backup files using a password.
- Compression Handling: Automatically decompress data if the backup is compressed.
- Verbose Logging: Enable detailed logging for troubleshooting and monitoring.
- Versioning: Easily check the installed version of Bakdroid.
Installation
Prerequisites
- Python 3.13 or higher
- pip (Python package installer)
Install via Pip
Bakdroid will also be available on PyPI. You can install it using pip:
pip install bakdroid
Install from Source
If you prefer to build and install Bakdroid from source, follow these steps:
-
Clone the Repository
git clone https://github.com/zahidaz/bakdroid.git cd bakdroid
-
Install Dependencies with Poetry
Ensure you have Poetry installed. If not, install it using:
curl -sSL https://install.python-poetry.org | python3 -
Then, install the project dependencies:
poetry install -
Build the Package
poetry build -
Install the Package
After building, install the package using pip:
pip install dist/bakdroid-0.1.0-py3-none-any.whl
Usage
Bakdroid provides a simple command-line interface to unpack backup files.
Unpack Command
bakdroid unpack [OPTIONS] INPUT_FILE OUTPUT_FILE
Arguments
INPUT_FILE: Path to the input backup file (e.g.,backup.en.ab).OUTPUT_FILE: Path to the output tar file.
Options
--password, -p: Password to decrypt the backup file.--verbose, -v: Enable verbose output.--version, -V: Show the version of Bakdroid.
Examples
-
Basic Unpack
bakdroid unpack backup.ab backup.tar
-
Unpack with Decryption
bakdroid unpack -p yourpassword backup.en.ab backup.tar
-
Unpack with Verbose Logging
bakdroid unpack -v backup.ab backup.tar
-
Combine Options
bakdroid unpack -p yourpassword -v backup.en.ab backup.tar
-
Check Version
bakdroid --version
License
This project is licensed under the MIT License.
Metadata
Release files for bakdroid 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bakdroid-0.1.1.tar.gz | 4.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bakdroid-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.4 kB
Release files / bakdroid-0.1.1.tar.gz
| Download URL | bakdroid-0.1.1.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c1ac3d2e27a509ed11e4c480401f7ee3c9b71f90c93f5d3e810586aed49cebfd
|
|
BLAKE2b-256 checksum How to use checksums |
ab19561af0b6b9581d41448f46811902889be97f8aacc1ca3815ee975a5727f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.4 CPython/3.13.0 Darwin/24.0.0
|
Release files / bakdroid-0.1.1-py3-none-any.whl
| Download URL | bakdroid-0.1.1-py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0b62d127f671545c6bdbf58555d6d7c03241bc21b66bc1d03d98dd7e361552fb
|
|
BLAKE2b-256 checksum How to use checksums |
3316fb30f25f450c8632ae3c0a7d3130d496c6f38ba5c4470db48e36bd81aa4a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.4 CPython/3.13.0 Darwin/24.0.0
|