how to LDAP cached db-files automatic cleanup ?

xcientist

New Member
Dec 3, 2022
3
0
1
the LDAP entries are synced hourly - the result is in cached db-files in /var/lib/pmg ('users', 'dnames', 'groups', 'mails', 'accounts', 'memberof')

there are too many files here and i have free space problem

I do not use a very large structure
How can I clean this place automatically I am using LDAP
Services stop when disk space reaches 90% :(
I'm still very new I really love and support PMG I continue to learn thank you
 
can you post the output of

Code:
du -h /var/lib/pmg/
?
 
root@prox:~# ls
PAKETLER pmg-backup_2019_12_03_5DE6BE24.tgz
root@prox:~#
root@prox:~# du -h /var/lib/pmg/
4.1G /var/lib/pmg/ldapdb_BORDA <<< This Folder
108K /var/lib/pmg/templates
1.2M /var/lib/pmg/backup
4.1G /var/lib/pmg/
 
Last edited:
how many users/groups do you have in the ldap?
 
ok, you could try to simply delete the folder (make a backup somewhere else) and redo the sync from the gui
 

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!