Skip to content

Commit

Permalink
chore(docs): clarify use of dump content type in`proxmox_virtual_en…
Browse files Browse the repository at this point in the history
…vironment_file` resource

Signed-off-by: Pavel Boldyrev <[email protected]>
  • Loading branch information
bpg committed Nov 11, 2024
1 parent 2e27b4a commit a013cef
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/resources/virtual_environment_file.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,16 @@ subcategory: Virtual Environment

# Resource: proxmox_virtual_environment_file

Manages a file.
Use this resource to upload files to a Proxmox VE node. The file can be a backup, an ISO image, a snippet, or a container template depending on the `content_type` attribute.

## Example Usage

### Backups (`dump`)

-> The resource with this content type uses SSH access to the node. You might need to configure the [`ssh` option in the `provider` section](../index.md#node-ip-address-used-for-ssh-connection).

~> The provider currently does not support restoring backups. You can use the Proxmox VE web interface or the `qmrestore` / `pct restore` command to restore VM / Container from a backup.

```hcl
resource "proxmox_virtual_environment_file" "backup" {
content_type = "dump"
Expand Down

0 comments on commit a013cef

Please sign in to comment.