Creating a dynamic table backup
CLI
Web interface
MapReduce
-
Allow read access and prohibit data write:
yt freeze-table //path/to/table
-
Copy a table:
yt copy //path/to/table //path/to/table_copy
-
Allow data write access:
yt unfreeze-table //path/to/table
- To allow read access and prohibit data write, select
Freeze
in the table context menu. - To copy a table, select
Copy
in the context menu and specify the name of the new table. - To allow data write, select
Unfreeze
.
If you need to give data read and write access when copying a table, dump the contents of the dynamic table into the static table and back again. To do this, use the script described in the MapReduce for dynamic tables section.