Git Product home page Git Product logo

bwackup's Introduction

bwackup - a BASH Wrapper for Backuping

bwackup is small BASH "framework" for a comfy backuping of data. Currently supporting rsnapshot backups to an encrypted remote LUKS file via SSHFS and rsnapshot backups of docker-compose projects data with a minimal downtime.

Encrypted backup on a remote host

The basic idea was, to have a solution for a secure backup on a remote host. Being simple, reliable, using standard tools and the encryption key will never exposed to the backup host.

Using rsnapshot, sshfs, cryptsetup, mount, umount, findmnt, logger.

Have a look here for more information, usage and stuff.

Backup of docker-compose projects with minimal downtime

The goal here was, to backup data of docker-compose projects with less redundant configurations and a minimal downtime for each project. Information of the docker-compose file itself is used for copying the data. A minimal downtime for each project is achieved by stopping, copying data and starting every configured project on his own. When all projects are done, rsnapshot is used to backup the copied data of all projects.

Using rsnapshot, docker, docker-compose, logger.

Have a look here for more information, usage and stuff.

Installation

bwackup should run on every up-to-date Linux with BASH. It is developed and tested on Ubuntu Server 20.04.

Just clone this repo or download the archive and extract it. A good place would be /opt/bwackup .

Keep in mind to set the right rights for the directoy. bwackup scripts will be usual executed by root and shouldn't be accessible by others. So the following should be done as root / with sudo:

chmod 750 /opt/bwackup

chown root:root /opt/bwackup

Structure

bwackup
 \_ bin    - The bwackup scripts
 \_ common - The "framework" files
 \_ docs   - The docs for the bwackup scripts
 \_ etc    - The configuration files for the bwackup scripts

Feedback

Have questions, suggestions or improvements? Just contact me or doing a pull request!

Have fun,

Someone0nEarth

bwackup's People

Contributors

someone0nearth avatar

Watchers

 avatar

bwackup's Issues

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.