Server Version#:1.23.2.4656
Found an old article on how to export this in windows
echo .dump " metadata_item_settings" | sqlite3 com.plexapp.plugins.library.db | grep -v TABLE | grep -v INDEX > settings.sql
adapted it to use the builtin PMS sqlite and using findstr instead of grep so I was able to get the data out but can’t find much on how to import it back in… ideas?
Try replacing “sqlite3” in the command line with the “Plex sqlite” executable.
No cat in windows. I dont think an echo would work but I guess I could try that
This should work for Windows.
“C:\Program Files (x86)\Plex\Plex Media Server\Plex SQLite.exe” com.plexapp.plugins.library.db “.read settings.sql”
1 Like
I’m trying to run this but I get
At line:1 char:65
+ ... Media Server\Plex SQLite.exe” com.plexapp.plugins.library.db “.read ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Unexpected token 'com.plexapp.plugins.library.db' in expression or statement.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : UnexpectedToken
Can you show the actual command?
system
Closed
October 15, 2021, 6:42am
7
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.