I backed up a database:
BACKUP DATABASE MyDatabase TO DISK = \'MyDatabase.bak\' WITH INIT --overwrite existing
And then tried to restore it
There can also be problem deleting a stuck database if snapshot is enabled. For me this worked: