Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Selective Assets Movement from Production to Lower environment

Avatar

Avatar
Level 1
maheshs78145042
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
maheshs78145042
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile
maheshs78145042
Level 1

11-01-2021

Hi All,

 

I have a requirement where I need to move 2600 assets from Production to lower environment  and after running some test I need to export these assets back to production. These assets are scattered in different sub-folders across dam. Please could you suggest some way to achieve this. I am using Aem 6.4.8.

 

Thanks,

Mahesh

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,345 likes

Total Posts

3,220 posts

Correct Reply

914 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,345 likes

Total Posts

3,220 posts

Correct Reply

914 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
MVP

11-01-2021

you can create a package using filter, the list you can extract from prod and create a package in local with the filter of all the assets file, once done upload a package in prod and build. there you will have  the package and upload in lower env, once you are done with lower env changes then again build and upload & install in PROD.

 

Answers (2)

Answers (2)

Avatar

Avatar
Springboard
Level 7
KiranVedantam1992
Level 7

Likes

169 likes

Total Posts

175 posts

Correct Reply

54 solutions
Top badges earned
Springboard
Give Back 5
Ignite 1
Affirm 50
Validate 1
View profile

Avatar
Springboard
Level 7
KiranVedantam1992
Level 7

Likes

169 likes

Total Posts

175 posts

Correct Reply

54 solutions
Top badges earned
Springboard
Give Back 5
Ignite 1
Affirm 50
Validate 1
View profile
KiranVedantam1992
Level 7

11-01-2021

You can do this programmatically to save the effort.

 

1. Create a scheduler that you can run on your production author environment.

2. Create a query to run on the path specified to get your list of assets.

3. With the list of assets create a package programmatically using java code:

Packager Service:

packagerService.createPackage(packageName, groupName, filters, request);

 

Refer to an example here.

Hope this helps.

 

Thanks,

Kiran Vedantam.

Avatar

Avatar
Validate 10
MVP
kunal23
MVP

Likes

166 likes

Total Posts

565 posts

Correct Reply

172 solutions
Top badges earned
Validate 10
Validate 1
Ignite 3
Ignite 1
Give Back 50
View profile

Avatar
Validate 10
MVP
kunal23
MVP

Likes

166 likes

Total Posts

565 posts

Correct Reply

172 solutions
Top badges earned
Validate 10
Validate 1
Ignite 3
Ignite 1
Give Back 50
View profile
kunal23
MVP

11-01-2021

You can use the Asset Ingestor or URL Asset Importer utility of ACS commons package. 

More details can be found here - https://adobe-consulting-services.github.io/acs-aem-commons/features/mcp-tools/asset-ingestion/index...