I want to migrate a volume from old host to a new host after the old host crashed, so I run the container in the new host using docker compose and the app creates a brand new volume in /var/lib/docker/volumes/db_mysql/_data but I have already the a backup of the volume in the old host in (/var/lib/docker/volumes/db_mysql/_data).
What I did is to delete _data of the new host and replace it with the _data of the old host, but it did not work.
Have I missed something, perhaps permissions or something else?