Christian Brauner <[email protected]> writes:
> You can list the snapshots for a container by using:
>
> lxc info trust1
> Name: trust1
> Remote: unix:/var/lib/lxd/unix.socket
> Architecture: x86_64
> Created: 2016/11/22 19:56 UTC
> Status: Stopped
> Type: persistent
> Profiles: default
> Snapshots:
> zest1 (taken at 2016/11/22 20:57 UTC) (stateless)
>
> Would that work for you?
Aha - thanks. Yes, I guess that works. I wouldn't mind something
like a --type/-t option to list though, so I could do:
lxc list -t snapshots
Which is very analogous to the command I ended up using ('zfs list -t
snapshots') and could be further extended for other resource types?
But if you disagree, feel free to close this as resolved.
--
James
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1649255
Title:
No way to list snapshots from CLI
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1649255/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs