Hello, 

Thank you for your answer I will apply that but I just saw that by default 
it is 14 days. So I think my problem lies elsewhere...

Regards


Le jeudi 16 novembre 2023 à 20:54:02 UTC+1, [email protected] a écrit :

> That script looks to be related to the old puppet-dashboard, and I don't 
> think it would work with Puppetboard. To my knowledge, Puppetboard does not 
> store any reports and is only a frontend for displaying PuppetDB data. If 
> you find the reports in your PuppetDB growing too large, you can lower the 
> value of report-ttl 
> <https://www.puppet.com/docs/puppetdb/8/configure.html#report-ttl> in 
> your PuppetDB configuration.
>
> On Thursday, November 16, 2023 at 9:07:22 AM UTC-8 puppetstan wrote:
>
>> Hello,
>>
>> I installed puppetboard and a postgresql database. 
>>
>> Reports take up space. On an old server I installed a script which 
>> contained this
>>
>> #!/bin/bash
>> DBOARD_DIR=/usr/share/puppet-dashboard
>>
>> cd ${DBOARD_DIR}
>> rake RAILS_ENV=production reports:prune upto=1 unit=mon
>> rake RAILS_ENV=production db:raw:optimize
>>
>>
>> do you think this is the right solution? is there another solution?
>>
>> Regards
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/88a2ab46-aa4b-416f-8bc7-d7193e24d2cbn%40googlegroups.com.

Reply via email to