<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Cannot import workspace://spacesStore repository with ACP in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/cannot-import-workspace-spacesstore-repository-with-acp/m-p/272682#M225812</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm having difficulties using the ACP export/import feature of Alfresco as a way to backup and restore an Alfresco repository. This is a fairly empty repository on a local dev machine - the entire repository is only about 40MB.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've exported the workspace://SpacesStore repository using the following command, as described at &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Export_and_Import" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Export_and_Import&lt;/A&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;java -Xms128m -Xmx768m -XX:MaxPermSize=256m -classpath ../../lib/*;../../lib/ext/*;../../shared/classes;WEB-INF/classes/;../../shared/lib/*;WEB-INF/lib/* org.alfresco.tools.Export -user admin -pwd admin -store workspace://SpacesStore -verbose c:/hubnet/temp/workspace-spacesStore.xml&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;This creates &lt;/SPAN&gt;&lt;STRONG&gt;workspace-spacesStore.xml&lt;/STRONG&gt;&lt;SPAN&gt; and a folder &lt;/SPAN&gt;&lt;STRONG&gt;workspace-spacesStore&lt;/STRONG&gt;&lt;SPAN&gt; which contains all of the raw files.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To import the workspace, I've deleted the existing Alfresco database and the old Alfresco data. I then try to import the same workspace using the command:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;java -Xms128m -Xmx768m -XX:MaxPermSize=256m -classpath ../../lib/*;../../lib/ext/*;../../shared/classes;WEB-INF/classes/;../../shared/lib/*;WEB-INF/lib/* org.alfresco.tools.Import -user admin -pwd admin -store workspace://SpacesStore -verbose c:/hubnet/temp/workspace-spacesStore.xml&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Since the database and alf_data folders do not exist, they are created and initialised (I think). The import is subsequently not successful, and the following exception occurs:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry '6-wf-email-html-ftl' for key 'store_id'&lt;BR /&gt;; SQL []; Duplicate entry '6-wf-email-html-ftl' for key 'store_id'; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationExcepti&lt;BR /&gt;on: Duplicate entry '6-wf-email-html-ftl' for key 'store_id'&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;If I use the argument &lt;/SPAN&gt;&lt;STRONG&gt;-uuidBinding REPLACE_EXISTING&lt;/STRONG&gt;&lt;SPAN&gt;, the same exception occurs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I use the argument &lt;/SPAN&gt;&lt;STRONG&gt;-uuidBinding REMOVE_EXISTING&lt;/STRONG&gt;&lt;SPAN&gt;, I get the following exception instead:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;org.alfresco.error.AlfrescoRuntimeException: 02070017 site deletion is not allowed. Attempted to delete workspace://SpacesStore/b4cff62a-664d-4d45-9302-98723eac1319&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;If I use the argument &lt;/SPAN&gt;&lt;STRONG&gt;-uuidBinding UPDATE_EXISTING&lt;/STRONG&gt;&lt;SPAN&gt;, I get the following exception instead:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;org.alfresco.service.cmr.rendition.RenditionServiceException: 02080017 Multiple rendition definitions with the name: {&lt;A href="http://www.alfresco.org/model/content/1.0}doclib" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/content/1.0}doclib&lt;/A&gt; exist!&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Therefore I've run out of options. How are you supposed to import an ACP file into a new repository? I haven't had any success at all.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've also not been able to import the &lt;/SPAN&gt;&lt;STRONG&gt;user://alfrescoUserStore&lt;/STRONG&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;STRONG&gt;system://system&lt;/STRONG&gt;&lt;SPAN&gt; or &lt;/SPAN&gt;&lt;STRONG&gt;workspace://lightWeightVersionStore&lt;/STRONG&gt;&lt;SPAN&gt; repositories. The only repository I've had success in importing is the &lt;/SPAN&gt;&lt;STRONG&gt;archive://SpacesStore&lt;/STRONG&gt;&lt;SPAN&gt; repository, but since none of my workspace changes affect this repository, it's effectively useless. This is Alfresco Community 4.0.c.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas or feedback would be most welcome. Right now my backup/restore approach is through dumping the database through mysqldump, and copying the data itself using rsync. At least with mysqldump &amp;amp; rsync you can backup a running Alfresco instance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Mar 2012 01:46:30 GMT</pubDate>
    <dc:creator>jevon</dc:creator>
    <dc:date>2012-03-08T01:46:30Z</dc:date>
    <item>
      <title>Cannot import workspace://spacesStore repository with ACP</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cannot-import-workspace-spacesstore-repository-with-acp/m-p/272682#M225812</link>
      <description>Hi all,I'm having difficulties using the ACP export/import feature of Alfresco as a way to backup and restore an Alfresco repository. This is a fairly empty repository on a local dev machine - the entire repository is only about 40MB.I've exported the workspace://SpacesStore repository using the fol</description>
      <pubDate>Thu, 08 Mar 2012 01:46:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cannot-import-workspace-spacesstore-repository-with-acp/m-p/272682#M225812</guid>
      <dc:creator>jevon</dc:creator>
      <dc:date>2012-03-08T01:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot import workspace://spacesStore repository with ACP</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cannot-import-workspace-spacesstore-repository-with-acp/m-p/272683#M225813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dumping the database and copying the content store is the preferred method of a backup and restore. Especially because you are trying to restore into a new repository. I'd use that approach rather than ACP.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2012 14:30:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cannot-import-workspace-spacesstore-repository-with-acp/m-p/272683#M225813</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2012-03-08T14:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot import workspace://spacesStore repository with ACP</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cannot-import-workspace-spacesstore-repository-with-acp/m-p/272684#M225814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Jeff,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your answer. We were looking at ACPs because we asked about the scenario of moving content between repositories, e.g. development to production environment, and you recommended ACPs at &lt;/SPAN&gt;&lt;A href="https://forums.alfresco.com/en/viewtopic.php?f=10&amp;amp;t=42847" rel="nofollow noopener noreferrer"&gt;https://forums.alfresco.com/en/viewtopic.php?f=10&amp;amp;t=42847&lt;/A&gt;&lt;SPAN&gt; .&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I understand that ACPs are better for moving/copying/restoring parts of the repository, but does this mean ACPs can't be used to copy/restore an entire repository? Does ACP export/import support browsing through the repository, e.g. workspace://spacesStore/user_sites/myusername or whatever?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If ACPs are intended to backup/restore entire repositories (as implied at the wiki link), are the problems listed above expected?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Or, are ACPs only intended to copy repositories within a single Alfresco instance, e.g. workspace://spacesStore to workspace://spacesStoreBackup?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2012 00:38:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cannot-import-workspace-spacesstore-repository-with-acp/m-p/272684#M225814</guid>
      <dc:creator>jevon</dc:creator>
      <dc:date>2012-03-09T00:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot import workspace://spacesStore repository with ACP</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cannot-import-workspace-spacesstore-repository-with-acp/m-p/272685#M225815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;ACPs are only partial dumps that's why the "full repository export" option is not allowed.&amp;nbsp;&amp;nbsp; It is "good enough" for trees of documents etc, but ultimately is on the backlog to be replaced.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2012 08:50:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cannot-import-workspace-spacesstore-repository-with-acp/m-p/272685#M225815</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2012-03-09T08:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot import workspace://spacesStore repository with ACP</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cannot-import-workspace-spacesstore-repository-with-acp/m-p/272686#M225816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;jevon,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In my forum post you cited is an important disclaimer: "…depending on how much content you are moving between environments…"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would definitely not use ACP for a full repo migration.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Mar 2012 18:08:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cannot-import-workspace-spacesstore-repository-with-acp/m-p/272686#M225816</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2012-03-11T18:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot import workspace://spacesStore repository with ACP</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cannot-import-workspace-spacesstore-repository-with-acp/m-p/272687#M225817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the replies, I thought that might be the case.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In that case, how can one tell when it would be appropriate to use ACP, and when it would be appropriate to use a full database dump? What directory trees can and cannot be exported/imported using ACP? How does the ACP export/import command line tool support sub-trees, I guess with the -path argument?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Mar 2012 21:15:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cannot-import-workspace-spacesstore-repository-with-acp/m-p/272687#M225817</guid>
      <dc:creator>jevon</dc:creator>
      <dc:date>2012-03-11T21:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot import workspace://spacesStore repository with ACP</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cannot-import-workspace-spacesstore-repository-with-acp/m-p/272688#M225818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think a good rule of thumb would be to say that if you are exporting and importing instances of cm:content (or a child type) you are fine with ACP's up to a certain volume. What that volume is (in terms of both number and size) depends entirely on your configuration (hardware and software), but I don't think I'd use ACP for more than a few thousand nodes of "reasonable" size. Sub-directories are fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Wish I could give you a more specific answer,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Mar 2012 14:33:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cannot-import-workspace-spacesstore-repository-with-acp/m-p/272688#M225818</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2012-03-19T14:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot import workspace://spacesStore repository with ACP</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/cannot-import-workspace-spacesstore-repository-with-acp/m-p/272689#M225819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Wow neat! This is a really, great site! I am wondering, if anyone else has come across, something, similar in the past? Keep up, the great work! &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Apr 2012 10:59:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/cannot-import-workspace-spacesstore-repository-with-acp/m-p/272689#M225819</guid>
      <dc:creator>mittromney</dc:creator>
      <dc:date>2012-04-21T10:59:12Z</dc:date>
    </item>
  </channel>
</rss>

