Save/Restore database info?

In Windows, when I add another drive to the system, the drive letters get moved around. Plex server autoscans changes in the directory and if the drive letter has changed, it will lose all my previous info and add files from the new drive. When i change the drive letters back to what they were, Plex just starts fresh and all the organizing or genre, match fixes I’ve done, are gone. Is there a way to restore my previous Plex database so I don’t keep having to redo the fixes? I don’t have this issue on my Mac system.

Thanks

Restore an older database backup.
https://support.plex.tv/articles/202485658-restore-a-database-backed-up-via-scheduled-tasks/

To prevent this from happening again,
assign your drives their drive letters manually.

Keep always all drives connected.
If you can’t do that, disable automatic and periodic library updates.
https://support.plex.tv/articles/200289526-library/

Sweet! Thank you.