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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/d954533d-5ddb-42de-88db-952a8dbb5dc5n%40googlegroups.com.

Reply via email to