```.pulumi/history/dev/dev-1626238159454148000.che...
# azure
v
Copy code
.pulumi/history/dev/dev-1626238159454148000.checkpoint.json
c
Yes, you should be able to. However, I think you might need to adjust its format to match the structure that the
pulumi stack import
command expects. If you get an import error, you’d have to update its structure to match https://github.com/pulumi/pulumi/blob/042e0061d4e32824c22c18b72e764a482ecfa3ac/sdk/go/common/apitype/core.go#L160 and the
Deployment
property’s struct is https://github.com/pulumi/pulumi/blob/042e0061d4e32824c22c18b72e764a482ecfa3ac/sdk/go/common/apitype/core.go#L108. I am also curious if you are able to reproduce the issue that put you in this situation? If you are, it would be awesome if you could open an issue for it.
v
Thanks for the response. I also see a .bak file that is created. Is one generated after every update to the stack? I am guessing I could have restored from this as well?
If the failure case happens again I will be sure to post here.
c
You could check the
.bak
file and see if you can use that as the previous version to revert to as well.
👍 1