How to reset a database?
Hi all.
Using the Mac desktop app.
After "tuning" a database, testing it with test data, etc. what is a good way to reset it to a virgin state, resetting, among other things, all record Ids, etc...
Would "Duplicate database" do it?
Thanks.
4 replies
-
Up to version 3.9, when duplicating a database, there were options to allow the duplication of the records and the files. Setting those options to "No" allowed one to create a virgin database. Those options disappeared in version 3.10, at least in the iOS app. I did contact the Ninox support about this bug, and they did treat my complaint as a request for a new functionality.
-
Hi all.
Using the Mac Desktop app.
I think I've found the solution:
- Open the database
- Make sure to select the database name in the column on the left, to reveal the "Import Data" and "Export Data" buttons
- Click on the "Export Data" button
- In the popup that opens, titled "Export Data", select the "Ninox" tab
- Now, the popup displays a list of the db's tables with checkboxes. De-select all the "Data" and "Files" checkboxes. Leave "Data Model" checkboxes selected.
- Click on the button "Save as".
- Complete the "Save" operation.
This creates a Ninox archive which can then be imported into Ninox. As far as I can tell, all the fields are still there but the tables are empty of any records. The record Ids appear to have been reset to zero. All the formulas appear to be intact and functioned as expected in a limited test.
CAVEAT: I'm a newbie with Ninox. So I cannot guarantee that this "solution" works 100%. If you want to use it, make sure you have good backups and test it properly in your environment.
Regards.
Content aside
- 10 mths agoLast active
- 4Replies
- 113Views
-
3
Following