HomeFreeBSD

Add support to decode a resume token

Description

Add support to decode a resume token

Adding a new subcommand to zstream called token. This
now allows users to decode a resume token to retrieve the toname
field. This can be useful for tools that need this information.
The syntax works as follows zstream token <resume_token>.

Reviewed-by: Matt Ahrens <matt@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Paul Zuchowski <pzuchowski@datto.com>
Signed-off-by: Tony Perkins <tperkins@datto.com>
Closes #10558

Details

Provenance
tony-zfs <62951051+tony-zfs@users.noreply.github.com>Authored on Jul 24 2020, 12:44 AM
GitHub <noreply@github.com>Committed on Jul 24 2020, 12:44 AM
Parents
rGbfafe1780a61: Annotate unused parameters on inline definitions as such
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG02fced306779: Add support to decode a resume token (authored by tony-zfs <62951051+tony-zfs@users.noreply.github.com>).Jul 24 2020, 12:44 AM