[Pulp-list] Dump and import repo configs

Pier, Bryce Bryce.Pier at Capella.edu
Wed Feb 22 15:51:22 UTC 2017


Nelson and Dennis,
Thank you for the responses. I attempted the database dump and restore that Dennis recommended, but afterward only had one of my repos listed in a  "pulp-admin rpm repo list”. I then realized building a new pulp server was a good time to clean house: removing unnecessary repos and correcting some inconsistencies with naming, relative paths, etc. So, I just proceeded with defining new repos anyway.

Again, thanks for the help!
-Bryce


On Feb 17, 2017, at 11:00 PM, Monserrate Nelson R <MonserrateNelson at JohnDeere.com<mailto:MonserrateNelson at johndeere.com>> wrote:

Hello Bryce,

I developed a tool that somehow does what you are looking for:

https://github.com/nbetm/python-pulpadm.git

I recommend you to use the develop branch (the code is more polished compared with master). However, it lacks the dump of rpm repo configs, but this is something I can implement really quick so you can use the import action with the exported data.

Let me know your thoughts.
-Nelson


-------- Forwarded Message --------
Subject:

[Pulp-list] Dump and import repo configs

Date:

Thu, 16 Feb 2017 16:26:45 +0000

From:

Pier, Bryce <Bryce.Pier at capella.edu><mailto:Bryce.Pier at capella.edu>

To:

pulp-list at redhat.com<mailto:pulp-list at redhat.com> <pulp-list at redhat.com><mailto:pulp-list at redhat.com>



Hello All,

I’ve been using pulp for several years and am now in the process of building a new data center. So I’ve decided this is a good time to move to RHEL7 and Pulp 2.12. Is there a way to dump the repo configurations (from pulp 2.7) in a format that I can then import into the new server? I’m not looking to move the database or the packages, just the repo configs. I currently have 36 repos covering RHEL5,6,7,Epel, OEL6, RHV4, etc. and I’m just hoping to save some time and avoid the likely typo while re-creating them all.



Thanks!

-Bryce





_______________________________________________

Pulp-list mailing list

Pulp-list at redhat.com<mailto:Pulp-list at redhat.com>

https://www.redhat.com/mailman/listinfo/pulp-list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20170222/1ed177a6/attachment.htm>


More information about the Pulp-list mailing list