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.
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 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



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 :)


  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

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


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


  backer restore [containerName] [revision] [flags]

backer restore test 06.11.2018_16.03.48

  -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