Download the Databases
Plex Media Server stores most information it maintains in SQLite databases on the server. Sometimes, it may be helpful to download the databases to a local machine. The Plex API provides this URL command to download the Plex databases in a zip file.
URL
GET http://[IP address]:32400/diagnostics/databases/?X-Plex-Token=[PlexToken]
Parameters
Name | Description |
---|---|
IP address | The IP address of the Plex Media server. |
PlexToken | The temporary authentication Plex token. |
Return Status
HTTP Code | Description |
---|---|
200 | Success - The request was successful. |
401 | Unauthorized - The Plex token provided was not valid. |
Response
When run from a Web browser, this command will download the Plex databases in a zip file to the local system. The size of the download depends on how many items have been added to Plex.
Examples
Example 1
Download a compressed copy of the Plex database from the Plex Media Server located at the IP address of 192.168.1.4:
GET http://192.168.1.4:32400/diagnostics/databases/?X-Plex-Token=L6vkd7JtLHjsH5987vYY