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:
This will copy the .env.example file to the .env file, and will ask for the initial values of the keys.backuparr-init
Usage
-
Changing environment variables
backuparr-configThis 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
-
Clone the repository:
git clone https://github.com/DanielMayhan/BackupArr.git cd BackupArr/backuparr
-
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dea4a176c7fa0b303cde0ce17278714865cc26bfba9ef9d1a5b849a587ab78af
|
|
| MD5 |
95a84f4bb1dbbede2c76c2f97ab4fe77
|
|
| BLAKE2b-256 |
57e2f843a8928d1ef3082b0eb1f244c91f9e46ccea021777eaf959c938859a93
|
Provenance
The following attestation bundles were made for backuparr-1.0.0.tar.gz:
Publisher:
build-assets.yml on DanielMayhan/BackupArr
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
backuparr-1.0.0.tar.gz -
Subject digest:
dea4a176c7fa0b303cde0ce17278714865cc26bfba9ef9d1a5b849a587ab78af - Sigstore transparency entry: 1710149682
- Sigstore integration time:
-
Permalink:
DanielMayhan/BackupArr@9dd446457b9904f48bb1a8e23a6dd0003a315db1 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/DanielMayhan
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build-assets.yml@9dd446457b9904f48bb1a8e23a6dd0003a315db1 -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bbbb968dc9aec3d2bb2ebafdf651f55efe21329685608c229f0bf9ec83d6fd29
|
|
| MD5 |
b54d89f26eb5ae2a58263deb4ae0ef5a
|
|
| BLAKE2b-256 |
c6e8a9b2f6888be3c9d4b914ccb7886a7e1e4a1a8d6964a427b2ef5d6176ca46
|
Provenance
The following attestation bundles were made for backuparr-1.0.0-py3-none-any.whl:
Publisher:
build-assets.yml on DanielMayhan/BackupArr
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
backuparr-1.0.0-py3-none-any.whl -
Subject digest:
bbbb968dc9aec3d2bb2ebafdf651f55efe21329685608c229f0bf9ec83d6fd29 - Sigstore transparency entry: 1710149695
- Sigstore integration time:
-
Permalink:
DanielMayhan/BackupArr@9dd446457b9904f48bb1a8e23a6dd0003a315db1 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/DanielMayhan
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build-assets.yml@9dd446457b9904f48bb1a8e23a6dd0003a315db1 -
Trigger Event:
release
-
Statement type: