Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add docs for backup checksums #13666

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

pixcc
Copy link
Member

@pixcc pixcc commented Jan 21, 2025

Changelog category

  • Documentation (changelog entry is not required)

@pixcc pixcc requested a review from CyberROFL January 21, 2025 14:12
@pixcc pixcc requested a review from a team as a code owner January 21, 2025 14:12
@pixcc pixcc self-assigned this Jan 21, 2025
@github-actions github-actions bot added the documentation Improvements or additions to documentation label Jan 21, 2025
Copy link

github-actions bot commented Jan 21, 2025

2025-01-21 14:14:08 UTC Pre-commit check linux-x86_64-release-asan for 21c5a6e has started.
2025-01-21 14:14:23 UTC Artifacts will be uploaded here
2025-01-21 14:16:55 UTC ya make is running...
🟢 2025-01-21 14:18:48 UTC Tests successful.

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
0 0 0 0 0 0

🟢 2025-01-21 14:18:55 UTC Build successful.

Copy link

github-actions bot commented Jan 21, 2025

2025-01-21 14:16:36 UTC Pre-commit check linux-x86_64-relwithdebinfo for 21c5a6e has started.
2025-01-21 14:16:48 UTC Artifacts will be uploaded here
2025-01-21 14:19:18 UTC ya make is running...
🟢 2025-01-21 14:19:24 UTC Tests successful.

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
0 0 0 0 0 0

🟢 2025-01-21 14:19:30 UTC Build successful.

Copy link

✅ Documentation build

Revision built successfully
Revision preview link

Copy link

github-actions bot commented Jan 21, 2025

2025-01-21 15:05:48 UTC Pre-commit check linux-x86_64-release-asan for bfe6f78 has started.
2025-01-21 15:06:00 UTC Artifacts will be uploaded here
2025-01-21 15:08:29 UTC ya make is running...
🟢 2025-01-21 15:10:04 UTC Tests successful.

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
0 0 0 0 0 0

🟢 2025-01-21 15:10:10 UTC Build successful.

Copy link

github-actions bot commented Jan 21, 2025

2025-01-21 15:07:50 UTC Pre-commit check linux-x86_64-relwithdebinfo for bfe6f78 has started.
2025-01-21 15:07:53 UTC Artifacts will be uploaded here
2025-01-21 15:10:13 UTC ya make is running...
🟢 2025-01-21 15:10:19 UTC Tests successful.

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
0 0 0 0 0 0

🟢 2025-01-21 15:10:24 UTC Build successful.

Copy link

✅ Documentation build

Revision built successfully
Revision preview link

@pixcc pixcc requested a review from CyberROFL January 22, 2025 10:44
Copy link

github-actions bot commented Jan 22, 2025

2025-01-22 10:46:07 UTC Pre-commit check linux-x86_64-release-asan for f1f03f6 has started.
2025-01-22 10:46:12 UTC Artifacts will be uploaded here
2025-01-22 10:48:39 UTC ya make is running...
🟢 2025-01-22 10:50:10 UTC Tests successful.

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
0 0 0 0 0 0

🟢 2025-01-22 10:50:16 UTC Build successful.

Copy link

github-actions bot commented Jan 22, 2025

2025-01-22 10:47:39 UTC Pre-commit check linux-x86_64-relwithdebinfo for f1f03f6 has started.
2025-01-22 10:47:52 UTC Artifacts will be uploaded here
2025-01-22 10:50:22 UTC ya make is running...
🟢 2025-01-22 10:50:28 UTC Tests successful.

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
0 0 0 0 0 0

🟢 2025-01-22 10:50:34 UTC Build successful.

Copy link

✅ Documentation build

Revision built successfully
Revision preview link

Copy link
Member

@CyberROFL CyberROFL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Русская версия — ок.


For each export file there is a paired file with the extension `.sha256`, which stores its checksum.

File checksum can be validated using the `sha256sum` console utility:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Может все-таки check, а не validate?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@anton-bobkov @blinkov подскажете какой слово лучше всего подходит? Я вижу что встречаются варианты - verify/validate/check checksum

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

По мне так "to validate a checksum", но "to check/verify data integrity". "To check a checksum" точно не вариант.

@@ -31,6 +31,7 @@ To run the command to import data from an S3 storage, specify the [S3 connection

`--description STRING`: A text description of the operation saved in the operation history
`--retries NUM`: The number of import retries to be made by the server. The default value is 10.
`--skip-checksum-validation`: Skip the step of validating imported objects checksums
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

И тут.


{% note info %}

Checksums of exported files are only available for export to S3-compatible object storage at this moment.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Checksums of exported files are only available for export to S3-compatible object storage at this moment.
Checksum generation is currently available only for files to be exported to S3-compatible object storage.


{% endnote %}

For each export file there is a paired file with the extension `.sha256`, which stores its checksum.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
For each export file there is a paired file with the extension `.sha256`, which stores its checksum.
{{ ydb-short-name }} generates a checksum for each export file and saves it to a corresponding` .sha256` file.

@@ -31,6 +31,7 @@ To run the command to import data from an S3 storage, specify the [S3 connection

`--description STRING`: A text description of the operation saved in the operation history
`--retries NUM`: The number of import retries to be made by the server. The default value is 10.
`--skip-checksum-validation`: Skip the step of validating imported objects checksums
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
`--skip-checksum-validation`: Skip the step of validating imported objects checksums
`--skip-checksum-validation`: Skip checksum validation for imported objects.

@@ -31,6 +31,7 @@

`--description STRING`: Текстовое описание операции, сохраняемое в истории операций
`--retries NUM`: Количество повторных попыток загрузки, которые будет предпринимать сервер. По умолчанию 10.
`--skip-checksum-validation`: Пропустить этап валидации контрольных сумм загружаемых объектов
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
`--skip-checksum-validation`: Пропустить этап валидации контрольных сумм загружаемых объектов
`--skip-checksum-validation`: Пропустить этап валидации контрольных сумм загружаемых объектов.


For each export file there is a paired file with the extension `.sha256`, which stores its checksum.

File checksum can be validated using the `sha256sum` console utility:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
File checksum can be validated using the `sha256sum` console utility:
To check data integrity of the export files, use the `sha256sum` console utility:

@@ -31,6 +31,7 @@ To run the command to import data from an S3 storage, specify the [S3 connection

`--description STRING`: A text description of the operation saved in the operation history
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
`--description STRING`: A text description of the operation saved in the operation history
`--description STRING`: A text description of the operation saved in the operation history.

@@ -31,6 +31,7 @@

`--description STRING`: Текстовое описание операции, сохраняемое в истории операций
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
`--description STRING`: Текстовое описание операции, сохраняемое в истории операций
`--description STRING`: Текстовое описание операции, сохраняемое в истории операций.


{% note info %}

Контрольные суммы файлов выгрузки на данный момент доступны только для выгрузки в S3-совместимое объектное хранилище.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Контрольные суммы файлов выгрузки на данный момент доступны только для выгрузки в S3-совместимое объектное хранилище.
Контрольные суммы на данный момент создаются только для файлов выгрузки в S3-совместимое объектное хранилище.


For each export file there is a paired file with the extension `.sha256`, which stores its checksum.

File checksum can be validated using the `sha256sum` console utility:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

По мне так "to validate a checksum", но "to check/verify data integrity". "To check a checksum" точно не вариант.


{% endnote %}

Для каждого файла выгрузки есть парный файл с расширением `.sha256`, в котором хранится его контрольная сумма.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Для каждого файла выгрузки есть парный файл с расширением `.sha256`, в котором хранится его контрольная сумма.
Для каждого файла выгрузки {{ ydb-short-name }} создаёт парный файл с расширением `.sha256`, в котором хранится его контрольная сумма.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants