4 Dec
2020
4 Dec
'20
8:34 p.m.
Hi,
I have a backup folder which I monitor the folder size of. I do that by using the DIR configuration and a TRACK tag, which is working fine.
But every time the client reports in it includes the whole folder structure under the folder I monitor which is big, so the "Client data" file is big and take up a lot space on the server.
So what is the best way to avoid that?
I have a couple of suggestions, but others are mostly welcome:
- Set a cron job to delete the files when they are certain age.
- Maybe some configuration on the DIR command which stop it from sending the sub folders.
- create a custom script which send the size of the folder I want to monitor.
Thanks, Kim