GithubHelp home page GithubHelp logo

didstopia / klipper-gobackup Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 46 KB

GoBackup for Klipper.

Home Page: https://github.com/gobackup/gobackup

License: MIT License

Shell 100.00%
3d-printer 3d-printer-firmware 3d-printing backup go gobackup golang klipper mainsail moonraker

klipper-gobackup's Introduction

GoBackup for Klipper (Moonraker)

This repository maintains the files necessary to install, update and configure GoBackup for Klipper (Moonraker).

NOTE: This is still a work in progress! Right now it should be functional, but changes are to be expected before this can be deemed stable for public consumption!

Features

  • Install script for easy installation of the gobackup binary, sample configuration file and systemd service
  • Automatic updates via Moonraker's update manager
  • Install script cleanup, including more safeguards, error handling and better (more user friendly) logging
  • Uninstall script cleanup, including more safeguards, error handling and better (more user friendly) logging
  • Universal packages for all popular Klipper platforms and architectures (GoBackup only has binaries for x86 and arm64, however currently we build from source for all other architectures)
  • Optional support for building from source for the current platform and architecture
  • Configuration wizard for easy first time configuration of GoBackup
  • Automatic setup for GoBackup's web interface if an existing nginx proxy is detected (eg. a new endpoint at /gobackup)
  • Automatic setup of Moonraker integration (update manager entry, moonraker.asvc entry, starting/stopping/restarting Moonraker etc.)

Installation

Start by checking out the repository to your home directory.

git clone https://github.com/Didstopia/klipper-gobackup.git ~/moonraker-gobackup

Now you can run the install script, which may take a while to complete, but should automatically setup everything for you.

~/moonraker-gobackup/scripts/install.sh

While optional, it is highly recommended that you also setup automatic updates, simply by adding the following update_manager entry to your moonraker.conf (or to the file where you configure Moonraker's update manager).

# Update manager entry for GoBackup
[update_manager gobackup]
type: git_repo
channel: dev
path: ~/moonraker-gobackup
origin: https://github.com/Didstopia/klipper-gobackup.git
primary_branch: master
install_script: scripts/install.sh
managed_services: gobackup

Ensure that you also add gobackup to the bottom of your ~/printer_data/moonraker.asvc file, so that Moonraker can control the GoBackup service.

If you setup the automatic updates above, you may additionally need to restart Moonraker.

systemctl restart moonraker

GoBackup should now be installed and running, configured with an example configuration and kept up-to-date automatically.

Configuration

You can find the configuration file at ~/printer_data/config/gobackup.cfg.

If all went well, you should now be able to access the GoBackup web interface at http://<your printer's IP address>:2703, as well as verify its status by running systemctl status gobackup.

For more information on how to configure GoBackup, please refer to the official GoBackup documentation.

License

See LICENSE.

klipper-gobackup's People

Contributors

dids avatar

Stargazers

 avatar  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.