Code Monkey home page Code Monkey logo

docker-backup-scripts's Introduction

Hi there ๐Ÿ‘‹

docker-backup-scripts's People

Contributors

delfer avatar fahadysf avatar piscue avatar skrilax91 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

docker-backup-scripts's Issues

Restore only restores volumes

Theres probably more that I'm expected to know but as far as I can tell this script backs everything up to a text file in JSON format, and the volume, but when I restore, it only restores the volume. How do I restore the rest?

[Chore] shellcheck compatible

Being a bunch of bash scripts, would benefit from a better security posture and less possible issues with wildcards of all the scripts being shellcheck compatible

How to restore?

A back-up is as good as it's restore. So I wanted to restore, do you have some instructions on that?

":/backup not absolute: unknown"

When i run the script I get this error
ghost - docker: Error response from daemon: OCI runtime create failed: invalid mount {Destination::/backup Type:bind Source:/var/lib/docker/volumes/$volume_ID/_data Options:[rbind]}: mount destination :/backup not absolute: unknown. OK This happens for all of my containers and I am running it as root.
Im kinda new to linux and I could just be messing something up but what am I doing wrong here?

Cheers

[Feature] Separate each volume in different tar file for better restore

A this time, the script get all volumes from a container and merge all data in one single tar file. This behavior completely prevents restoring volumes to their initial state because we cannot determine the name and data of each volume.

The idea would be to separate the volumes found in a "volumes" folder at the root of the backup and to give the name of the volume to the file.
In this way, each volume can be restored and at the same time we avoid volume duplication which will affect the size of the backup (if two containers share the same volume, currently we create the backup twice)

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.