Skip to content

Commit

Permalink
Add json sample in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ohmydevops committed Sep 28, 2023
1 parent e42f983 commit de36a9c
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,33 @@ To show a guide how to restore your backup use the *--restore* option.

## Configuration Example

Simple configuration example:
Simple configuration example in JSON:

```json
{
"verbose":true,
"backups":[
{
"name":"myAppDB",
"source":{
"type":"mysqldump",
"options":{
"databases":"mydbname",
"user":"user.name",
"password":"topsecret"
}
},
"target":{
"dirname":"backup",
"filename":"mysql-%Y%m%d-%H%i.sql",
"compress":"bzip2"
}
}
]
}
```

Simple configuration example in XML:

```xml
<?xml version="1.0" encoding="UTF-8"?>
Expand Down

0 comments on commit de36a9c

Please sign in to comment.