Hi,

The problem synthetically is about
"How to duplicate an already configured instance [b]effectively[/b]?" 

[i]I know there are Tools > Export / Import , but is this feasible? In a first 
try, I've exported each repository and imported back in another (pure bundle of 
the same version) instance but there were WARN and ERROR. This is not my main 
question but for this point would be useful a wiki, explaining the best/correct 
order of re-importing all these 20 repositories (e.g.: first "userroles" , then 
"usergroups" , then "users".. etc ) and the best/correct way to manage their 
IDs (generate new or substitute).
[/i]

(It would be nice even a nice solution even if it not comprehend the biggest 
repositories "dam/dms" and "website" . 
[url=https://forum.magnolia-cms.com/forum/thread.html?threadId=0c92142c-62f7-4a92-9e38-0aaea581f06e&page=1]This
 is not my main problem[/url] )

This is my experience:
-Starting form an operative (meaning with various personalizations - although 
mostly on repository "templates") instance MGNL5.3.8 CE (total size 2GB based 
on jackrabbit+external PostgreSQL db)
-Duplicate the instance exactly on another server.
-Delete all website pages and dam assets (that is 95% of the 2GB total size).
-The total size of new instance remain about 2GB!

Most of the size (in author and public) is inside  
..repositories/magnolia/repository/datastore..
I already checked and :
-It is not a problem related to temp directories
-It should be not a version files problem
-It is not a 1 time error, I've recreated this situation various times.


[b]My configuration[/b]
Inside files 
/home/X/magnolia-5.3.8/apache-tomcat-7.0.47/webapps/author/WEB-INF/config/default/magnolia.properties
/home/X/magnolia-5.3.8/apache-tomcat-7.0.47/webapps/ROOT/WEB-INF/config/default/magnolia.properties

magnolia.repositories.jackrabbit.config is set to
magnolia.repositories.jackrabbit.config=WEB-INF/config/repo-conf/jackrabbit-bundle-postgres-search.xml


Inside files 
..ROOT/WEB-INF/config/repo-conf/jackrabbit-bundle-postgres-search.xml
..author/WEB-INF/config/repo-conf/jackrabbit-bundle-postgres-search.xml (for 
completeness : [url=http://pastebin.com/XFx5AL3Y]here the entire file[/url] )

[i]basically the bundle file except for 1) external DB 2) public and author are 
distinct [/i]
<param name="url" value="jdbc:postgresql://X_external_db:5432/X_external" />
…
<param name="schemaObjectPrefix" value="[public|author]_pm_${wsp.name}_" />
…
<param name="schemaObjectPrefix" value="[public|author]_version_" />
…

Inside file
/home/X/magnolia-5.3.8/apache-tomcat-7.0.47/conf/server.xml points to a 
configured port for the instance.



What the heck could it be?

A fast fb would be really appreciated.
I spent a lot of time inside the forum, Richard Unger in few posts recognize 
kind of these problems 
([url=https://forums.magnolia-cms.com/forum/thread.html?threadId=29e31b61-c16d-460e-9162-3356751320f7]help
 cleaning[/url]  - [url=https://jira.magnolia-cms.com/browse/MGNLTOOLS-43]maybe 
is DataStore garbage linked[/url]  - ). 
I even googled a lot about postgresql version, if it is a "vacuum"/optimization 
DB unsolvable problem (I really hope I am wrong).
Related problem were in old versions e.g.:3.5 when you deactivate the content, 
reactivate, and the size of that content doubled in the total amount of that 
instance size.

Thanks in advance.

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=954c01b8-7d6b-45b4-ba3e-50003111a662


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <user-list-unsubscr...@magnolia-cms.com>
----------------------------------------------------------------

Reply via email to