title: Export large document library from one Liferay 6.1 instance to another
body: <p>I have one instance of Liferay 6.1 that has a large amount of files in its document library (the "data" folder zipped has almost 5 GB in size and the "document_library" folder has around 40 GB in size). I need to migrate the document library (including custom document types and custom metadata) from one Liferay instance to another.</p>
  
  <p>The first thing i tried was to use the standard "Export / Import" command that is available at the Document Library control painel. The export process starts (i can see this by the loading indicator in my browser window) but it never ends to the point where i´am able to download a .LAR file. </p>
  
  <p>In the last try i waited 6 hours to see if the server could complete the operation, but it didn´t work.</p>
  
  <p>The server from where i want to export the data is Liferay 6.1.30 EE GA 3 running on Linux Red Hat with Tomcat 7 and uses Microsoft SQL Server 2008 as database. I need to migrate the entire document library (including custom document types and custom metadata) to a Liferay 6.1.2 CE GA 3 runnig on Tomcat 7 in Ubuntu 14.04 LTS (it is a development machine).</p>
  
  <p>I´m almost trying to simply copy the folders "data" and "document_library" from one server to another, but i guess that doing this will not migrate the custom document types and custom metadata (i suppose they are stored in the database on some tables that include at least DLFileEntryMetaData and DLFileEntryType).</p>
  
  <p>Can you give me some tips and ideas to acomplish this?</p>
  
  <p>Thanks</p>