Closed EugenMayer closed 2 weeks ago
Hey @EugenMayer 👋🏼
I’m not entirely clear on the use case, are you trying to download a backup file from PVE to your local machine, or upload a backup file to PVE?
The doc you referenced is indeed a bit sparse and may not be very helpful. We can definitely work on improving it to make it more useful.
Hey @bpg
the backup is located on a mounted NFS volume, you might be able to see it in the screenshot. For promox, this is just a common backup from a local folder, see the shell output i provided ( the ls ).
My goal is to restore a disk from a backup
Well, the proxmox_virtual_environment_file
resource allows you to "create" a file in PVE, which in this context means uploading a backup file to PVE storage. Which might not be particularly useful in your use case.
The provider does not support restore from a backup at the moment.
Sorry, i assume i simply misunderstood this then. May i close the ticket?
env:
The following definition fow a proxmox_virtual_environment_file
this is the filename
the storage config
When applying the resource, i get
Anything i misunderstood in this regard? Used https://registry.terraform.io/providers/bpg/proxmox/latest/docs/resources/virtual_environment_file#backups-dump as my guide
Thanks