Table of Contents

Search

  1. Preface
  2. Understanding the Repository
  3. Using the Repository Manager
  4. Folders
  5. Managing Object Permissions
  6. Local and Global Shortcuts
  7. Team-Based Development with Versioned Objects
  8. Labels
  9. Object Queries
  10. Team-Based Development with Deployment Groups
  11. Copying Folders and Deployment Groups
  12. Exporting and Importing Objects
  13. Exchanging Metadata
  14. Copying Objects
  15. Metadata Extensions
  16. Appendix A: MX Views Reference

Repository Guide

Repository Guide

Copying Folders and Deployment Groups Overview

Copying Folders and Deployment Groups Overview

Use the Repository Manager to copy multiple objects from one repository to another. You can complete the following copy operations:
  • Copy a folder.
    You can copy a folder and all of its contents within a repository or from a source repository into a target repository.
  • Replace a folder.
    You can copy a folder and all of its contents from a source repository and replace an existing folder in the target repository. The contents of the replaced folder are overwritten.
  • Copy a deployment group.
    You can copy the objects in a dynamic or static deployment group to multiple target folders in the target repository. For versioned repositories, the deployment operation creates new versions of existing objects in the target folders. For non-versioned repositories, if the objects in the deployment group exist in the target repository, the deployment operation deletes existing objects and creates new objects.
If you want to archive or share metadata or deploy metadata into production, you can use copy folder to copy an entire folder. If you want to update the metadata in a folder in production, you can replace the folder.
For example, you have a folder called Sales in the development repository. When it is ready for production, you copy the Sales folder into the production repository. After a week in production, you want to make minor changes. You edit the Sales folder in the development repository and test the changes. When the folder is ready for production, you can either copy the folder into the production repository, resulting in two copies of the folder in production, or you can replace the existing Sales folder with the new one. When you replace the folder, you can update the production repository without creating multiple copies of the folder.
If the repository is enabled for versioning, you can also copy the objects in a deployment group from one repository to another. When you copy a deployment group, you can copy objects in a single copy operation from multiple folders in the source repository into multiple folders in the target repository. You can also specify individual objects to copy, rather than the entire contents of a folder.
You can also use different copy operations together. You might use copy folder and copy deployment group together in the repository environment at different stages of the development process.
For example, you have development and production repositories. When you complete initial development for the metadata in a new folder and you are ready to deploy the objects into production, you copy the folder and all of its objects into the production repository.
As development continues, you make changes to a session in the folder. You do not need to copy all of the metadata in the folder to production, so you add the session to a deployment group. When you copy the deployment group, the Copy Deployment Group Wizard creates a new version of the session in the target folder.

0 COMMENTS

We’d like to hear from you!