backup utility for your running docker containers
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
cmd skip socket and symlinks Nov 9, 2018
.gitignore first commit Nov 6, 2018
LICENSE Create LICENSE Nov 7, 2018
README.md skip socket and symlinks Nov 9, 2018
go.mod restore: volumes Nov 7, 2018
go.sum restore: volumes Nov 7, 2018
main.go fmt instead panic Nov 7, 2018

README.md

backer

Motivation

Think about a small company that have to build fast and easy realiable services for a intranet (eg. gitlab, jenkins ...) The fastest way is to deploy this services as a docker containers and manage them for example with a reverse proxy... Taking care about the backup system is an heavvy work, I ended up building this small utility. At this time I only need to do local backups for the active and running containers and their mounted volumes.

info command

I'm not sure about the info command, if it's worth and useful i will do it right :)

Usage

  backer [type] [flags]
  backer [command]

Available Commands:
  help        Help about any command
  info        retrieve informations about backups previously done
  list        list current available backups
  version     shows the version of the executable

Flags:
  -h, --help            help for backer
      --outDir string   output directory for saving backups (default "backup")

backer

backer full Executes a full backup for all active and running containers. backer [containerName] Executes backup only for the specified container

restore

Usage:
  backer restore [containerName] [revision] [flags]

Examples:
backer restore test 06.11.2018_16.03.48

Flags:
  -f, --force-remove   if the existing container must be deleted before restoring
  -h, --help           help for restore
  -s, --start          if a container must be started after restore