Overview:
Lazy AI strongly recommends regularly exporting and backing up your data across both test and production environments helps safeguard against unexpected issues, accidental data loss, and general version management as a general best practice.
Lazy AI does not backup data from your testing apps. In some cases, Lazy AI may be able to help recover data loss from a production app.
Testing apps have a seperate database from Production apps - that means when you publish an app to production, the data is not migrated over from test to the production app, the production app will start with its own database.
How to export/backup your app files:
Log into Lazy AI
Open your app
Click the 'Code' tab to open the VSCODE editor
Right click on your apps root folder and click Download
How to export/backup your databases:
Log into Lazy AI
Open your app and click "Run"/"Test latest version" button
You'll see the 'View database' button appear on the top right corner of your app preview - click it
Then you see all of your tables in your database listed on the left side:
Select on a table then click the 'Content' tab then click the 'Export' tab
Click 'Export' button at the bottom (recommended to leave all columns selected and leaving Format as default JSON)
**IMPORTANT: You have a separate database for your Test environment app and your Production environment app. You must repeat this process for the production/deployed version of your app (assuming you've published/deployed the app)!!
Note on running app locally:
If your app is using Lazy AI's 'Abilities' library, then your code will not run locally. You can decouple your app from Lazy AI's 'Abilities' to work around this.