Giter Site home page Giter Site logo

prismbackup's Introduction

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


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

  • Create a Restic repository wherever you desire
  • Open Prism Launcher, click Folders at the top, then View Launcher Root Folder
  • Create a .env file in this folder, using .env.example as a template
  • Download backup.ps1 and doRestic.ps1 to this folder
  • Go back to Prism Launcher and go to Settings
  • Go to the Custom Commands tab
  • Next to "Pre-launch command", type in: pwsh ../../../backup.ps1 --tag launch
  • Next to "Post-exit command", type in: pwsh ../../../backup.ps1 --tag exit

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.

prismbackup's People

Contributors

ruintd avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.