<div class="gmail_quote">On Thu, Feb 10, 2011 at 3:46 PM, Shane Hathaway <span dir="ltr">&lt;<a href="mailto:shane@hathawaymix.org">shane@hathawaymix.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 02/10/2011 07:41 AM, Shane Hathaway wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 02/10/2011 06:30 AM, Santi Camps wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I was trying to move a database copy a relstorage zodb and having some<br>
issues.  The original zodb is mounted using a mount point /original_path<br>
    If I restore the backup of the database and mount it using exactly<br>
the same mount point /original_path in the destination zope, all goes<br>
right.   But what I want is to replicate the original database N times,<br>
so need to have /destination_pathN in the mount point.  When I do that,<br>
the database seems empty (no object is shown in the mounted point).<br>
</blockquote>
<br>
The normal way to copy objects in ZODB is through ZEXP export and<br>
import.  Have you tried that?  Also, what is your goal?<br>
</blockquote>
<br></div>
Um, I see you mentioned that you&#39;re trying to avoid ZEXP.  Ok. ;-)<br>
<br>
The question remains: What are you trying to accomplish?<br><font color="#888888">
<br></font></blockquote><div><br></div><div>The objective is to duplicate a storage using different mount points.  For instance, if we have  Database1 -&gt; mount_point_1 , create Database2 and Database3 as copies of Database1 (using pg_dump &amp; pg_restore), and then mount them as mount_point_2 and mount_point_3    </div>
<div><br></div><div>It works if I mount Database2 or Database3 with the same mount_point name (mount_point_1), but when mount point name changes, objects inside are not seen.  It seems like a problem with some reference to the root object in the ZODB, but not able to fix it (don&#39;t now if it&#39;s possible, in fact)</div>
<div><br></div><div>Thanks for your answers</div><div><br></div><div>Santi Camps</div><div><br></div><div><br></div></div>