Creating a dynamic table backup

  1. Allow read access and prohibit data write:

    yt freeze-table //path/to/table
    
  2. Copy a table:

    yt copy //path/to/table //path/to/table_copy
    
  3. 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.