Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
$ daos help cont snapshotcreate-snap
daos command (v1.2), libdaos 1.2.0
container containeroptions (cont) commandssnapshot and rollback-related):
        --snap=NAME  create      container snapshot    create a container(create/destroy-snap, rollback)
        --epc=EPOCHNUM   clone  container epoch (destroy-snap, rollback)
      clone a container --epcrange=B-E     container epoch range (destroy-snap)
container options destroy(query, and all commands except create):
    destroy a container    <pool options>   with --cont use: list(--objects pool, --sys-name)
   list all objects in container   <pool options>   with --path   list-objuse: (--sys-name)
        --cont=UUID  query      (mandatory, or     query a container
          get-prop         get all container's properties
          set-prop         set container's properties
          get-acl          get a container's ACL
          overwrite-acl    replace a container's ACL
          update-acl       add/modify entries in a container's ACL
          delete-acl       delete an entry from a container's ACL
          set-owner        change the user and/or group that own a container
          stat             get container statistics
          check            check objects consistency in container
          list-attrs       list container user-defined attributes
          del-attr         delete container user-defined attribute
          get-attr         get container user-defined attribute
          set-attr         set container user-defined attribute
          create-snap      create container snapshot (optional name)
                           at most recent committed epoch
use --path)
         list-snaps       list container snapshots taken
          destroy-snap-path=PATHSTR     destroy container snapshots
                           by name, epoch or range
          rollback         roll back container to specified snapshot

use 'daos help cont|container COMMAND' for command specific options
(mandatory, or use --cont)  

daos container snapshot create/list/destroy

...