I am using tugboat to script a poweroff/snapshot of one of my droplets, and everything goes really well until the droplet snapshot completes… then the droplet never powers back on. Is this by design? Is there some state I can look for to indicate the droplet snapshot has completed to then issue the power on command?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Thanks, Hansen, that worked beautifully! I’m a little bit embarrassed by my inability to RTM, but I really appreciate your taking the time to respond!
Yes, it’s by design. The “create snapshot” command doesn’t automatically send a “power on” command too.
When you run the create snapshot, in the response body you get an id of the action.
This id can be queried to get the status which returns in-progress, completed, errored.
Then you can loop that action query and trigger when it’s completed and send a “power on”.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.