/docker-remote

docker backup / restore for remote and local

Primary LanguageShellGNU General Public License v3.0GPL-3.0

docker-remote

docker backup / restore for remote and local

FYI

So if you see a broken part plz report it here
           over githube issues
           or on the Discord

   All the Contributors you can see at the end 

Docker run commands


Commands explains

APPNAME = App to backup ( sample sonarr )
STORAGE = name of specifi folder ( sample server01 || myplex || what_you_want ) 
PASSWORD = password what you want ( dont miss them || no storing of any password plain )
           ( password will be openssl enc -aes-256-cbc crypted )
		   
Backup  Storage = /mnt/downloads/appbackups/${STORAGE}/${APPNAME}
Restore Storage = /mnt/unionfs/appbackups/${STORAGE}/${APPNAME}


Backup Docker (no protected backup)

$(command -v docker) run --rm \
  -v /opt/appdata:/backup/{APPNAME} \
  -v /mnt:/mnt \
  ghcr.io/dockserver/docker-backup:latest backup {APPNAME} {STORAGE} 

Backup Docker (protected backup)

$(command -v docker) run --rm \
  -v /opt/appdata:/backup/{APPNAME} \
  -v /mnt:/mnt \
  ghcr.io/dockserver/docker-backup:latest backup {APPNAME} {STORAGE} {PASSWORD}

Restore Docker (no protected backup)

$(command -v docker) run --rm \
  -v /opt/appdata:/restore \
  -v /mnt:/mnt \
  ghcr.io/dockserver/docker-backup:latest restore {APPNAME} {STORAGE} 

Restore Docker (protected backup)

$(command -v docker) run --rm \
  -v /opt/appdata:/restore \
  -v /mnt:/mnt \
  ghcr.io/dockserver/docker-backup:latest restore {APPNAME} {STORAGE}  {PASSWORD}

check Docker (no protected backup)

$(command -v docker) run --rm \
  -v /mnt:/mnt \
  ghcr.io/dockserver/docker-backup:latest check {APPNAME} {STORAGE} 

check Docker (protected backup)

$(command -v docker) run --rm \
  -v /mnt:/mnt \
  ghcr.io/dockserver/docker-backup:latest check {APPNAME} {STORAGE} {PASSWORD}

show usage menu

$(command -v docker) run --rm \
  ghcr.io/dockserver/docker-backup:latest usage

Contributors ✨

Thanks goes to these wonderful people (emoji key):


mrfret

🚇 ⚠️ 💻 🖋

doob187

🚇 ⚠️ 💻 🖋

LICENSE


#####################################
# Copyright (c) 2021,  : dockserver #
# Docker owner         : dockserver #
# Docker Maintainer    : dockserver #
# Code owner           : dockserver #
#     All rights reserved           #
#####################################
# THIS DOCKER IS UNDER LICENSE      #
# CUSTOMIZING IS ALLOWED            #
# REBRANDING IS NOT ALLOWED         #
# CODE MIRRORING IS ALLOWED         #
#####################################