I wanted to delete a snapshot so I typed:-
lxc delete container snapshot
lxc delete container/snaphot
It replied “not found”. Then to my horror I discovered that it deleted the container! The “not found” was I guess lxd trying to find a container called snapshot which it also wanted to delete but it could not find it.
I wish it would’ve asked if I was sure or any other confirmation
Is there a possibility to undelete it?