ZODB: Finding Plone Site

Hi,

I have a ZODB file, but have trouble programmatically figuring out where the Plone site is, just from the ZODB file. I can find the site in the ZMI if the Zope is running (it's not the root object in the database), but if I open the ZODB file "manually", I can only see some objects which I can't identify.

Does anyone please have a pointer for me?

Kind regards,
Toni

Toni Müller via Plone Community wrote at 2024-9-3 15:31 +0000:

I have a ZODB file, but have trouble programmatically figuring out where the Plone site is, just from the ZODB file. I can find the site in the ZMI if the Zope is running (it's not the root object in the database), but if I open the ZODB file "manually", I can only see some objects which I can't identify.

Look at the URL when you have walked in the ZMI to your
Plone site.
In an interactive session, you can access an object identified
via url via app.unrestrictedTraverse(url).