次の方法で共有


az postgres flexible-server backup

柔軟なサーバー バックアップを管理します。

コマンド

名前 説明 状態
az postgres flexible-server backup create

フレキシブル サーバーの新しいバックアップを作成します。

コア GA
az postgres flexible-server backup delete

特定のバックアップを削除します。

コア GA
az postgres flexible-server backup list

特定のサーバーのすべてのバックアップを一覧表示します。

コア GA
az postgres flexible-server backup show

特定のサーバーの特定のバックアップの詳細を表示します。

コア GA

az postgres flexible-server backup create

フレキシブル サーバーの新しいバックアップを作成します。

az postgres flexible-server backup create --backup-name
                                          --name
                                          --resource-group

バックアップを作成します。

az postgres flexible-server backup create -g testgroup -n testsvr --backup-name testbackup

必須のパラメーター

--backup-name -b

新しいバックアップの名前。

--name -n

サーバーの名前。 名前に含めることができるのは、英小文字、数字、ハイフン (-) のみです。 3 文字以上、最大 63 文字。

--resource-group -g

リソース グループの名前。 az configure --defaults group=<name>を使用して既定のグループを構成できます。

グローバル パラメーター
--debug

ログの詳細度を上げて、すべてのデバッグ ログを表示します。

--help -h

このヘルプ メッセージを表示して終了します。

--only-show-errors

エラーのみを表示し、警告を抑制します。

--output -o

出力フォーマット。

指定可能な値: json, jsonc, none, table, tsv, yaml, yamlc
規定値: json
--query

JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。

--subscription

サブスクリプションの名前または ID。 az account set -s NAME_OR_IDを使用して既定のサブスクリプションを構成できます。

--verbose

ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。

az postgres flexible-server backup delete

特定のバックアップを削除します。

az postgres flexible-server backup delete --backup-name
                                          [--ids]
                                          [--name]
                                          [--resource-group]
                                          [--subscription]
                                          [--yes]

バックアップを削除します。

az postgres flexible-server backup delete -g testgroup -n testsvr --backup-name testbackup

必須のパラメーター

--backup-name -b

新しいバックアップの名前。

省略可能のパラメーター

--ids

1 つ以上のリソース ID (スペース区切り)。 これは、'Resource Id' 引数のすべての情報を含む完全なリソース ID である必要があります。 --ids または他の 'Resource Id' 引数を指定する必要があります。

--name -n

サーバーの名前。 名前に含めることができるのは、英小文字、数字、ハイフン (-) のみです。 3 文字以上、最大 63 文字。

--resource-group -g

リソース グループの名前。 az configure --defaults group=<name>を使用して既定のグループを構成できます。

--subscription

サブスクリプションの名前または ID。 az account set -s NAME_OR_IDを使用して既定のサブスクリプションを構成できます。

--yes -y

確認を求めないでください。

規定値: False
グローバル パラメーター
--debug

ログの詳細度を上げて、すべてのデバッグ ログを表示します。

--help -h

このヘルプ メッセージを表示して終了します。

--only-show-errors

エラーのみを表示し、警告を抑制します。

--output -o

出力フォーマット。

指定可能な値: json, jsonc, none, table, tsv, yaml, yamlc
規定値: json
--query

JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。

--subscription

サブスクリプションの名前または ID。 az account set -s NAME_OR_IDを使用して既定のサブスクリプションを構成できます。

--verbose

ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。

az postgres flexible-server backup list

特定のサーバーのすべてのバックアップを一覧表示します。

az postgres flexible-server backup list --name
                                        --resource-group

'testsvr' のすべてのバックアップを一覧表示します。

az postgres flexible-server backup list -g testgroup -n testsvr

必須のパラメーター

--name -n

サーバーの名前。 名前に含めることができるのは、英小文字、数字、ハイフン (-) のみです。 3 文字以上、最大 63 文字。

--resource-group -g

リソース グループの名前。 az configure --defaults group=<name>を使用して既定のグループを構成できます。

グローバル パラメーター
--debug

ログの詳細度を上げて、すべてのデバッグ ログを表示します。

--help -h

このヘルプ メッセージを表示して終了します。

--only-show-errors

エラーのみを表示し、警告を抑制します。

--output -o

出力フォーマット。

指定可能な値: json, jsonc, none, table, tsv, yaml, yamlc
規定値: json
--query

JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。

--subscription

サブスクリプションの名前または ID。 az account set -s NAME_OR_IDを使用して既定のサブスクリプションを構成できます。

--verbose

ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。

az postgres flexible-server backup show

特定のサーバーの特定のバックアップの詳細を表示します。

az postgres flexible-server backup show [--backup-name]
                                        [--ids]
                                        [--name]
                                        [--resource-group]
                                        [--subscription]

'testsvr' のバックアップ 'testbackup' の詳細を表示します。

az postgres flexible-server backup show -g testgroup -n testsvr --backup-name testbackup

省略可能のパラメーター

--backup-name -b

バックアップの名前。

--ids

1 つ以上のリソース ID (スペース区切り)。 これは、'Resource Id' 引数のすべての情報を含む完全なリソース ID である必要があります。 --ids または他の 'Resource Id' 引数を指定する必要があります。

--name -n

サーバーの名前。 名前に含めることができるのは、英小文字、数字、ハイフン (-) のみです。 3 文字以上、最大 63 文字。

--resource-group -g

リソース グループの名前。 az configure --defaults group=<name>を使用して既定のグループを構成できます。

--subscription

サブスクリプションの名前または ID。 az account set -s NAME_OR_IDを使用して既定のサブスクリプションを構成できます。

グローバル パラメーター
--debug

ログの詳細度を上げて、すべてのデバッグ ログを表示します。

--help -h

このヘルプ メッセージを表示して終了します。

--only-show-errors

エラーのみを表示し、警告を抑制します。

--output -o

出力フォーマット。

指定可能な値: json, jsonc, none, table, tsv, yaml, yamlc
規定値: json
--query

JMESPath クエリ文字列。 詳細と例については、http://jmespath.org/ を参照してください。

--subscription

サブスクリプションの名前または ID。 az account set -s NAME_OR_IDを使用して既定のサブスクリプションを構成できます。

--verbose

ログの詳細度を高める。 完全なデバッグ ログには --debug を使用します。