Is there a way to supress the writing of the standard vzdump logfile?

rcd

Active Member
Jul 12, 2019
245
22
38
62
I believe vzdump outputs the exact same logging info on stdout and to the logfile with the same name as the dump?

I run a script for daily snapshots + borgbackup/deduplication +prune, that output everything to a comprehensive logfile so have no need for the default named logfile. Is there a way to suprress it so I avoid having to script my way around to deleting it?

TL;DR: Is there a way to supress the writing of the standard vzdump logfile? (/var/lib/vz/dump/vzdump-*.log)
 
Last edited:
Hi,
no this is not possible, as the logs are also used to generate the relevant email body for automated email.

If you don't want the logfiles to persist after a successful backup, you will have to clean them up in your script.
 
  • Like
Reactions: rcd

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!