Illustration of self-hosted push notification data stored on a server in a chosen location Illustration of self-hosted push notification data stored on a server in a chosen location

Where Is Self-Hosted Push Notification Data Stored?

Self-hosted push notification data sits on your own server, but delivery still goes through FCM, Mozilla or Apple. Here is what lives where.

Self-hosted push notification data is stored in the database on the server you run, usually a VPS in a region you choose. Subscriber records, campaigns and click stats stay there. However, each message still passes through the browser’s push service, such as Firebase Cloud Messaging (FCM), Mozilla or Apple, which may process delivery data in other countries.

That second sentence is the part many “data stays on your server” claims skip. So in this post I’ll map exactly where self-hosted push notification data lives, what leaves your server, and what that means for data residency questions from clients or compliance teams.

Where is self-hosted push notification data stored?

It’s stored on your own infrastructure. A self-hosted push panel is an application you install on a server you rent or own, with its own database. Everything the panel creates is written there, in the data center region you picked when you set up the VPS.

DataWhere it livesWho controls it
Push subscriptions (endpoint and keys)Panel database on your VPSYou
Subscriber metadata (browser, OS, country, subscribe date)Panel database on your VPSYou
Campaigns, templates and schedulesPanel database on your VPSYou
Delivery and click statisticsPanel database on your VPSYou
VAPID key pair and Firebase configPanel settings on your VPSYou
BackupsWherever you send themYou

If you want the deeper “who owns what” angle, my post on who owns push subscriber data covers it.

What data leaves your server when you send a notification?

Each notification leaves your server as an encrypted request to the subscriber’s push service. That’s how Web Push works for every provider, self-hosted or SaaS. The web.dev push overview explains the flow: your server sends to the push service, and the push service delivers to the browser.

  • Chrome and most Chromium browsers: Firebase Cloud Messaging (FCM), run by Google.
  • Firefox: Mozilla’s push service.
  • Safari on macOS and iOS 16.4+: Apple Push Notification service (APNs), as described in Apple’s web push documentation.

The payload is encrypted under RFC 8291, so the push service can’t read the title or message. It does see the endpoint, timing and size of each message.

Can you control which country push delivery data goes to?

Not for the delivery leg. You choose your VPS region, but you can’t pick where Google, Mozilla or Apple process push traffic. Firebase’s privacy and security page says that unless a service offers data location selection, Firebase may process and store data anywhere Google or its agents have facilities.

So a fully “in-country” web push setup isn’t possible today with standard browsers. What you can control is where your subscriber database, campaign content and analytics live. For most data residency questions, that’s the bigger dataset.

How does self-hosting compare with SaaS for data residency?

Self-hosting changes where the subscriber database lives and who can access it. It doesn’t change the browser push services. Here’s the side-by-side I use:

QuestionSelf-hosted panelSaaS push provider
Where is the subscriber database?Your VPS, in your chosen regionVendor’s cloud, in their regions
Who can access it?You and anyone you give accessVendor staff and subprocessors, per their terms
Delivery via FCM, Mozilla, APNs?YesYes
Who handles backups and security?YouVendor
Data export on exitDirect database accessDepends on vendor tools

For the wider trade-offs, see self-hosted vs SaaS push notifications.

What about backups and third-party scripts?

Backups and scripts are the usual leaks in a “data stays here” plan. A backup copied to cloud storage in another region moves your data to that region. So decide where backups go, and encrypt them.

Similarly, check the scripts on your site. An analytics tag or ad pixel that fires on the subscribe event can send subscriber details somewhere else. My guide to backing up a self-hosted push panel covers safe backup targets.

How do you document self-hosted push data for compliance?

Write down every location, then put it in your records and privacy policy. This is the short process I follow:

  1. Note the VPS provider, region and data center country.
  2. List what the panel database stores.
  3. Name the push services that relay messages: FCM, Mozilla and APNs.
  4. Record where backups are stored and who can open them.
  5. Check for EU-to-third-country transfer rules if you serve EU visitors (see GDPR Article 44).
  6. Update your privacy policy with the push section.

For step 6, my outline of what a privacy policy should say about web push gives you a ready structure.

Where LaraPush fits

LaraPush is a self-hosted web push panel built with Laravel, PHP and MySQL. You install it on your own VPS, so subscribers, campaigns and stats sit in your database, in the region you choose. Delivery uses Firebase Cloud Messaging, so the delivery leg works as described above. With the Premium Add-on (Pro only), you can also schedule automated Google Drive backups, which means those backup copies live in your Google Drive.

On the other hand, you run and secure the server, a licence covers one server, and there’s no free plan. See LaraPush pricing, the backup feature and my wider list of push notification services and tools.

Frequently asked questions

Does self-hosted push keep all data on my server?

It keeps the subscriber database, campaigns and analytics on your server. However, every notification is still relayed by the browser’s push service, such as Firebase Cloud Messaging for Chrome or APNs for Safari, so delivery metadata is processed by those companies.

Can I keep web push data inside India or the EU?

You can host the panel and its database on a VPS in India or the EU. The delivery leg through FCM, Mozilla or APNs can’t be pinned to a country, because those services run on their own global infrastructure. Document that in your privacy policy.

Can Google read my notifications if I self-host?

No, not the content. Web Push payloads are encrypted under RFC 8291, so FCM relays an encrypted message it can’t read. It still sees the endpoint, timing and message size it needs for delivery.

Where should I store backups of a self-hosted push panel?

Store them somewhere you control, in a region you’re comfortable with, and encrypt them. A backup in another country moves a copy of the data there. Keep at least one copy off the main server so a VPS failure doesn’t take your subscribers with it.

Is self-hosted push automatically GDPR compliant?

No. Self-hosting gives you more control over where data lives and who can access it, but compliance still depends on consent, security, retention, transfers and your privacy notice. It’s a tool that helps, not a certificate.

Leave a Reply

Your email address will not be published. Required fields are marked *