Database solution for 'archived' data

Hoping for some advice from experienced bubblers…

As my app grows I’m thinking ahead to a much larger database. My current thought process is to store information older than a year in an external database. I’m not looking for users to be able to access this database, but have it as a backup that we can access on user’s request so I can auto archive information after a year and remove it from my bubble database.

Is there a better solution to this or, if this is the best plan, any recommendations on what to use and how to set it up?

Thanks in advance

Why? Why not just store it in Bubble?

Is there really no limit to what Bubble can handle in the database?

No not really…

My app had a ‘glitch’ earlier in the year that showed someone else’s information to the wrong person. Privacy settings are in place but ultimately the particular data has to be visible to someone not logged in so is public. It was all set to show only ‘current page thing’ and other constraints etc etc and when I spoke to Bubble they said it was just a random glitch due to a string of unlikely events that caused it, and that it’s unlikely to happen again…however since then I’ve been trying to keep the database as lean as possible as it was ‘old’ data that had been shared with the wrong person and obviously my user wasn’t happy

They really said this??

This is why your data was leaked… even if Bubble ‘glitched’, the data was never protected in the first place like this…

Yeah I’ll grab the screenshot of the email

That’s my concern, as it needs to be public so I want to remove as much ‘old’ data as possible to prevent this in future

The answer here is that it doesn’t need to be public, and doing anything other than making it private is not secure, to be blunt…

Backend workflow that bypasses privacy rules should return whatever private thing you want to the non-logged in User.

1 Like

Ok thanks for this @georgecollier. So in my case it’s app messages in the database, can I create a backend workflow that would show a message that is set to private to a non logged in user?

Sorry hope I’ve understood your advice correctly

Sure, just send some magic link to a user, the ID of which is saved to the Message, and when the page is loaded, make a call to a backend workflow that finds the Message with that ID and returns the fields to the front-end using the app connector

2 Likes