Git Product home page Git Product logo

docker-backup's Introduction

header

↖️ Hit follow to see all my spicy commits!
🤝 Connect with me on LinkedIn
👀 See my Docker images at DockerHub

Some repository highlights:
etimo-achievements -- a React + NodeJS achievement system for Slack
dotnet-oauth2-server -- an OAuth2-compliant .NET API
docker-backup -- very light-weight Docker backup system written in Bash
Fortress One -- a modern version of the original Team Fortress mod for QuakeWorld
nQuake client -- a QuakeWorld client package for Windows
nQuake server -- a QuakeWorld server package for Linux
nQuake server Docker -- a Docker image of nQuake server
activitylogger -- an activity logger for Windows written in C#


docker-backup's People

Contributors

niclaslindstedt avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

docker-backup's Issues

Error log

Every backup session should get its own error log, that can be used to output the error log to e.g. a notification.

Can't enter passphrase manually after failing restore

For some reason, it's not possible to enter the passphrase for gnupg to decode an archive manually.

There is code now that allows you to "try yourself" if you e.g. try to restore a backup that was encrypted with a different password. But it fails for some reason.

I can restore the backups manually with the correct passphrase, but it's not working with the script.

https://github.com/niclaslindstedt/docker-backup/blob/master/lib/common/encryption.sh

Verify settings on startup

We should verify the settings provided on startup.

Some settings depend on other settings, and should exit the program if anything seems invalid.

Option to produce signatures

Instead of doing hashes, it would be good to use gnupg to produce signatures.

Of course, using sfv checksums should still be possible for systems where attacks are very unlikely, since creating signatures requires that the user provides a gpg key.

Add GitHub actions

As we're closing in on v1.0, we should start using GitHub actions instead of relying on Docker Hub's build function. That way we can have version control here at GitHub instead of just using the :latest tag.

Notifications

It would be nice to have notifications when the backup is completed, or have some errors.

Add conventional commits

Add a pre-commit hook that enforces conventional commits.

Also add a GitHub workflow that enforces PR titles to adhere to conventional commits.

Build structured logs

Instead of just writing logs to the output log, create a structured log system on the filesystem to make it easier to do queries for data and to generate reports.

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.