-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'hotfix-0.1.6' into stable
- Loading branch information
Showing
4 changed files
with
17 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
|
||
[hub]: https://hub.docker.com/r/osixia/backup-manager/ | ||
|
||
Latest release: 0.1.5 - [Changelog](CHANGELOG.md) | [Docker Hub](https://hub.docker.com/r/osixia/backup-manager/) | ||
Latest release: 0.1.6 - Backup Manager 0.7.10.1 - [Changelog](CHANGELOG.md) | [Docker Hub](https://hub.docker.com/r/osixia/backup-manager/) | ||
|
||
An image to run periodically backup-manager. | ||
|
||
|
@@ -24,7 +24,7 @@ An image to run periodically backup-manager. | |
- [Link environment file](#link-environment-file) | ||
- [Make your own image or extend this image](#make-your-own-image-or-extend-this-image) | ||
- [Advanced User Guide](#advanced-user-guide) | ||
- [Extend osixia/backup-manager:0.1.5 image](#extend-osixiabackup-manager015-image) | ||
- [Extend osixia/backup-manager:0.1.6 image](#extend-osixiabackup-manager016-image) | ||
- [Make your own backup-manager image](#make-your-own-backup-manager-image) | ||
- [Tests](#tests) | ||
- [Under the hood: osixia/light-baseimage](#under-the-hood-osixialight-baseimage) | ||
|
@@ -33,7 +33,7 @@ An image to run periodically backup-manager. | |
## Quick start | ||
|
||
# Run Backup Manager image | ||
docker run --volume /host/data:/data-to-backup --detach osixia/backup-manager:0.1.5 | ||
docker run --volume /host/data:/data-to-backup --detach osixia/backup-manager:0.1.6 | ||
|
||
## Beginner Guide | ||
|
||
|
@@ -52,7 +52,7 @@ but setting your own backup-manager.conf is possible. 2 options: | |
|
||
- Link your config file at run time to `/container/service/backup-manager/assets/backup-manager.conf` : | ||
|
||
docker run --volume /data/my-backup-manager.conf:/container/service/backup-manager/assets/backup-manager.conf --detach osixia/backup-manager:0.1.5 | ||
docker run --volume /data/my-backup-manager.conf:/container/service/backup-manager/assets/backup-manager.conf --detach osixia/backup-manager:0.1.6 | ||
|
||
- Add your config file by extending or cloning this image, please refer to the [Advanced User Guide](#advanced-user-guide) | ||
|
||
|
@@ -62,7 +62,7 @@ You may have some problems with mounted files on some systems. The startup scrip | |
|
||
To fix that run the container with `--copy-service` argument : | ||
|
||
docker run [your options] osixia/backup-manager:0.1.5 --copy-service | ||
docker run [your options] osixia/backup-manager:0.1.6 --copy-service | ||
|
||
### Debug | ||
|
||
|
@@ -71,11 +71,11 @@ Available levels are: `none`, `error`, `warning`, `info`, `debug` and `trace`. | |
|
||
Example command to run the container in `debug` mode: | ||
|
||
docker run --detach osixia/backup-manager:0.1.5 --loglevel debug | ||
docker run --detach osixia/backup-manager:0.1.6 --loglevel debug | ||
|
||
See all command line options: | ||
|
||
docker run osixia/backup-manager:0.1.5 --help | ||
docker run osixia/backup-manager:0.1.6 --help | ||
|
||
## Environment Variables | ||
|
||
|
@@ -114,14 +114,14 @@ More help: https://raw.githubusercontent.com/sukria/Backup-Manager/master/doc/us | |
Environment variables can be set by adding the --env argument in the command line, for example: | ||
|
||
docker run --env BACKUP_MANAGER_TARBALL_DIRECTORIES="/home/billy" \ | ||
--detach osixia/backup-manager:0.1.5 | ||
--detach osixia/backup-manager:0.1.6 | ||
|
||
#### Link environment file | ||
|
||
For example if your environment file is in : /data/backup-manager/environment/my-env.yaml | ||
|
||
docker run --volume /data/backup-manager/environment/my-env.yaml:/container/environment/01-custom/env.yaml \ | ||
--detach osixia/backup-manager:0.1.5 | ||
--detach osixia/backup-manager:0.1.6 | ||
|
||
Take care to link your environment file to `/container/environment/XX-somedir` (with XX < 99 so they will be processed before default environment files) and not directly to `/container/environment` because this directory contains predefined baseimage environment files to fix container environment (INITRD, LANG, LANGUAGE and LC_CTYPE). | ||
|
||
|
@@ -131,13 +131,13 @@ This is the best solution if you have a private registry. Please refer to the [A | |
|
||
## Advanced User Guide | ||
|
||
### Extend osixia/backup-manager:0.1.5 image | ||
### Extend osixia/backup-manager:0.1.6 image | ||
|
||
If you need to add your custom TLS certificate, bootstrap config or environment files the easiest way is to extends this image. | ||
|
||
Dockerfile example: | ||
|
||
FROM osixia/backup-manager:0.1.5 | ||
FROM osixia/backup-manager:0.1.6 | ||
MAINTAINER Your Name <[email protected]> | ||
|
||
ADD environment /container/environment/01-custom | ||
|
@@ -155,7 +155,7 @@ Clone this project : | |
Adapt Makefile, set your image NAME and VERSION, for example : | ||
|
||
NAME = osixia/backup-manager | ||
VERSION = 0.1.5 | ||
VERSION = 0.1.6 | ||
|
||
becomes : | ||
NAME = billy-the-king/backup-manager | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# Use osixia/light-baseimage | ||
# sources: https://github.com/osixia/docker-light-baseimage | ||
FROM osixia/light-baseimage:0.2.2 | ||
FROM osixia/light-baseimage:0.2.4 | ||
MAINTAINER Bertrand Gouny <[email protected]> | ||
|
||
# Install Backup Manager, GNUPG for encryption and cron from baseimage | ||
|