KTKRadio Forum Övrigt Plex – Hur man återställer databasen

Taggat: , ,

Detta ämne innehåller 0 svar, har 1 deltagare, och uppdaterades senast av  admin 4 år, 5 månader sedan.

  • Författare
    Inlägg
  • #10251

    admin
    Forumledare

    Restore a Database Backed Up via ’Scheduled Tasks’

    Users with an active Plex Pass subscription have access to the ”Scheduled Tasks” feature. One of the benefits of this is that it can keep some backup copies of your core database, which holds things such as your viewstate information.

    Related Page: Plex Pass > Scheduled Tasks

    Finding the Database Backups

    The location of the database backups will vary by operating system. Unless you’ve altered the location via the Backup directory advanced setting, you’ll find the backup files in the following locations.

    The database backups will be named along the lines of:
    com.plexapp.plugins.library.db-2014-04-19
    com.plexapp.plugins.library.db-2014-04-22
    com.plexapp.plugins.library.db-2014-04-25

    Windows

    The location on Windows will depend on which version you’re running.

    Windows XP, Server 2003, Home Server
    C:\Documents and Settings\yourusername\Local Settings\Application Data\Plex Media Server\Plug-in Support\Databases\

    Windows Vista, Windows 7, Windows 8
    %LOCALAPPDATA%\Plex Media Server\Plug-in Support\Databases\

    OS X

    Using the Finder’s ”Go” menu, select Go To Folder… then enter the following in the dialog box that pops up:
    ~/Library/Application Support/Plex Media Server/Plug-in Support/Databases/

    Linux

    In general, the location for the various Linux versions of Plex Media Server will be found under:
    $PLEX_HOME/Library/Application Support/Plex Media Server/Plug-in Support/Databases/

    Restoring a Backup

    Once you’ve found the backup file you wish to use:

    1.Stop/quit your Plex Media Server

    2.Move the following files out of the directory and store them somewhere for backup, just in case. (You don’t want the ”-shm” and ”-wal” files to remain in that directory.)
    com.plexapp.plugins.library.db
    com.plexapp.plugins.library.db-shm
    com.plexapp.plugins.library.db-wal

    3.Duplicate the database backup file and then rename it to com.plexapp.plugins.library.db

    4.Start your Plex Media Server

    http://bit.ly/1mMJCzy

Du måste vara inloggad för att svara på detta ämne.