PrismBackup

I have decided to discontinue this project in favor of resticprofile. Here is my profile. Feel free to modify it to your needs.

Here are my settings in Prism Launcher:
Pre-launch command: resticprofile mc.backup --tag "$INST_NAME" --tag launch
Post-exit command: resticprofile mc.backup --tag "$INST_NAME" --tag exit


Prism Launcher Backup

This script makes it easy to automatically backup your Prism Launcher (or MultiMC) data using Restic. You can also run the program by itself to do a manual backup, which will also include vanilla launcher data.

This script is designed for Windows.
MacOS and Linux users will have to manually specify game directories in .env

Requirements

Installation

Usage

When you close an instance, that instance should be automatically backed up.

Because of the nature of Restic, unchanged files between each snapshot will only be stored once, saving disk space over the course of several backups.

You can also manually run backup.ps1 to backup all your Prism Launcher and vanilla launcher data or use ./doRestic.ps1 in your terminal to access restic with .env in environment.