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.0.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.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bakdroid-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 b2e20bd9f794cfadc13694a6e5fd22f71c1793536cc5bf1e3e751b10bc616194
MD5 de7114d53901c877161694a60826f17d
BLAKE2b-256 0f6e3aee9f4dc56f8ac7faa0c8cb38f12e03caa81d7d85a83ce7787407656e74

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bakdroid-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e794f3193e39c048e3e6730759705b917ee98a38276bed78c23e50ef970bfd62
MD5 1b359d8808f5d4533ee180a43512b0aa
BLAKE2b-256 f5707f6d0f15bec4b231bd6960afc30cd033971525a18bfc5c967dbd5a5fb6c8

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