Git Product home page Git Product logo

borgbackup-automate's Introduction

BorgBackup automation scripts

This is a set of BorgBackup automation scripts I've deployed for making backups of live systems.

The basic idea and a starting point for this comes from very nice script: https://gist.github.com/dschense/e55167d8915eb48d6eb3c42cb4d5137d

This is WORK IN PROGRESS - it's an early version but already deployed, and it's published as an example for using Borg. This may become a complete solution one day, but don't expect it will ever be

If you have any comments, please do it, I'm also accepting PRs.

Please observe that there might be some local paths or other system specific configuration elements left.

Architecture

This set of scripts is dedicated for client-server architecture with central backup server and multiple clients making remote backups over ssh connections.

Convention

All the local backup related variables are named BORGLOCAL_* to be distinguished from environment variables used by Borg (BORG_*).

Server

Server has to have a borg installed (we're using borg serve), and one mount path dedicated for backups. Backup is done using non-root user (borg).

Clients

All the repos are in keyfile mode. This is hardcoded for now.

borgbackup-automate's People

Contributors

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