Skip to content

Releases: peter2cfu/plex-db-mirror

Plex DB Mirror (quiesced) — fast, safe nightly backup with Robocopy

13 Oct 18:05
1099168

Choose a tag to compare

What’s in this release

  • Quiesced backup flow: Stops PlexUpdateService → PlexService, mirrors the Plex data folder, then starts PlexService → PlexUpdateService.
  • Tuned Robocopy profile: /MIR /J /XJ /FFT /MT /R:1 /W:1 with sensible /XD + /XF excludes for cache/codec/log noise.
  • VM/NAS friendly: Avoids SMB loopback (local source path), tolerates NAS timestamp granularity via /FFT.
  • Deterministic exit codes: Returns 0/1 on success (Robocopy semantics), >=8 signals failure for schedulers/monitors.
  • Logging: Console + C:\Scripts\plex-copy.log via /TEE and LOG+=.

Files

  • scripts/PlexData-Backup-Quiesced-MIN.cmd — the script (edit the Config block at the top).
  • README.md — quick start and troubleshooting.
  • docs/schtasks-example.md — Task Scheduler CLI example.
  • LICENSE — MIT.

Requirements

  • Windows 10/11 (or Server) with Robocopy (built-in).
  • Plex installed as services.