I duplicate the app/project and select the option where the data is duplicated as well. I don’t feel the need to do a data export on top of that, but that would be even better.
I usually create 3 folders in the team:
- Live Published
- Develop & Test
- Backups
I might adapt the names of these folders slightly.
I use emojis and the words “Live” and “Published” because another admin or member of the team might not be familiar with the usual terminology. “Live” is clear in any language and “Published” is the same term used by Glide when publishing an app. In fact the various development environments are somewhat new to me too: Development → Staging → Testing → Production.
In my setup I put Development-Staging-Testing together into “Develop & Test”. And I added another folder for backups. This setup works for me: it’s simple enough and I’ve gotten used to it.
At the end of a session of work usually on an app in the “Develop & Test” folder, I’ll duplicate the app, prepend the date and time to it (2024-10-07 10:00 App Name) and move the duplicate to the backups folder. I then also rename the app in the “Develop & Test” folder with again the current date and time.
If the changes to the app are minor and I know exactly what I’m doing, I might make changes to the (live and published) app in production directly.
When an app in development becomes much more advanced that the (live) app in production and the time has come, I will copy the production URL of the app in production, unpublish the app in production, publish the most advanced app in development and paste the production URL, and move this app in development to the production folder since it is now the published version of the app. In short, this is a URL swap. I have avoided this in past but more recently have been doing this a lot, and it works fine.
Basically for a given project/app, I only ever have one published version in the live in production folder.
The one annoying part with this approach is that if the app in production (live published) was also set up with a domain name, this has to be set up anew.
Curious to hear what others do.