[opencms-dev] Import resources, replace all existing content

Alberto Gallardo argrico at gmail.com
Tue Sep 12 10:03:13 CEST 2017


Hi Asger,

I haven't tried it, but according to the 'Alkacon OCEE Replication'
documentation, section '3.1 Replication in Multi-Staing scenarios':
> Starting with version 2.0.4 of the replication module it is possible to
configure multiple staging servers.

Your scenario is apparently depicted in their example, though I have to
admit the text is a bit confusing. Perhaps your case is in fact supported?

Regards


Alberto

2017-09-12 8:42 GMT+02:00 Asger K. Jensen <akj at tmnet.dk>:

> Hi,
> Using OpenCMS 10.5.0
>
> We currently work with two environments: Authoring and Live. Users make
> changes in Authoring (internally) and publish it locally. A scheduled job
> then runs that export all resources from /sites/default to a file, and this
> file is then transferred to the live system, where it is imported again,
> using the "importResource" command from OpenCMS CLI, after which it is
> published to make it available.
>
> This works well, except for 3 things:
> 1) Any asset that is moved/renamed in the source system gets silently
> ignored by the importResource call
>
> 2) Any assets that are deleted in the source system does not get reflected
> during exportResource.
>
> 3) We are accruing new versions in Live on every import.
>
>
> We have looked at the Enterprise module, but that publishes to Live
> immediatly upon publish in authoring, and we need changes to go out bulk(to
> be in lockstep with data from other systema), and with no direct access
> between the systems.
>
>
> Point 1) is probably the biggest issue.
>
> Is there any way to specify for importResource that it is a complete
> import, and that it should (transactionally) do a delete-all first, before
> importing the resources?
>
>
> Sent from my iPhone
> Best Regards
>
> Asger Jensen
> Head of Production
> Mail: akj at tmnet.dk<mailto:akj at tmnet.dk>
> Mobile: +45 2630 6502
>
>
> TM
>  Niels Hemmingsens Gade 9
>  1153 Copenhagen, Denmark
>  +45 3344 8555
>  www.tmnet.dk<http://www.tmnet.dk>
>
>
> _______________________________________________
> 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
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20170912/5a8cade1/attachment.htm>


More information about the opencms-dev mailing list