I accidently deleted my db in my volumes, so I want to use its latest snapshot to restore the data. I created a new volume based on this snapshot but I cant attach it to a VM. How do I do it? should I delete the VMs with the outdated data and create new VMs that will be automatically attached to the snapshot? please help ![]()
Update: Worked! just cloned the vm and attached the snapshot to it, with:
flyctl machines clone <existing-machine-id> --attach-volume <volume-id>