Skip to main content

A lightweight, efficient way to backup your media library without duplicating large video files.

Project description

BackupArr

AI Notice: NONE of the Code in this Repository has been written by AI, that being said I did use AI to partially draft this README.md. (I really suck at this stuff...)


Welcome to the BackupArr repository. This project is currently in its early development stages (Alpha) and aims to provide a lightweight, efficient way to "back up" your media library without duplicating large video files.


The Concept

Traditional backups for media libraries are often prohibitively expensive due to massive file sizes. BackupArr changes the paradigm: instead of backing up the media files themselves, this tool maps your library metadata back to its source. In the event of data loss, you can restore the library state to your download client to re-acquire the media from the swarm.


Installation

1. pipx (Recommended)

  • Install with pipx, this requires pipx to be installed. See pipx wiki.
    pipx install backuparr
    

2. pip

  • Install with pip (requires a virtual environment):
    pip install backuparr
    

First Setup

  • Running First Config Setup:
    backuparr-init
    
    This will copy the .env.example file to the .env file, and will ask for the initial values of the keys.

Usage

  • Changing environment variables

    backuparr-config
    

    This will allow you to change the environment variables via the cmd.

  • Command Structure:

    backuparr [backup|restore] [radarr|sonarr] [filename].json
    
  • Example Command:

    backuparr backup radarr radarr_backup.json
    
  • Help Command:

    backuparr-help
    

    Displays all the commands and their usages.


Contributing

We welcome all input during these early stages!

  • Open an Issue to discuss new ideas or report bugs.
  • Submit a Pull Request to help with early-stage logic.
  • Check the Discussions tab to help define the project roadmap.

Development

  1. Clone the repository:

    git clone https://github.com/DanielMayhan/BackupArr.git
    cd BackupArr/backuparr
    
  2. Configure Environment: Copy the sample configuration and add your Radarr & Sonarr Api Keys.

    cp .env.example .env
    

Roadmap

These are features and code changes that are either currently being worked on or are planned to be implemented later!

  • Better integration for automated Backups

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

backuparr-1.0.0.tar.gz (10.0 kB view details)

Uploaded Source

Built Distribution

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

backuparr-1.0.0-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

Details for the file backuparr-1.0.0.tar.gz.

File metadata

  • Download URL: backuparr-1.0.0.tar.gz
  • Upload date:
  • Size: 10.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for backuparr-1.0.0.tar.gz
Algorithm Hash digest
SHA256 dea4a176c7fa0b303cde0ce17278714865cc26bfba9ef9d1a5b849a587ab78af
MD5 95a84f4bb1dbbede2c76c2f97ab4fe77
BLAKE2b-256 57e2f843a8928d1ef3082b0eb1f244c91f9e46ccea021777eaf959c938859a93

See more details on using hashes here.

Provenance

The following attestation bundles were made for backuparr-1.0.0.tar.gz:

Publisher: build-assets.yml on DanielMayhan/BackupArr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file backuparr-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: backuparr-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 11.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for backuparr-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bbbb968dc9aec3d2bb2ebafdf651f55efe21329685608c229f0bf9ec83d6fd29
MD5 b54d89f26eb5ae2a58263deb4ae0ef5a
BLAKE2b-256 c6e8a9b2f6888be3c9d4b914ccb7886a7e1e4a1a8d6964a427b2ef5d6176ca46

See more details on using hashes here.

Provenance

The following attestation bundles were made for backuparr-1.0.0-py3-none-any.whl:

Publisher: build-assets.yml on DanielMayhan/BackupArr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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