Skip to content

Commit d929655

Browse files
authored
Add docs for ydb import s3 --exclude option + typo fix (#28113)
1 parent 2d49061 commit d929655

File tree

2 files changed

+5
-1
lines changed
  • ydb/docs
    • en/core/reference/ydb-cli/export-import/_includes
    • ru/core/reference/ydb-cli/export-import/_includes

2 files changed

+5
-1
lines changed

ydb/docs/en/core/reference/ydb-cli/export-import/_includes/s3_import.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ To run the command to import data from an S3 storage, specify the [S3 connection
2828

2929
`--include PATH`: Schema objects to be included in the import. Directories are traversed recursively. You may specify this parameter multiple times to include several objects. If not specified, all objects in export are imported.
3030

31+
`--exclude STRING`: Template ([PCRE](https://www.pcre.org/original/doc/html/pcrepattern.html)) to exclude paths from import. Paths are relative to the `root-path`. You may specify this parameter multiple times for different templates.
32+
3133
{% cut "Alternate syntax" %}
3234

3335
There's an alternate syntax to specify the list of imported objects, supported for backward compatibility.

ydb/docs/ru/core/reference/ydb-cli/export-import/_includes/import-s3.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@
3232

3333
`--destination-path PATH`: Целевая директория для загружаемых объектов; значением по умолчанию является корень базы данных.
3434

35-
`--include PATH`: Объекты схемы данных для включения в экспорт. Директории обходятся рекурсивно. Для включения нескольких объектов допускается указание параметра несколько раз. Если не указан, выполняется загрузка всех объектов выгрузки.
35+
`--include PATH`: Объекты схемы данных для включения в импорт. Директории обходятся рекурсивно. Для включения нескольких объектов допускается указание параметра несколько раз. Если не указан, выполняется загрузка всех объектов выгрузки.
36+
37+
`--exclude STRING`: Шаблон ([PCRE](https://www.pcre.org/original/doc/html/pcrepattern.html)) для исключения путей из импорта. Пути указываются относительно `root-path`. Данный параметр может быть указан несколько раз для разных шаблонов.
3638

3739
{% cut "Альтернативный способ" %}
3840

0 commit comments

Comments
 (0)