Skip to content

Commit

Permalink
Env variable informations
Browse files Browse the repository at this point in the history
  • Loading branch information
frdmn committed Mar 10, 2015
1 parent 342316c commit bfbeaff
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@ Bash script to backup multiple folders and clean up old backups based on a confi
* `pre_commands` = Array of commands that are executed before the backup starts (stop specific service)
* `post_commands` = Array of commands that are executed after the backup finished (start specific service)

### Environment configurations

* `DEBUG` = if set to "true", `set -x` will be set
* `CONFIG` = if you want to use a different configuration file than the

Example:

CONFIG=/tmp/testbackup.conf DEBUG=true multibackup

#### Example configuration

In the example below you can find a `multibackup` configuration file to backup a productional [LiveConfig](http://www.liveconfig.com/) instance.
Expand Down

0 comments on commit bfbeaff

Please sign in to comment.