By lyubo83
Hello,
I was wondering if there is a way to list all snapshots which are currently in progress. I’ve tried doctl compute action list But it lists only completed tasks in there and I can see in the GUI that the snapshots are still in progress.
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!
Hey @lyubo83,
I’ve tried a couple of things like:
- https://api.digitalocean.com/v2/snapshots?status=in-progress
or
doctl compute snapshot list --no-header --format Name,Status | grep 'in-progress'
However the snapshot command supports only 3 options:
- Usage:
- doctl compute snapshot [command]
-
- Aliases:
- snapshot, s
-
- Available Commands:
- delete Delete a snapshot of a Droplet or volume
- get Retrieve a Droplet or volume snapshot
- list List Droplet and volume snapshots
Having said that, I think this is a great idea, sounds like it’d be super useful!
The best thing to do to get your voice heard regarding this would be to head over to our Product Ideas board and post a new idea, including as much information as possible for what you’d like to see implemented.
Hope that helps! - KFSys.
Hello @lyubo83
This command retrieves a list of all actions taken on your resources. The action status will show (pending, completed, etc)
You can check the full flags and options for the doctl compute action list command:
https://docs.digitalocean.com/reference/doctl/reference/compute/action/list/
Regards
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.