This isn’t possible in PMS for native package installations.
- Database is SQLite.
- All connections to the DB must be closed before the files can safely be moved for any OS.
- Closing all connections shuts down the server (no transactions while moving the files)
In Docker,
- you stop the container (PMS is now shutdown) . This negates your not shutting down requirement.
- you move the files AFTER the container is down.
- you now edit the mapped directory locations (update
/configand other variables) - Now you restart the container (restart PMS)
- PMS will never know it’s been moved
Please consider how to move the data directory for native Linux installations