Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

SOLVED

Way to automate content package creation

Avatar

Level 9

Hi All,

We are daily taking content backup which includes pages ,tags and configs.All these we are doing by creating a package(zip) and storing it in s shared drive.We want to automate this package creation activity.This operation is not available as part of JMX console also so we could not able to through CURL script.

Please help  me if anyone has any idea about this

Thanks,

Kishore

1 Accepted Solution

Avatar

Correct answer by
Level 10

Kishore@CQ wrote...

Thanks Jorg for your quick response.

Link provided by you is informative and it has defined process to create a package with one content path only but i want to create package with multiple content paths as below.

/content/xxxxxx
/content/dam/xxxxx
/etc/designs/xxxxxx/globalcontent
/etc/tags/xxxxxx
/etc/workflow/launcher/config/xxxxxx-image-rendition-launcher

Any thoughts on this one will be helpful.

Thanks,

Kishore

 

 

 

 

http://aemfaq.blogspot.com/2013/09/creating-package-with-filtersexclusion.html

View solution in original post

4 Replies

Avatar

Employee Advisor

Have you checked [0]? There you can find a description how you can work with the package manager via the HTTP API, also with examples using curl.

Jörg

[0] http://dev.day.com/docs/en/crx/current/how_to/package_manager.html#Managing%20Packages%20on%20the%20...

Avatar

Level 9

Thanks Jorg for your quick response.

Link provided by you is informative and it has defined process to create a package with one content path only but i want to create package with multiple content paths as below.

/content/xxxxxx
/content/dam/xxxxx
/etc/designs/xxxxxx/globalcontent
/etc/tags/xxxxxx
/etc/workflow/launcher/config/xxxxxx-image-rendition-launcher

Any thoughts on this one will be helpful.

Thanks,

Kishore

Avatar

Employee Advisor

OK, so you want to create a package definition via curl? Well, that should be doable using the SlingPostServlet. Create a package definition using the package manager, then observe its structure via CRXDE and then build it on your own using curl and the SlingPostServlet.

See [0] for a documentation of the capabilities of the SlingPostServlet

Jörg

[0] http://sling.apache.org/documentation/bundles/manipulating-content-the-slingpostservlet-servlets-pos...

Avatar

Correct answer by
Level 10

Kishore@CQ wrote...

Thanks Jorg for your quick response.

Link provided by you is informative and it has defined process to create a package with one content path only but i want to create package with multiple content paths as below.

/content/xxxxxx
/content/dam/xxxxx
/etc/designs/xxxxxx/globalcontent
/etc/tags/xxxxxx
/etc/workflow/launcher/config/xxxxxx-image-rendition-launcher

Any thoughts on this one will be helpful.

Thanks,

Kishore

 

 

 

 

http://aemfaq.blogspot.com/2013/09/creating-package-with-filtersexclusion.html