Skip to content

Commit

Permalink
Merge pull request #350 from ohmydevops
Browse files Browse the repository at this point in the history
Adding JSON sample in README.md
  • Loading branch information
sebastianfeldmann authored Sep 28, 2023
2 parents e42f983 + de36a9c commit 86f8243
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 86f8243

Please sign in to comment.