Install a database from a URL
install_databaseDownloads and loads an MMDB database from an HTTP/HTTPS URL into the configured folder, accepting MMDB, gzip, tar, tar.gz, or ZIP archives with optional overwrite.
Instructions
Download and load a database from an HTTP or HTTPS URL. Accepts MMDB, gzip, tar, tar.gz, or ZIP with exactly one MMDB. Downloads and expanded data are limited to 1 GiB. Uses the configured download folder, or the first folder in directory mode. Does not use MaxMind credentials or save the URL for updates.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Database download URL. Requests can reach any HTTP(S) host accessible to this server. | |
| database | Yes | Destination filename ending in .mmdb, without a directory path. | |
| overwrite | No | Replace an existing database with this name. Defaults to false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | ||
| error | No | ||
| updated | Yes | ||
| database | Yes | ||
| last_update | Yes |