[Pulp-list] Recreate /var/lib/pulp directory structure?

Randy Barlow rbarlow at redhat.com
Wed May 8 20:34:10 UTC 2013

On Wed, May 08, 2013 at 03:48:24PM -0400, Phil Gardner wrote:
> Is it possible to rm -rf /var/lib/pulp/* and re-create all of the
> directory structure for a fresh start, without reinstalling the
> packages? I've already dropped the mongo db and re-ran the
> pulp-manage-db command. Is there a command that will do the same to
> /var/lib/pulp?

There is not a Pulp specific command to do that, but stopping apache,
dropping the database, rm -rf /var/lib/pulp/*, and running
pulp-manage-db is a pretty sure way to look like a new Pulp

If you don't stop apache first, things might get a little weird.

Randy Barlow

More information about the Pulp-list mailing list