Recent content by Petr Swetr

  1. P

    query if a backup task is running

    Yes, I use the token. New problem arise, there are short breaks between backups (multiple Proxmox VMs are backed up) . I would like to shut the backup server down when the running=false query returns 0 (my backups are once a day starting 23:55 and the time of execution of all backups is in the...
  2. P

    query if a backup task is running

    Do you mean this? Go to Datacenter -> Permissions, there add a new User permission with the path "/" for your user and the appropriate role. Make sure the "Propagate" Checkbox is enabled so that the permission propagates down to all the child elements of the permissions paths.
  3. P

    query if a backup task is running

    here the returned number increments when the new backup task finishes ....https://192.168.0.201:8007/api2/json/nodes/localhost/tasks\?running=false\&limit=10000 | jq .total following returns always 0 (even when backup task is started manually from the Proxmox server and from the web interface...
  4. P

    query if a backup task is running

    trying in my local network: curl -s -k -H 'Authorization: PBSAPIToken=root@pam!testN:<token-secret-value>' "https://192.168.0.201:8007/api2/json/nodes/localhost/tasks?running=true" Always returning{"total":0,"data":[]}