On 8/24/15 12:59 PM, Christopher Wood wrote:
(Although I may dump/restore the data via puppetdb since that's the actual api 
to the data, we do not log in via PostgreSQL.)

Others can speak to the rest of the plan, but just to clarify in case I'm understanding you right: the PuppetDB import/export tools are not intended to work across different versions of PDB, so an export of 2.x data will not be importable on 3.x. I can see that this is a hole in our documentation, which I'll fix up in a minute.

Instead, the necessary data migrations will be handled by the upgrade itself on the first startup of PuppetDB 3.0. Taking a pg_dump or PuppetDB export for a backup prior to the upgrade is still a prudent thing to do in case a downgrade is required, but that will only allow you to restore from the version you came from (possibly earlier ones too in the export case, but only by happenstance). For your use case I'd recommend pg_dump over PuppetDB export since it'll run a lot faster, but either one will get the job done.

Wyatt

--
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/55DB8009.6080300%40puppetlabs.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to