Plekt steps reviewed against v2.2.4.

A library rebuild can change item identifiers or temporarily remove titles. Before replacing a server, reinstalling its operating system, or rescanning a library, make a fresh backup and decide how much state the restored data should change.

Before the rebuild

  1. Protect Plekt’s data directory. Confirm the Docker /data volume is mapped to storage that will survive the rebuild. Recreating a container does not recreate the data it stored.
  2. Create a Watch History backup. In Plekt, open Settings → Backup → Local and choose Back Up Now under Watch History. This backup contains watched state, playstate, and resume progress. A full encrypted Plekt backup includes broader instance data and should be handled as a secret.
  3. Verify the backup. In Settings → Restore → Local, check the file’s timestamp and size. Choose Validate to check the Watch History file and report its record counts without restoring it. Use Download to keep a copy outside the machine or disk being rebuilt.
Plekt Backup settings showing local Watch History backup controls
Create a fresh Watch History backup before changing the media server or library.

After the rebuild

  1. Reconnect the rebuilt server in Settings → Media servers and confirm that the intended server and account are selected. Follow the connection guide for Plex, Emby, or Jellyfin as appropriate.
  2. Let the library finish scanning. Titles may need to be rematched if identifiers or episode details changed.
  3. Open Settings → Restore → Local, select the Watch History backup, and review the preview before confirming.
  4. Choose the restore behavior deliberately. Both choices replace Plekt’s current local watch history, playstate, and resume progress with the backup, then push to connected Plex, Emby, and Jellyfin apps. The difference is what happens to extra watched items on those apps:
    • Merge into existing state adds the backup’s watched items to connected apps while leaving their other watched items alone.
    • Replace existing state marks watched items in connected apps as unwatched, then reapplies only the backup’s watched set. Use it only when those apps should match the backup exactly.
  5. Let the restore and its push finish; do not start another sync operation while it is active. Check the restore terminal and restore attention results for destination failures. Then check a small sample of films, episodes, and resume positions in Plekt and each connected app.
Plekt Restore settings showing the merge and replace choices
Choose merge or replace based on which watched items should remain on each connected app.

What the backup can recover

Plekt can restore watch history and resume progress it retained in a backup. It cannot recreate state that was never captured, restore media files, or reconnect a server from a Watch History backup: that file excludes settings and credentials. If Plekt was not in use before the rebuild, review the supported history import sources; available data and matching depend on the source.

Never publish a backup file. Watch History backups contain personal viewing history, and full Plekt backups can contain settings and credentials. Read the Backup guide, Restore guide, and Operations guide for the current interface and recovery details.