-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: add the snapshots command * make generate * make generate * changelog --------- Co-authored-by: Lucas Bertrand <[email protected]>
- Loading branch information
Showing
10 changed files
with
206 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# snapshots | ||
|
||
Manage local snapshots | ||
|
||
### Options | ||
|
||
``` | ||
-h, --help help for snapshots | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
--home string directory for config and data | ||
--log_format string The logging format (json|plain) | ||
--log_level string The logging level (trace|debug|info|warn|error|fatal|panic) | ||
--trace print out full stack trace on errors | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [zetacored](zetacored.md) - Zetacore Daemon (server) | ||
* [zetacored snapshots delete](zetacored_snapshots_delete.md) - Delete a local snapshot | ||
* [zetacored snapshots dump](zetacored_snapshots_dump.md) - Dump the snapshot as portable archive format | ||
* [zetacored snapshots export](zetacored_snapshots_export.md) - Export app state to snapshot store | ||
* [zetacored snapshots list](zetacored_snapshots_list.md) - List local snapshots | ||
* [zetacored snapshots load](zetacored_snapshots_load.md) - Load a snapshot archive file (.tar.gz) into snapshot store | ||
* [zetacored snapshots restore](zetacored_snapshots_restore.md) - Restore app state from local snapshot | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# snapshots delete | ||
|
||
Delete a local snapshot | ||
|
||
``` | ||
zetacored snapshots delete [height] [format] [flags] | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
-h, --help help for delete | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
--home string directory for config and data | ||
--log_format string The logging format (json|plain) | ||
--log_level string The logging level (trace|debug|info|warn|error|fatal|panic) | ||
--trace print out full stack trace on errors | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [zetacored snapshots](zetacored_snapshots.md) - Manage local snapshots | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# snapshots dump | ||
|
||
Dump the snapshot as portable archive format | ||
|
||
``` | ||
zetacored snapshots dump [height] [format] [flags] | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
-h, --help help for dump | ||
-o, --output string output file | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
--home string directory for config and data | ||
--log_format string The logging format (json|plain) | ||
--log_level string The logging level (trace|debug|info|warn|error|fatal|panic) | ||
--trace print out full stack trace on errors | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [zetacored snapshots](zetacored_snapshots.md) - Manage local snapshots | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# snapshots export | ||
|
||
Export app state to snapshot store | ||
|
||
``` | ||
zetacored snapshots export [flags] | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
--height int Height to export, default to latest state height | ||
-h, --help help for export | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
--home string directory for config and data | ||
--log_format string The logging format (json|plain) | ||
--log_level string The logging level (trace|debug|info|warn|error|fatal|panic) | ||
--trace print out full stack trace on errors | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [zetacored snapshots](zetacored_snapshots.md) - Manage local snapshots | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# snapshots list | ||
|
||
List local snapshots | ||
|
||
``` | ||
zetacored snapshots list [flags] | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
-h, --help help for list | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
--home string directory for config and data | ||
--log_format string The logging format (json|plain) | ||
--log_level string The logging level (trace|debug|info|warn|error|fatal|panic) | ||
--trace print out full stack trace on errors | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [zetacored snapshots](zetacored_snapshots.md) - Manage local snapshots | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# snapshots load | ||
|
||
Load a snapshot archive file (.tar.gz) into snapshot store | ||
|
||
``` | ||
zetacored snapshots load [archive-file] [flags] | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
-h, --help help for load | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
--home string directory for config and data | ||
--log_format string The logging format (json|plain) | ||
--log_level string The logging level (trace|debug|info|warn|error|fatal|panic) | ||
--trace print out full stack trace on errors | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [zetacored snapshots](zetacored_snapshots.md) - Manage local snapshots | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# snapshots restore | ||
|
||
Restore app state from local snapshot | ||
|
||
### Synopsis | ||
|
||
Restore app state from local snapshot | ||
|
||
``` | ||
zetacored snapshots restore [height] [format] [flags] | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
-h, --help help for restore | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
--home string directory for config and data | ||
--log_format string The logging format (json|plain) | ||
--log_level string The logging level (trace|debug|info|warn|error|fatal|panic) | ||
--trace print out full stack trace on errors | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [zetacored snapshots](zetacored_snapshots.md) - Manage local snapshots | ||
|