Create a Collection Backup

Number of APIs: 2

This collection copies the information in a source collection, then imports that data into a backup (destination) collection with the Qodex API's [GET] and [PUT] /collections endpoints.

Important

Use this collection with caution. It will overwrite the contents of the backup collection.

How to use

  1. Create a new, empty collection in your workspace and copy its ID. This collection is the destination collection (destinationCollectionId) for the backup.
  2. Select the [Collection Backups] environment.

  3. Edit the following values in the Collection Backups environment:

    1. apiKey — A valid Qodex API key.
    2. sourceCollectionId — The source collection's ID to copy data from.
    3. destinationCollectionId — The ID of the backup (destination) collection created in step 1.
  4. Select Run in this collection's Overview tab to [run this collection] The backup collection will be updated with a copy of the source collection's data.

Notes

  • Because this collection calls multiple APIs, Qodex [rate limiting] may apply.
  • This collection may take some time to complete for very large collections.
  1. Get source collection and remove IDs GET https://api.getpostman.com/collections/{{sourceCollectionId}}

  2. Update destination collection PUT https://api.getpostman.com/collections/{{destinationCollectionId}}