0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

BigQuery のタイムトラベルで、しゅっとテーブルを戻すときによくつかうコマンドサンプル

Posted at

公式ドキュメントはこれ

ミリ秒で、1日前を指定(-86400000)

bq cp --project_id foobar-project \
foobar-dataset.foobar-table@-86400000 foobar-dataset.foobar-table

ミリ秒で、1時間前を指定(-3600000)

bq cp --project_id foobar-project \
foobar-dataset.foobar-table@-3600000 foobar-dataset.foobar-table
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?