---
# System prepended metadata

title: Import/Export for ansible and container repository content

---

# Import/Export for ansible and container repository content

### Workflows

1. As a privileged user I can export a repository (or a repository version) content from a connected environment and import it into a disconnected environment 
2. As a privileged user I can incrementally export a repository (or a repository version) content from a connected environment and import it into a disconnected environment
3. As a user I can upload ansibe content via regular means into the disconnected environment https://docs.pulpproject.org/pulp_ansible/workflows/collections.html#publish-upload-a-collection
4. As a user I can push container image via regular means into the disconnected environment https://docs.pulpproject.org/pulp_container/workflows/push.html#push-content-to-a-repository

As a result of the import operation a repository will be created in the disconnected environment containing the exported content set.
    * the repository will be created in case the disconnected environment does not have it
    * on the subsequent import operations in case there was content uploaded via regular means into the disconncted environment it will be removed since import/export feature mirrors exactly the reposiory content set between connected and disconnected environments.
    * incremental import will import only content that has been added since the last import operation was performed
    
### What is not available today

1. As a privileged user I can export a specific set of content from a connected environment and import it into a disconnected environment
2. Additive mode
    * Import/export feature currently is not aware of content uploaded via regular means into the disconncted environment and always performs an exact 'mirror' between connected and disconnected environments
    * 'additive' mode would not remove content from a repository during import





