cd "C:\Program Files\Tableau\Tableau Server\packages\bin.<version>"
2. コマンド プロンプトで、次のコマンドを順番に入力します。
tabcmd login -s http://<server name> -u <username> -p <password> tabcmd get "/datasources/<extract name>.tdsx"
注:
"tabcmd get url" コマンドは、ワークブックまたはビュー ID を使用してリソースをダウンロードします。URL に表示されるワークブックとビューの名前は、リソースをダウンロードするために tabcmd コマンドで使用される ID です。
ただし、データ ソースの ID は、ワークブックとビューのように URL に表示されることはありません。異なるプロジェクトに配置されている同じ名前のパブリッシュされたデータ ソースがいくつかある場合、URL パスを使用してデータ ソース ID を特定することはできません。その場合、コマンドは、コマンドで指定されたとおりの ID を持つデータ ソースのみをダウンロードします。
異なるプロジェクトに配置されている同じ名前のパブリッシュされたデータ ソースがいくつかある場合、データ ソース ID を明らかにするには、データ ソースの "tds" ファイルをテキスト エディターで開き、ファイル内の <repository-location> タグから "id" 値を抽出することができます。
例:
a. "myworkbook" という名前の 2 つのワークブックが異なるプロジェクト "Default" と "Project1" にパブリッシュ済みです。
b. ワークブックに移動すると、以下の URL が表示されます。
http://<server name>/#/site/<site name>/views/myworkbook/Sheet1
http://<server name>/#/site/<site name>/views/myworkbook_16191394020850/Sheet1
c. これらのワークブックをダウンロードするには、コマンドでワークブックの ID が使用されます。
tabcmd get "/workbooks/myworkbook.twb"
tabcmd get "/workbooks/myworkbook_16191394020850.twb"
どちらのコマンドでもワークブックは "myworkbook.twb" としてダウンロードされます (myworkbook_16191394020850.twb ではなく)
d. "myds" という名前の 2 つのデータ ソースが異なるプロジェクト "Default" と "Project1" にパブリッシュ済みです。
e. データ ソースに移動すると、以下の URL が表示されます。ID は URL に表示されません。
http://<server name>/#/site/<site name>/datasources/23/connections
http://<server name>/#/site/<site name>/datasources/24/connections
f.以下のコマンドを使用して、id="myds" である一方のデータ ソースをダウンロードできます。
tabcmd get "/workbooks/myds.tdsx"
g.もう一方のデータ ソースをダウンロードするには、"id" をデータ ソースの "tds" ファイルから抽出できます。
<repository-location derived-from='http://<server name>/datasources/myds?rev=1.0' id='myds_16190859777910' path='/t/<site name>/datasources' revision='1.0' site='<site name>' />
h.取得した ID をコマンドで使用して、もう一方のデータ ソースをダウンロードできます。
tabcmd get "/workbooks/myds_16190859777910.tdsx"
データ ソースは "myds.tdsx" としてダウンロードされます
注: 同じ名前のファイルが他にもある場合、コマンドはファイルを通知なしで置き換えます。この問題を回避するには、ダウンロードされるリソースのパスを指定します。
001458254

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.