Frequently Asked Question
PBS Backup and Restore Logs
To access /var/log/proxmox-backup/tasks/archive on your PBS server, follow these steps:
- Access the Log File:
To view the log file directly from the command line, use:
cat /var/log/proxmox-backup/tasks/archive
- Filter by Guest (e.g.,
vm-107):
Use the grep command to filter lines containing a specific guest ID like vm-107:
grep "vm-107" /var/log/proxmox-backup/tasks/archive
- Filter by Backup or Restore:
To specifically look for backup operations, use the following command:
grep ":backup:" /var/log/proxmox-backup/tasks/archive
Similarly, to filter for restore operations, you might look for lines containing :restore:.
- Show Non-OK Lines Using
grep -v:
If you want to display only the lines that do not contain " OK", use:
grep -v " OK" /var/log/proxmox-backup/tasks/archive
- Combining Filters:
You can combine these filters for more specific searches, such as finding non-OK backup operations related to a particular guest ID:
grep "vm-107" /var/log/proxmox-backup/tasks/archive | grep -v " OK" | grep ":backup:"
- Viewing Output in Columns:
For better readability, you can use less or more to view the output line by line:
less /var/log/proxmomx-backup/tasks/archive
Or pipe it directly into less for easier navigation:
grep "vm-107" /var/log/proxmox-backup/tasks/archive | grep -v " OK" | grep ":backup:" | less
By following these steps, you can effectively filter and view specific log entries in the /var/log/proxmox-backup/tasks/archive file on your PBS server.
Proxmox support from the engineers who wrote this article
This article came out of a real case resolved by GEN engineers, not from upstream documentation. GEN have run Proxmox in production in our own UK data centres since 2015, and have been in enterprise IT for 37 years. If this one has not solved your problem, we can.
- 30 minute response, 24 hours a day, every day of the year on critical production infrastructure.
- No contracts. Buy hours, use hours. No minimum term and no notice period.
- Genuinely independent. We hold no software partner status with Proxmox or any other vendor, so nothing we recommend is shaped by a licence margin.
- UK based, in-house engineers. No outsourced first line.
Proxmox support · VMware to Proxmox migration · Proxmox training · Support rates
Registering a GEN account is free, so the route to an engineer is open before you need it. You only ever pay for the time you use.
