[opencms-dev] Clone site including copy of content/container

Kai Widmann Widmann at mediaworx.de
Sun Sep 15 14:11:22 CEST 2019


Hey Tobias, 

just a second thought: I'm not sure if the method i suggested works because of the UUIDs. They stay the same that way and I don’t know what happens if you import a resource with an existing UUID and a different target path. that might not work. maybe try with one resource first and see what happens.
For cloning sites we developed a tool, but that was about 8 Years ago, done by a collegue who’s no longer at the office, so I’m not sure what state the tool ist in. If you find no other solution I may have a look if I find the tool and check if it’s still working with current OpenCms versions.

Best regards, 

Kai

> Am 15.09.2019 um 14:06 schrieb Kai Widmann <Widmann at mediaworx.de>:
> 
> Hey Tobias, 
> 
> you could export the site, do a Search & Replace over all files (/sites/a => sites/b) and import. That should work.
> 
> Best regards, 
> 
> Kai 
> 
>> Am 13.09.2019 um 15:34 schrieb Tobias Karrer <kartobi at gmail.com>:
>> 
>> Hi all,
>> 
>> is there a possiblity to clone a site completely.
>> 
>> Whenever I copy /sites/a/ to /sites/b/ (including /sites/a/.content/), /sites/b/ afterwards referencest to /sites/a/.content/.
>> 
>> Any trick to prevent that?!?
>> 
>> Best regards,
>> Tobias
>> 
>> _______________________________________________
>> This mail is sent to you from the opencms-dev mailing list
>> To change your list options, or to unsubscribe from the list, please visit
>> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>> 
>> 
>> 
> 
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
> 
> 
> 



More information about the opencms-dev mailing list