Can't restore from snapshot if volume is renamed

Running a self-hosted environment on Digital Ocean using mainly docker-compose to deploy the workloads.

When i change the volume name, I’m no longer able to restore from the original snapshot

Before:

volumes:
  mysql:
    labels:
      dev.okteto.com/from-snapshot-name: mysql-snapshot
      dev.okteto.com/from-snapshot-namespace: boedy

After:

volumes:
  authorization-service-mysql:
    labels:
      dev.okteto.com/from-snapshot-name: mysql-snapshot
      dev.okteto.com/from-snapshot-namespace: boedy

In my test I fully destroy the application with its volumes. If change the volume name back to mysql it’s able to restore from the snapshot.