PBS Log Shell

Quickly

Renowned Member
Sep 16, 2012
107
8
83
Hallo zusammen.

Ich suche eine Möglichkeit mir die PBS einige Logs in der Shell anzeigen zu lassen.

# Error - der wäre mir wichtig!
  • Die Error aus der GUI (30 Tage) wären toll.
  • Identifikation Store oder Name
  • Lesbares Datum
# Store Größe
Hier habe ich bisher hur gefunden...
du -sh /mnt/datastore/* >> /tmp/pbsdata.txt

# Laufende Tasks
Ok, die habe ich... ;)

proxmox-backup-manager task list

# Tägliche Mail senden
Ich möchte mir das täglich per Mail senden lassen.
mail -s "PBS Status von ${FQDN}" info@MeineDomain.de < /tmp/pbsdata.txt
 
Last edited:
you can use the 'proxmox-backup-debug' tool for querying the api, for example list all tasks with errors:

Code:
proxmox-backup-debug api get /nodex/NODENAME/tasks --errors 1

here: https://pbs.proxmox.com/docs/api-viewer/index.html can you see the api documentation (parameters, etc)