-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
server: Add help texts to all subcommands
- Loading branch information
Showing
9 changed files
with
141 additions
and
21 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
fn main() -> std::io::Result<()> { | ||
libsky::build_scripts::format_help_txt("skyd", "help_text/help", Default::default()) | ||
libsky::build_scripts::format_all_help_txt("skyd", "help_text", Default::default()) | ||
} |
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,22 @@ | ||
███████ ██ ██ ██ ██ ████████ █████ ██████ ██ ███████ | ||
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ | ||
███████ █████ ████ ██ ███████ ██████ ██ █████ | ||
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ | ||
███████ ██ ██ ██ ██ ██ ██ ██████ ███████ ███████ | ||
|
||
Skytable {version} | https://github.com/skytable/skytable | ||
Copyright (c) Sayan N. <ohsayan@outlook.com> | ||
|
||
Skytable database server daemon (skyd): database file optimization utility | ||
|
||
Usage: skyd compact | ||
|
||
Examples: | ||
skyd compact | ||
|
||
Notes: | ||
- This command will force a compaction even if it is not required | ||
- All data is backed up prior to compaction in the 'backups/' directory in a folder | ||
named using the following template 'YYYYMMDD_HHMMSS-before-compaction' | ||
|
||
{further_assistance} |
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,23 @@ | ||
███████ ██ ██ ██ ██ ████████ █████ ██████ ██ ███████ | ||
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ | ||
███████ █████ ████ ██ ███████ ██████ ██ █████ | ||
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ | ||
███████ ██ ██ ██ ██ ██ ██ ██████ ███████ ███████ | ||
|
||
Skytable {version} | https://github.com/skytable/skytable | ||
Copyright (c) Sayan N. <ohsayan@outlook.com> | ||
|
||
Skytable database server daemon (skyd): database repair utility | ||
|
||
Usage: skyd repair | ||
|
||
Examples: | ||
skyd repair | ||
|
||
Notes: | ||
- This command will check the integrity of all database files and attempt to repair | ||
any files that are found to have any issues | ||
- All data is backed up prior to compaction in the 'backups/' directory in a folder | ||
named using the following template 'YYYYMMDD_HHMMSS-before-recovery-process' | ||
|
||
{further_assistance} |
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,33 @@ | ||
███████ ██ ██ ██ ██ ████████ █████ ██████ ██ ███████ | ||
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ | ||
███████ █████ ████ ██ ███████ ██████ ██ █████ | ||
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ | ||
███████ ██ ██ ██ ██ ██ ██ ██████ ███████ ███████ | ||
|
||
Skytable {version} | https://github.com/skytable/skytable | ||
Copyright (c) Sayan N. <ohsayan@outlook.com> | ||
|
||
Skytable database server daemon (skyd): data restore utility | ||
|
||
Usage: skyd restore [FLAGS] [OPTIONS] | ||
skyd restore [FLAGS] [OPTIONS] | ||
|
||
Required options: | ||
--path <path> (required) Path to the backup that is to be restored | ||
|
||
Flags: | ||
--verify-integrity Must verify integrity before backing up | ||
--unsafe-allow-other-host (unsafe) Enable restoring backup from a different host | ||
|
||
Examples: | ||
skyd restore --verify-integrity --path /mnt/nfsbackups/mybackup-DDMMYYYY | ||
|
||
Notes: | ||
- The backup pointed to must be a manifest based backup. Otherwise it cannot be | ||
restored using this tool and needs manual intervention | ||
- If you use the `--unsafe-allow-other-host` flag you must guarantee that it is ok | ||
to restore a backup from a potentially different node | ||
- `--verify-integrity` is almost always unnecessary as on startup `skyd` will always | ||
verify the integrity of the on-disk data. | ||
|
||
{further_assistance} |
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