[New Feature] Restoring your app data & backups

Part of our migration to Postgres we’ve added the ability for users to restore their application’s database to an earlier version. That will be useful when something wrong happens…

You can find this in the Data Tab, App Data section. If you click on “Copy and restore database”, you’ll see popup that lets you:

  1. copy your app data between the two versions of your app (no change here)
  2. restore either version (live or development) to an earlier version (new). You just need to pick which version you want to restore, type a time, and you’re done.

If you reverted something by mistake and want to revert again, you can do this by choosing a time right before the (wrong) revert.

How far you can go depends on your plans. It goes from 7 days for users on a free plan to 90 days when you are on a Team Plan.

Keep in mind this is a critical admin operation, and should be done carefully (the popup will ask you to confirm). In particular, this can take some time if your app’s database is large, which will make workflows fail while this happens. So use this in live mode when you really have to, at a time where you can afford being in maintenance for a few minutes.

17 Likes

Hi,

Great feature.

Is this why my dev database is not copying over to my live database? Tried to deploy in the wee hours of the morning (and again on normal hours earlier this morning) but kept being told by Bubble that “we ran into a bug, try again later”.

Do you want a Bug report for this, or will it clear up?

Thanks,
P

As always, this message means a bug report is best :slight_smile:

  1. Refresh the screen to update to the new one. :wink:
  2. WHEN YOU RESTORE FROM DATE => Refresh the entire screen ALSO.
    Working Fine, This is a major update. Thanks.

1 Like

Can you make sure you had a fresh refresh of the page?

1 Like

Could be a very important question considering users are everywhere. I’m interested in this. (Y)

This is in the user timezone.

2 Likes

Is it possible to restore live data from a few days ago, into my current development database (to investigate an issue, to see if i can find data i may have deleted by accident), as i can’t overwrite my current live data as it has been modified by multiple users since then, which would be lost, and i dont think my development database from a few days ago will reflect the live database at that time.

Or does clicking restoring live database, whilst in development mode achieve this?

Thanks
Andy

Hello,

I have the same question “Is it possible to restore live data from a few days ago, into my current development database” , did you find a solution ?

Thanks

1 Like

What happens to IDs and such when this “time to restore to” is used? I need to understand a little of the technical behind-the-scenes bits as I’m syncing data to other systems. If these IDs change during this process, it’ll create a mess elsewhere.

I didn’t see anything in the docs regarding this.

Thanks for the help / info!

Unique IDs of things won’t change. Unless, perhaps, they’re from the past.

In realms of data, vast and wide,
A tale of UUIDs we confide.
A string of characters, long and strange,
Unique IDs of things won’t change.

A beacon in the digital sea,
A GUID to each entity,
With hexadecimal charm it calls,
The Universal Identifier sprawls.

Through chaos, order they instill,
The entropy of data, they distill,
As randomness their structure boasts,
Resolving conflicts, like spectral ghosts.

Yet, lo, a whisper from the past,
A hint that time’s cruel hand has cast,
An echo of a bygone age,
Old identifiers disengage.

In archives deep and records long,
A trace of elder codes belong,
The UUIDs of yesteryear,
Now shadows, distant, faint, unclear.

In transformation, some may falter,
Their legacy, forever altered,
As bits and bytes, in time, degrade,
The UUIDs of old may fade.

In memory and lore, we’ll store,
The tales of IDs gone before,
And raise our new creations high,
As UUIDs persist, and time slips by.

For though the past, forever fleeting,
Our UUIDs hold steadfast, meeting,
The challenge of a world immense,
A digital eternity, they commence.

Did you ever find a so-luuu-shun?

2 Likes