# Migrating database from Windows to Linux and retain play history \[Solved\]

**URL:** <https://forums.plex.tv/t/migrating-database-from-windows-to-linux-and-retain-play-history-solved/817708>\
**Category:** Plex Media Server\
**Tags:** server-windows, server-linux\
**Created:** [November 7, 2022, 10:38pm UTC](https://forums.plex.tv/t/migrating-database-from-windows-to-linux-and-retain-play-history-solved/817708 "2022-11-07T22:38:50Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![tom80H](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/tom80h/32/19753_2.png) [@tom80H](https://forums.plex.tv/u/tom80H)\
**Post date:** [November 7, 2022, 10:45pm UTC](https://forums.plex.tv/t/migrating-database-from-windows-to-linux-and-retain-play-history-solved/817708/2 "2022-11-07T22:45:49Z")

</div>

You might want to start by having a look at this guide from the tips & tricks section

> [@Linux Tips](https://forums.plex.tv/t/linux-tips/276247/23):
>
> Migration from another OS to Linux Cross OS migration is a multi-level process. Copy the PMS databases and metadata Update all the media locations to point to their new locations. Prerequisites - On the originating host Settings - Server - Library Turn off: Scan my library automatically Run a partial scan when changes are detected Include music libraries in automatic scans Scan library periodically Empty trash automatically after every scan Stop Plex ZIP up the “Plex Media Server”…

---

_[View the full topic](https://forums.plex.tv/t/migrating-database-from-windows-to-linux-and-retain-play-history-solved/817708)._
