1. Create a configuration file with all hosts and credentials you want to backup
2. Point the script to it (See environment variables below). By default, it searches in the default directory for a file called `backup_hosts.json`.
## Configuration
A configuration file with all defaults looks like this:
```json
[
{
"host":"localhost",
"user":"root",
"password":"",
"port": 3306
}
]
```
You can omit any field to you use the default value.
For example, a configuration which backups a db on `localhost` with the `root` user and `password``1234` on the default port `3306` would look like this: