Where are Postman collections saved?
Asked Answered
F

14

138

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.

Fuzee answered 20/11, 2017 at 19:41 Comment(3)
They make nice tool, and crap save system like this.Thereabouts
And will hold your data hostage if you don't keep up with online payments even if you don't need the service. They suck, use Insomnia instead.Foliated
lesson learned - don't ever upgrade postman without backing up your collections manuallyMcgrody
S
154

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

%HOMEPATH%\AppData\Roaming\Postman\IndexedDB\

ps: %HOMEPATH% is path for C:\Users\xxxx\

also worth mentioning: %APPDATA% is a shortcut for C:\Users\xxxx\AppData\Roaming\

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
Serb answered 25/3, 2018 at 13:32 Comment(11)
I was able to locate leveldb with name as 000005.ldb. how we can import to new postman in different system, i'm using windows 10.Handal
I pretty much copied over whole postman folder to my new system and it worked github.com/postmanlabs/postman-app-support/issues/2721Handal
I get a warning, "cannot start postman" during the app splash screen. It never seems to advance from that point. It's too bad that something as basic as export to file doesn't exist.Photomicrograph
For macOS users: I found my Postman DB under ~/Library/Application Support/PostmanChapfallen
On Windows, you can use the shortcut %AppData%\Postman\IndexedDBFuzee
@Steven M . Vascellaro yepp, there’s a sub folder IndexedDB on macOS as wellChapfallen
It's ~/.config/Postman/IndexedDB on my Ubuntu 18.04 machine.Psychognosis
I created a symlink from ~/Library/Application Support/Postman/IndexedDB in my Mac to another folder I have under Git source control. This way I can access my collections in a centralized spot from anywhere in the world, and will have them persisted/memorialized forever.Hanley
This saved my life. I lost a bulk of my local collections when I moved to Workspaces. Thank you.Nari
indexedDB is also in %AppData%\roaming\Postman\partitions\Wilford
You can locate all postman backup data inside %HOMEPATH%\AppData\Roaming\Postman` folder, all postman data should be saved in json format, something like backup-{date}.json`Lougheed
P
38

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
Perrone answered 12/3, 2018 at 20:30 Comment(3)
Do you know what folder this data is saved to?Fuzee
I don't know (yet) but since Postman is using Chromium, I would look for a place similar to Google Chrome... see this: #9384628Perrone
This helped me in getting a hint to restore lost collections too. See here: github.com/postmanlabs/postman-app-support/issues/… @StevenM.Vascellaro the folder would be "IndexedDB" as noted in my Github commentCartage
A
9

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).

Alemannic answered 7/9, 2021 at 4:7 Comment(3)
Highly under-rated answer. This worked like a charm and saved me a lot of heartache. Never am I ever going to try and update my old postman version ( v6.x) ... Thank you !! Note: The backup was a 2 months old but it was still good enough. didnt lose muchComedo
link broken now :/ At least the quote is here thought!Aldus
For me backups were at AppData\Roaming\Postman.Ejaculatory
B
7

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

Bascom answered 21/2, 2021 at 13:3 Comment(2)
This worked for me. But is imported both my local collection and the Team collections.Milligan
This is also present in Windows.Almonry
L
6

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>\
Lieu answered 27/12, 2021 at 6:51 Comment(0)
A
3

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

Albeit answered 5/11, 2019 at 16:17 Comment(0)
A
3

We work offline. So for Postman Scratchpad (official offline usage):

  • On Windows: %HOMEPATH%\AppData\Roaming\Postman\Partitions\
  • On Mac: ~/Library/Application Support/Postman/Partitions/

Simply backup or share the entire directory when you want to synch.

Aphis answered 25/12, 2022 at 14:10 Comment(0)
J
2

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.

Jehol answered 14/2, 2022 at 12:22 Comment(1)
Wow! What a time saver! This saved my day! Thanks! (^__^)/Mitch
H
1

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

Heurlin answered 28/6, 2019 at 18:43 Comment(2)
As of 2020-09 with current Postman v7.32, this answer is no longer applicable.Rameau
STILL works in 2022Jail
K
1

Linux Chrome or Chromium Postman extension storage path Location

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

Thanks.

Kristy answered 4/10, 2020 at 19:44 Comment(1)
Mine is under /home/user/.config/google-chrome/Default/Storage/ext/fhbjgbiflinjbdggehcddcbncdddomop. Thank you.Autohypnosis
P
0

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.

Petigny answered 27/10, 2020 at 20:44 Comment(0)
E
0

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

Embowed answered 11/5, 2021 at 17:16 Comment(0)
T
0

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

Tristichous answered 11/11, 2021 at 7:30 Comment(1)
As it’s currently written, your answer is unclear. Please edit to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers in the help center.Lifton
I
0

I got files in under \AppData\Roaming\Postman as backup.json

Impersonate answered 19/2 at 10:29 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.