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.


GET http://[IP address]:32400/diagnostics/databases/?X-Plex-Token=[PlexToken]


IP addressThe IP address of the Plex Media server.
PlexTokenThe temporary authentication Plex token.

Return Status

HTTP CodeDescription
200Success - The request was successful.
401Unauthorized - The Plex token provided was not valid.


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.


Example 1

Download a compressed copy of the Plex database from the Plex Media Server located at the IP address of