Mailinglist Archive: opensuse-buildservice (90 mails)

< Previous Next >
Re: [opensuse-buildservice] Mass import of packages from another OBS instance
On Fri, Feb 24, 2017, at 02:18, Adrian Schröter wrote:
So... how do I migrate data from an old OBS (originally set up in 2008,
last updated around 2011) to v2.7?

Read the README.Updaters file in first place:

Ah-ha! Thank you, that is what I was looking for.

Please note that you can not jump directly to 2.7 (or even 2.8, it is
to get released) from before 2.5. So you need to do the upgrade

I have now learned that our old OBS instance is running 2.3.8. So here
is my scenario:

* old instance: a VM running openSUSE 12.1 and OBS 2.3.8
* new instance: a VM running openSUSE 42.1 and OBS 2.7.3

Key requirements:

* don't break the old OBS until the new one is ready to replace it
* new OBS reflects the current state of old OBS (i.e. the same packages
are present, with the same sources, and the same package config)

Secondary requirements:

* preserve history from old OBS

Also, I don't mind trashing my new OBS and creating a new one running
2.8. Planning to trash this one anyways in order to automate the process
of creating a new VM.

So, if I want to preserve history, it sounds like I have to do this:

* clone the old OBS VM
* upgrade the clone to OBS 2.4 (replace system image with OBS 2.4 image?
zypper update?)
* upgrade the clone to OBS 2.5
* upgrade the clone to OBS 2.6
* upgrade the clone to OBS 2.7

which all sounds like a lot of work for a small gain. Hmmmm.

If there is an easier way, I'd love to hear about it!

Thanks again for your help,

To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >