Please can someone explain how environment variables work and I can use them to make an automated backup script with api key access?
How do I use them? Are they stored in a local text file and read automatically or included in a script?Environment variables are simple key/value pairs that are defined locally or global and referenced later.
source <path to file>
I want to back up a couple of individual files and directories off one of the VMs to give instant access to them in the event of a problem as it might take some time to restore the full VM image especially in the event of a hardware failureWhat I don't understand though why you would need to create a script to do backups with an api key. The native WebUI of ProxmoxVE and PBS allows (if you configured permissions correctly) to run scheduled backup jobs for lxcs and vms without creating your own shell script.
What I don't understand though why you would need to create a script to do backups with an api key. The native WebUI of ProxmoxVE and PBS allows (if you configured permissions correctly) to run scheduled backup jobs for lxcs and vms without creating your own shell script.
With PBS you use can also restore single files, even from full backups.I want to back up a couple of individual files and directories off one of the VMs to give instant access to them in the event of a problem as it might take some time to restore the full VM image especially in the event of a hardware failure
We use essential cookies to make this site work, and optional cookies to enhance your experience.