02-10-2017 02:19 PM
One of the common requests from customers is how to move Snaplogic asset (pipelines, accounts and tasks) in a project from one environment to another easily as part of the configuration management or promotion processes. The standard project export/import function will move the pipeline, tasks, files, etc., but the customer will need to re-create the account objects and re-link all the account references in the target environment. This extra step could be a hassle if you have a big project with many pipelines and snaps require account references.
The sample pipeline here use Snaplogic Metadata Snapack to read the asset definition from a project and write to the target location (same org or not). It will move the accounts, pipelines and tasks from source to target. More importantly, it will maintain the account references in the pipeline and pipeline reference in the task. User just need to re-enter the Account password and re-select the Task snaplex in the target environment.
The attached project export contains 4 pipelines:
User can specify the source and target location (org + space + project) in the pipeline parameters. To run the pipeline to move project across org, the user account will need to have read/write permission to both source and target location.
The project export of those pipelines can be downloaded here:
Migrate Project v2.zip (10.7 KB)
06-21-2021 12:08 PM
Hi @MuraliNagula Does the user account have write permission in the target location (top shared folder)?
02-28-2019 11:09 PM
Is there any way to export as slp files without downloading the pipeline file?
Basically I am looking for any automate way of export the entire/specific set of pipelines to S3 or other storage for backup.
I don’t need any manual kind of import and export works? I need any best approach to get the slp file by automation.
Please provide any suggestions? Thanks in advance.
04-15-2019 11:45 AM
Am developing a pipeline which can be used for Check out, check in to GIT and migrating the pipelines/task/account from GIT(not GIT HUB) to Snaplogic Prod org. I have created a Service account in snaplogic. I need to run the migration pipelines using the service account, so that any pipelines/task/account created in production snaplogic org is owned by service account user. How do I achieve that ?
Mostly likely I will call migration pipeline via triggered task from ansible/Jenkins pipelines.
How are you all migrating accounts from GIT. The account config will be different for dev/qa/prod
@dshen - Can you help answer the questions ?
06-21-2021 12:18 PM
Would like to share an update:
If the target org is set as a Trusted Org (please see steps in our doc),
the user won’t need to re-enter the Account password in the target org.