Score:0

LXD: restore the deleted image

us flag

After creating an lxd container in the ZFS storage I deleted the based image by mistake.

Now the ZFS structure looks like:

# zfs list -t all -o name,clones
...
main/containers/mail
...
main/deleted/images/d0...a6e7                                                            
main/deleted/images/d0...a6e7@readonly  main/containers/mail
... 

How can I restore the deleted based image?

djdomi avatar
za flag
from backup. How else?
us flag
@djdomi It is not deleted at all as you can see but moved to the "deleted" section. I want to correctly restore It to create new containers based on it. Otherwise I need to reload new image from remote site, that will be waste of space.
djdomi avatar
za flag
please tell us how you deleted it
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.