Expand my Community achievements bar.

SOLVED

automate content packages without curl command

Avatar

Level 4

Hi,

    I want to take backup of content packages from crx and store it in my local disk on a weekly basis without curl command or shell scripts.

   I am trying to use pacakage manager api and automate the process using a scheduler but didnt get any idea about how to do this.

    Please help me in this regard

Thanks

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

HI,

start with the JcrPackageManager service and its API [1].

kind regards,
Jörg

[1] https://docs.adobe.com/docs/en/cq/5-6/javadoc/com/day/jcr/vault/packaging/JcrPackageManager.html

View solution in original post

2 Replies

Avatar

Level 10

Hi there,

Thanks for reaching out. 

The only method mentioned for automated back up is using the curl command and to backup packages see:

https://docs.adobe.com/docs/en/aem/6-0/administer/content/backup-and-restore.html#Package Backup

Thanks!

Avatar

Correct answer by
Employee Advisor

HI,

start with the JcrPackageManager service and its API [1].

kind regards,
Jörg

[1] https://docs.adobe.com/docs/en/cq/5-6/javadoc/com/day/jcr/vault/packaging/JcrPackageManager.html