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.


Project Status: Alpha

Warning: This software is experimental and Work in Progress. It is not recommended for production use. Any and all code is subject to radical changes as development progresses.


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!

  • Unification of all text in-/outputs
  • 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-0.4.0.tar.gz (10.3 kB view details)

Uploaded Source

Built Distribution

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

backuparr-0.4.0-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for backuparr-0.4.0.tar.gz
Algorithm Hash digest
SHA256 a8c8ef04f83ef06a36a116842d5135a50896e412e6fbc62286f127b4af9ce6b5
MD5 05d2430fed8c9edbf0475b2eb48e9194
BLAKE2b-256 5f43f2affebe2d4e7fb9513aef89be27d7eecfcedbd4bd4a48d548b423f5c631

See more details on using hashes here.

Provenance

The following attestation bundles were made for backuparr-0.4.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-0.4.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for backuparr-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 10fbdb499e826bbf4ee2a1e364b6e03db9f83ee99b2fc9a5c283f0cc74fa2aa3
MD5 2fbbe3237901e09be07f4bd54105270e
BLAKE2b-256 1e34deeed7c6063ec9763c57bc2e3450f95a9a0c27f52976dd3e550a24bdb59a

See more details on using hashes here.

Provenance

The following attestation bundles were made for backuparr-0.4.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