다음을 통해 공유


az webapp config snapshot

웹앱 스냅샷을 관리합니다.

명령

Name Description 형식 상태
az webapp config snapshot list

웹앱에 대한 복원 가능한 스냅샷을 나열합니다.

Core GA
az webapp config snapshot restore

웹앱 스냅샷을 복원합니다.

Core GA

az webapp config snapshot list

웹앱에 대한 복원 가능한 스냅샷을 나열합니다.

az webapp config snapshot list --name
                               --resource-group
                               [--slot]

예제

웹앱에 대한 복원 가능한 스냅샷을 나열합니다. (autogenerated)

az webapp config snapshot list --name MyWebApp --resource-group MyResourceGroup

필수 매개 변수

--name -n

웹앱의 이름입니다. 지정되지 않은 상태로 두면 이름이 임의로 생성됩니다. 를 사용하여 az configure --defaults web=<name>기본값을 구성할 수 있습니다.

--resource-group -g

리소스 그룹의 이름입니다. az configure --defaults group=<name>사용하여 기본 그룹을 구성할 수 있습니다.

선택적 매개 변수

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--slot -s

슬롯의 이름입니다.

전역 매개 변수
--debug

로깅 수위를 높여 모든 디버그 로그를 표시합니다.

속성
Default value: False
--help -h

이 도움말 메시지를 표시하고 종료합니다.

--only-show-errors

경고를 표시하지 않고 오류만 표시합니다.

속성
Default value: False
--output -o

출력 형식

속성
Default value: json
허용되는 값: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath 쿼리 문자열입니다. 자세한 내용 및 예제는 http://jmespath.org/ 참조하세요.

--subscription

구독의 이름 또는 ID입니다. az account set -s NAME_OR_ID사용하여 기본 구독을 구성할 수 있습니다.

--verbose

로깅의 자세한 정도를 증가시킵니다. 전체 디버그 로그에 --debug를 사용합니다.

속성
Default value: False

az webapp config snapshot restore

웹앱 스냅샷을 복원합니다.

az webapp config snapshot restore --time
                                  [--ids]
                                  [--name]
                                  [--resource-group]
                                  [--restore-content-only]
                                  [--slot]
                                  [--source-name]
                                  [--source-resource-group]
                                  [--source-slot]
                                  [--subscription]

예제

스냅샷에서 웹앱 파일을 복원합니다. 웹앱의 현재 파일 및 설정을 덮어씁니다.

az webapp config snapshot restore -g MyResourceGroup -n MySite --time 2018-12-11T23:34:16.8388367

웹앱 SourceApp의 스냅샷을 웹앱 TargetApp으로 복원합니다. --restore-content-only를 사용하여 앱 설정을 복원하지 않습니다. TargetApp의 파일을 덮어씁니다.

az webapp config snapshot restore -g TargetResourceGroup -n TargetApp --source-name SourceApp --source-resource-group OriginalResourceGroup --time 2018-12-11T23:34:16.8388367 --restore-content-only

필수 매개 변수

--time

복원할 스냅샷의 타임스탬프입니다.

선택적 매개 변수

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--ids

하나 이상의 리소스 ID(공백으로 구분). '리소스 ID' 인수의 모든 정보를 포함하는 전체 리소스 ID여야 합니다. --ids 또는 다른 '리소스 ID' 인수를 제공해야 합니다.

속성
Parameter group: Resource Id Arguments
--name -n

웹앱의 이름입니다. 지정되지 않은 상태로 두면 이름이 임의로 생성됩니다. 를 사용하여 az configure --defaults web=<name>기본값을 구성할 수 있습니다.

속성
Parameter group: Resource Id Arguments
--resource-group -g

리소스 그룹의 이름입니다. az configure --defaults group=<name>사용하여 기본 그룹을 구성할 수 있습니다.

속성
Parameter group: Resource Id Arguments
--restore-content-only

설정을 복원하지 않고 웹앱 파일을 복원합니다.

속성
Default value: False
--slot -s

슬롯의 이름입니다.

--source-name

스냅샷을 검색할 웹앱의 이름입니다.

--source-resource-group

스냅샷을 검색할 리소스 그룹의 이름입니다.

--source-slot

스냅샷을 검색할 웹앱 슬롯의 이름입니다.

--subscription

구독의 이름 또는 ID입니다. az account set -s NAME_OR_ID사용하여 기본 구독을 구성할 수 있습니다.

속성
Parameter group: Resource Id Arguments
전역 매개 변수
--debug

로깅 수위를 높여 모든 디버그 로그를 표시합니다.

속성
Default value: False
--help -h

이 도움말 메시지를 표시하고 종료합니다.

--only-show-errors

경고를 표시하지 않고 오류만 표시합니다.

속성
Default value: False
--output -o

출력 형식

속성
Default value: json
허용되는 값: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath 쿼리 문자열입니다. 자세한 내용 및 예제는 http://jmespath.org/ 참조하세요.

--verbose

로깅의 자세한 정도를 증가시킵니다. 전체 디버그 로그에 --debug를 사용합니다.

속성
Default value: False