Linux

Where Does Saleor Store Orders and Media?

Where self hosted Saleor keeps orders and media on Linux servers. See the folder table below. More below.

Last updated

Saleor is headless commerce with server storage. The database holds products, orders, and channels. Media files sit in the storage volume. The release version matters for plugins.

Same database plus media means same shop. Exact paths vary by Docker versus bare installs, with env files deciding volumes. Keep backups of both together. One without the other restores products without images. For moves, stop services first to avoid partial dumps. Screenshots of settings help when support asks for reproduction steps later.

Where Saleor Commerce stores this, by platform

Linux
/var/lib/saleor (database plus media, paths vary by install)

Products and orders live in the database with files beside it in media. Back up both together with services stopped. Match releases before restore.

Frequently asked questions

How do I migrate Saleor to a new server?

Back up the Saleor database plus media volume with services stopped, then install the same release on the new server before restore. Products and orders follow the database. Mixed releases can break plugins, so match versions first.

Where are Saleor product images stored?

In the PostgreSQL database on your server with files beside it in media storage. The dashboard holds login plus view cache only. Export products as CSVs from settings for records, since devices never hold the master catalog alone.

Notice an outdated path? Let us know.