Where are Postman collections saved?

PostmanPostman Collection

Postman Problem Overview


Where does the standalone Postman client for Windows save collections when working offline?

To clarify, I want to find where Postman saves collection files to by default when online syncing is disabled. I am not trying to export my collection as a JSON file.

I've looked in %LocalAppData%, My Documents, and Program Files, but I don't see where Postman saves its collection data.

Postman Solutions


Solution 1 - Postman

It looks like Postman uses LevelDB. On Windows, I found my Postman DB located at:

C:\Users\xxxx\AppData\Roaming\Postman\IndexedDB\

According to Piere F, macOS users can find it under:

~/Library/Application Support/Postman/IndexedDB

ps: Note "~" is path for "/Users/userAccount/"

According to David, Ubuntu users can find it under:

~/.config/Postman/IndexedDB

Solution 2 - Postman

Postman is using Chromium offline storage capabilities because at the end it's a SPA running inside Chromium (Electron technology).

From Postman's top menubar:

  • Select View → Show Dev Tools

  • Select the Application tab

  • In the sidebar, open Storage → IndexedDB → postman - file:// → collection_requests

Solution 3 - Postman

On Mac: The json files were automatically backed up (/Users//Library/Application Support/Postman/backup-YYYY-MM-DDTHH:mm:ss.SSSZ.json) but it is not documented anywhere. You just have to reimport them

Solution 4 - Postman

For the version Postman from Google Chrome extension, you need copy all files from path:

"%LOCALAPPDATA%\Google\Chrome\User Data\Default\Storage\ext\fhbjgbiflinjbdggehcddcbncdddomop\def\IndexedDB\chrome-extension_..."

The files inside path above contains all history and collections from Postman

Solution 5 - Postman

Alternatively, if you just want to look at the collection, you can export it into json format from the collection menu.

Solution 6 - Postman

In windows, postman v9.6.2 I was able to restore collections by pasting the IndexedDB folder in the following path:

\AppData\Roaming\Postman\Partitions\<GUID>\

Solution 7 - Postman

Linux Chrome or Chromium Postman extension storage path Location

> /home/{USER}/.config/chromium/Default/Storage/ext/fhbjgbiflinjbdggehcddcbncdddomop/

Thanks.

Solution 8 - Postman

This support documentation helped me recover my collections after the postman application stopped working.

https://support.postman.com/hc/en-us/articles/360035071313-How-to-recover-my-data-

> If you weren't logged in to the app and using it offline or in the > Scratch Pad mode then your data won't get synced to our servers and > stays local to your instance. In this case, try following the steps > below: > > Look for the backup files under the following folder: > %appdata%\Postman\​for Windows ~/Library/Application > Support/Postman​for macOS ~/.config/Postman​ for Linux > > Backup file names will be similar to > backup-2020-02-26T23-13-43.082Z.json (date or time will be different > for you).

Solution 9 - Postman

Win10: You have to back up your old Postman C:\Users%user%\AppData\Roaming\Postman\IndexedDB Then copy it to the same location of the new Postman installation.

This will recover all your collections.

Solution 10 - Postman

In Debian-like systems, using Postman v7, I found a backup of all the collections and environments saved as JSON in ~/.config/Postman with the prefix backup-.

eg:

~/.config/Postman/backup-timestamp.json

Also, found a recent support article in Postman documentation: How to recover my data

Solution 11 - Postman

Windows 10, I copy these folder to another and worked.

C:\Users<username>\AppData\Local\Google\Chrome\User Data\Default\IndexedDB\chrome-extension_coohjcphdfgbiolnekdpbcijmhambjff_0.indexeddb.leveldb

Solution 12 - Postman

If you are using a snapped Postman on Linux, let me save you some time. Copy all the content from your source snapped Postman UNDER (as the target GUID can be different)

/home/username/snap/postman/<id>/.config/Postman/Partitions/<standalone GUID>

to your target snapped Postman UNDER

/home/username/snap/postman/<a different id>/.config/Postman/Partitions/<a different standalone GUID>

Make sure you respect the target postman id and partition GUID.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionStevoisiakView Question on Stackoverflow
Solution 1 - PostmanLeslieMView Answer on Stackoverflow
Solution 2 - PostmanA. MassonView Answer on Stackoverflow
Solution 3 - Postmanuser15253667View Answer on Stackoverflow
Solution 4 - PostmanTasso MelloView Answer on Stackoverflow
Solution 5 - PostmanTyler ChristianView Answer on Stackoverflow
Solution 6 - PostmanMasoud KeshavarzView Answer on Stackoverflow
Solution 7 - PostmanRajaView Answer on Stackoverflow
Solution 8 - PostmanuncannyjView Answer on Stackoverflow
Solution 9 - PostmanValentin VelevView Answer on Stackoverflow
Solution 10 - PostmanCristóbal Ramos MerinoView Answer on Stackoverflow
Solution 11 - PostmanrickView Answer on Stackoverflow
Solution 12 - PostmanJulienmView Answer on Stackoverflow