docker backup / restore for remote and local
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
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}
$(command -v docker) run --rm \
-v /opt/appdata:/backup/{APPNAME} \
-v /mnt:/mnt \
ghcr.io/dockserver/docker-backup:latest backup {APPNAME} {STORAGE}
$(command -v docker) run --rm \
-v /opt/appdata:/backup/{APPNAME} \
-v /mnt:/mnt \
ghcr.io/dockserver/docker-backup:latest backup {APPNAME} {STORAGE} {PASSWORD}
$(command -v docker) run --rm \
-v /opt/appdata:/restore \
-v /mnt:/mnt \
ghcr.io/dockserver/docker-backup:latest restore {APPNAME} {STORAGE}
$(command -v docker) run --rm \
-v /opt/appdata:/restore \
-v /mnt:/mnt \
ghcr.io/dockserver/docker-backup:latest restore {APPNAME} {STORAGE} {PASSWORD}
$(command -v docker) run --rm \
-v /mnt:/mnt \
ghcr.io/dockserver/docker-backup:latest check {APPNAME} {STORAGE}
$(command -v docker) run --rm \
-v /mnt:/mnt \
ghcr.io/dockserver/docker-backup:latest check {APPNAME} {STORAGE} {PASSWORD}
$(command -v docker) run --rm \
ghcr.io/dockserver/docker-backup:latest usage
Thanks goes to these wonderful people (emoji key):
mrfret 🚇 |
doob187 🚇 |
#####################################
# 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 #
#####################################