cancel
Showing results for 
Search instead for 
Did you mean: 
JS_Learning
Moderator
Moderator
  • 664 Views

RH403: maintenance using foreman-rake and MongoDB Pulp Database

 

Hi,

1) When doing foreman-rake --help there is no mention of "audits:expire". So how are we supposed to find out that we need to do "foreman-rake audits:expire days=1"?

Let's suppose one forgot it's audits:expire (like I just did)...

2) It's required to stop pulp services prior to backup the MongoDB pulp database. How to find out the list of running services related to pulp? ( I know systemctl, I tried "systemctl list-units -t service | grep -i pulp", it's not enough).

 

Thanks

0 Kudos
1 Reply
JS_Learning
Moderator
Moderator
  • 633 Views

 I have an answer for question 1:

1) When doing foreman-rake --help there is no mention of "audits:expire". So how are we supposed to find out that we need to do "foreman-rake audits:expire days=1"?

Therte is a command "foreman-rake -T", it is possible to see:

foreman-rake -T  | grep audit

it will show:

rake audits:expire

#Expire or anonymize old audits automatically

It's not giving much details, but at least it's a way to find what can be used with that command...

 

Cheers,

 

 

0 Kudos
Join the discussion
You must log in to join this conversation.