

翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。

# **eb restore**
<a name="eb3-restore"></a>

## 説明
<a name="eb3-restoredescription"></a>

終了した環境を再構築し、同じ名前、ID、および設定で新しい環境を作成します。再構築が成功するためには、環境名、ドメイン名、およびアプリケーションバージョンが利用できる必要があります。

## 構文
<a name="eb3-restoresyntax"></a>

 **eb restore** 

 **eb restore *environment\$1id*** 

## オプション
<a name="eb3-restoreoptions"></a>


****  

|  名前  |  説明  | 
| --- | --- | 
|  [一般的なオプション](eb3-cmd-options.md)  |  | 

## Output
<a name="eb3-restoreoutput"></a>

EB CLI は、復元可能な終了された環境のリストを表示します。

## 例
<a name="eb3-restoreexample"></a>

```
$ eb restore
Select a terminated environment to restore

  #   Name          ID             Application Version      Date Terminated        Ago

  3   gamma         e-s7mimej8e9   app-77e3-161213_211138   2016/12/14 20:32 PST   13 mins
  2   beta          e-sj28uu2wia   app-77e3-161213_211125   2016/12/14 20:32 PST   13 mins
  1   alpha         e-gia8mphu6q   app-77e3-161213_211109   2016/12/14 16:21 PST   4 hours

 (Commands: Quit, Restore, ▼ ▲)

Selected environment alpha
Application:    scorekeep
Description:    Environment created from the EB CLI using "eb create"
CNAME:          alpha.h23tbtbm92.us-east-2.elasticbeanstalk.com
Version:        app-77e3-161213_211109
Platform:       64bit Amazon Linux 2016.03 v2.1.6 running Java 8
Terminated:     2016/12/14 16:21 PST
Restore this environment? [y/n]: y

2018-07-11 21:04:20    INFO: restoreEnvironment is starting.
2018-07-11 21:04:39    INFO: Created security group named: sg-e2443f72
...
```