Skip to main content

A command-line tool to unpack backup files with decryption and decompression support.

Project description

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:

  1. Clone the Repository

    git clone https://github.com/zahidaz/bakdroid.git
    cd bakdroid
    
  2. 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
    
  3. Build the Package

    poetry build
    
  4. 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bakdroid-0.1.1.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bakdroid-0.1.1-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file bakdroid-0.1.1.tar.gz.

File metadata

  • Download URL: bakdroid-0.1.1.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.13.0 Darwin/24.0.0

File hashes

Hashes for bakdroid-0.1.1.tar.gz
Algorithm Hash digest
SHA256 c1ac3d2e27a509ed11e4c480401f7ee3c9b71f90c93f5d3e810586aed49cebfd
MD5 f61d8226546ef0a9e5b9f24745b5b664
BLAKE2b-256 ab19561af0b6b9581d41448f46811902889be97f8aacc1ca3815ee975a5727f2

See more details on using hashes here.

File details

Details for the file bakdroid-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: bakdroid-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.13.0 Darwin/24.0.0

File hashes

Hashes for bakdroid-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0b62d127f671545c6bdbf58555d6d7c03241bc21b66bc1d03d98dd7e361552fb
MD5 63749a5babb069f5dc4069b1aebaeffb
BLAKE2b-256 3316fb30f25f450c8632ae3c0a7d3130d496c6f38ba5c4470db48e36bd81aa4a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page