Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Downsync from AEMaaCS Instance #219

Closed
anianweber opened this issue Nov 23, 2023 · 2 comments
Closed

Question: Downsync from AEMaaCS Instance #219

anianweber opened this issue Nov 23, 2023 · 2 comments

Comments

@anianweber
Copy link

I have the following questions:

  • Is it possible to copy content from a cloud instance into the local instance(s)?
  • As far as i can tell, it is possible to download and install packages, but can one create them with the CLI as well?
  • How can you register remote instances?
  • Are there other recommendations how one could downsync content?
@krystian-panek-vmltech
Copy link
Contributor

krystian-panek-vmltech commented Nov 23, 2023

but can one create them with the CLI as well?

yes, use:

sh aemw package create -A --pid group:name:version --filter-file filter.xml

How can you register remote instances?

just define them with any other prefix than 'local_' for example 'remote_', 'integration_', etc

instance:

  # Full details of local or remote instances
  config:
    integration_author:
      http_url: http://x.x.x.x:4502
      user: admin
      password: pwd
    integration_publish:
      http_url: http://y.y.y.y:4503
      user: admin
      password: pwd

or use ad-hoc definitions

sh aemw package deploy --instance-url=admin:admin@x.x.x.x:4502

or

ENVS=integration_author=admin:admin@x.x.x.x:4502,integration_publish=admin:admin@x.x.x.x:4503
sh aemw package deploy --instance-url=$ENVS -A # only to author
sh aemw package deploy --instance-url=$ENVS -P # only to publish

copy content from a cloud instance

as far as I know only AEM author is reachable but via auth using bearer token; this is supported in predecessor of AEMC (https://github.com/wttech/gradle-aem-plugin) but not yet in AEMC. I just raised a ticket to cover that: #220 ;

basically to copy cloud to/from cloud instances Adobe developed few tools and documented these approaches. don't hesitate to find them ;)

@anianweber
Copy link
Author

Thank you very much for the detailed response! I will try it as you described.
This "issue" therefore is closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants