Hi James,

On Wed, Jan 06, 2016 at 10:32:48PM -0000, James Troup wrote:
> Public bug reported:
> 
> | $ lxc help restore
> | Set the current state of a resource back to what it was when it was 
> snapshotted.
> | 
> | lxc restore [remote:]<resource> <snapshot name> [--stateful]
> | $
> 
> The use of 'resource' is confusing as it's not used anywhere else
> except for in 'help list'.  Can anything other than a container be
> restored?
> 
> --stateful is mentioned but not documented/explained.
> 
> Lastly it's not obvious what '<snapshot name>' means, especially given
> the output of 'lxc list':
> 
> | $ lxc list
> | +-------------------+---------+------------+------+-----------+-----------+
> | |       NAME        |  STATE  |    IPV4    | IPV6 | EPHEMERAL | SNAPSHOTS |
> | +-------------------+---------+------------+------+-----------+-----------+
> | | unvisceral-samira | RUNNING | 10.0.3.193 |      | NO        | 1         |
> | +-------------------+---------+------------+------+-----------+-----------+
> | Snapshots:
> |   /1.0/containers/unvisceral-samira/snapshots/snap0
> | $
> 
> I tried several variations before finding 'snap0' is what was
> expected.

Thanks, I've posted an update to the help here:

https://github.com/lxc/lxd/pull/1480

Does that seem reasonable?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1531643

Title:
  lxc restore help is unclear

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1531643/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to