Content backup | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Nilesh_Mali
Nilesh_MaliAccepted solution
Level 3
Jul 27, 2023 1:57 PM UTC
  1. Create a scheduler and get the package filter path from OSGI configs.
  2. Create or build the package from the scheduler at a particular time with the cron expression
  3. Create a shell script with the curl command to download the created package from the scheduler, run it in the home directory
  4. Use the downloaded package.

5 replies

Nilesh_Mali
Nilesh_MaliAccepted solution
Level 3
Jul 27, 2023 1:57 PM UTC
  1. Create a scheduler and get the package filter path from OSGI configs.
  2. Create or build the package from the scheduler at a particular time with the cron expression
  3. Create a shell script with the curl command to download the created package from the scheduler, run it in the home directory
  4. Use the downloaded package.
Translate
bilal_ahmad
Level 5
Jul 26, 2023 5:36 PM UTC

Hey @sai2teja I'm assuming your dev and test servers are on linux/ec2 private cloud. I did this in my case

 

  1. Create a shell script in your home directory of the aem server that would use the cURL to create backup content package for the filters you want.
  2. Add an expression in crontab of the server that would run every day/night and execute your shell script
  3. Upload the created package on your file system/cloud and drip an email from the aem server about the backup package created.

Thanks

-Bilal

Translate
sai2tejaAuthor
Level 2
Jul 26, 2023 8:35 PM UTC

Thanks Bilal,

 

Will try this approach!

 

Regards,

Sai

Translate
rawvarun
New Participant
Jul 26, 2023 4:30 PM UTC
sai2tejaAuthor
Level 2
Jul 26, 2023 8:36 PM UTC

Thanks RawVarun,

 

Will check it out.

 

Regards,

Sai

Translate