Standalone backup agents for Linux, Mac, AIX & Solaris workloads on-premises or in the public cloud
Post Reply
CatSpirent
Enthusiast
Posts: 53
Liked: 3 times
Joined: Dec 30, 2016 4:10 pm
Full Name: Caterine Kieffer
Contact:

Linux Agent session log cleanup

Post by CatSpirent »

Is there a configuration option for keeping the backup session logs cleaned up older than a certain number of days?

/var/log/veeam/Backup/

I can configure some kind of find command in cron otherwise but I prefer to use existing methods if they exist.

eg,

/usr/bin/find /var/log/veeam/Backup/client*/* -type d -mtime +200 -exec rm -rfv {} +
PTide
Product Manager
Posts: 6431
Liked: 729 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: Linux Agent session log cleanup

Post by PTide »

Hi,

You can add this parameter to /etc/veeam/veeam.ini file:

Code: Select all

logsRotateDays=14
Thanks
CatSpirent
Enthusiast
Posts: 53
Liked: 3 times
Joined: Dec 30, 2016 4:10 pm
Full Name: Caterine Kieffer
Contact:

Re: Linux Agent session log cleanup

Post by CatSpirent »

Thank you, that is what I was looking for.
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests