goup

command module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 17, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

README

goup

What is it

Free and open-source backup tool for docker volumes written in Go.

Quick start

Run in a terminal:

docker run -v vol1:/app/volumes/vol1 -v vol2:/app/volumes/vol2 -v vol3:/app/volumes/vol3 -v ./data:/app/data/ --name goup -e LOG_LEVEL=INFO -e TIME=01:00 -e MAX_RETENTION=14 -e BACKUP_SIZE_WARNING=100 salvatoreemilio/goup:latest

Every docker volume that you wish to backup has to be mounted in the /app/volumes folder.

The backup will be saved in the docker /app/data/ folder.

Or use a docker-compose.

Configuration

  • TIME set the time, in UTC, in which the backup will run
  • Every backup older then MAX_RETENTION will get deleted automatically durin the backup run
  • You can set up a warning log with BACKUP_SIZE_WARNING to be alerted if a backup is greater, in MB, then your setting

Examples

License

Apache License 2.0

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL