Skip to content

Commit 8fbcd65

Browse files
committed
website: Document the -backup flag
1 parent 16ef3f5 commit 8fbcd65

3 files changed

Lines changed: 9 additions & 0 deletions

File tree

website/source/docs/commands/apply.html.markdown

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ execute a pre-determined set of actions.
2121

2222
The command-line flags are all optional. The list of available flags are:
2323

24+
* `-backup=path` - Path to the backup file. Defaults to `-state-out` with
25+
the ".backup" extention. Disabled by setting to "-".
26+
2427
* `-no-color` - Disables output with coloring.
2528

2629
* `-refresh=true` - Update the state for each resource prior to planning

website/source/docs/commands/plan.html.markdown

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ for the configuration and state file to refresh.
2121

2222
The command-line flags are all optional. The list of available flags are:
2323

24+
* `-backup=path` - Path to the backup file. Defaults to `-state-out` with
25+
the ".backup" extention. Disabled by setting to "-".
26+
2427
* `-destroy` - If set, generates a plan to destroy all the known resources.
2528

2629
* `-no-color` - Disables output with coloring.

website/source/docs/commands/refresh.html.markdown

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ for the configuration and state file to refresh.
2424

2525
The command-line flags are all optional. The list of available flags are:
2626

27+
* `-backup=path` - Path to the backup file. Defaults to `-state-out` with
28+
the ".backup" extention. Disabled by setting to "-".
29+
2730
* `-no-color` - Disables output with coloring
2831

2932
* `-state=path` - Path to read and write the state file to. Defaults to "terraform.tfstate".

0 commit comments

Comments
 (0)