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.

** Affects: lxd (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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