Hello everybody,
is there a way inside a vzdump hook script (written in Bash) to recognize that the backup target is a Proxmox Backup Server?
Currently I automatically backup to a local storage and have a hook script defined in /etc/vzdump.conf via "script: ..." which copies the backup files via SSH to another machine. This copying is not necessary with a (remote) PBS, of course. For a testing period I would like to have both backup mechanisms in parallel therefore disabling the hook script totally is no good option currently.
Thanks!
is there a way inside a vzdump hook script (written in Bash) to recognize that the backup target is a Proxmox Backup Server?
Currently I automatically backup to a local storage and have a hook script defined in /etc/vzdump.conf via "script: ..." which copies the backup files via SSH to another machine. This copying is not necessary with a (remote) PBS, of course. For a testing period I would like to have both backup mechanisms in parallel therefore disabling the hook script totally is no good option currently.
Thanks!