Manage the Data Store The Projects > Data Store subpanel provides utilities for data import and export, and options to manage the the database connected to the project. The Utilities section enables you to import and export data and views, and to save a template. Its Export All Views and Save Template functions are available only as Data Store utilities. See Create a Template for details on using Save Template to create, save, apply, and edit a project template. The Data Store section is where you manage the project’s connected databases. You can: Review details for the graph database specified when the project was created. Save the graph on the canvas to the internal data store or external database. Export the internal graph database as a .zip file. Upload a graph database .zip file to the existing (or a new) internal database instance. Empty the current internal graph database. Delete any of the connected databases, if you are an admin user. Export from the Data Store Exporting data from a project may be needed, for example, to provide data to another application or user, or for external backup of important data transformations or results. For most import and export options, you don’t need to open the Data Store subpanel. You can export data and views using the Export menu at the top right of the project canvas, and import data files (except for .JSON mappings) by drag and drop. However, the Export All Views function is available only as a Data Store utility. To export all the project’s saved views: Open the Projects > Data Store subpanel In the Utilities section at the top, click the Export All Views button. Each view is exported to your local system as a separate .graphxr file labeled with the view name and a timestamp. Manage the internal graph database The Data Store section below the Utilities provides options to manage the project’s connected graph databases. You can: Review details for the graph database specified when the project was created. Save the graph on the canvas to the internal data store, optionally creating a new database instance. Export the internal graph database as a .zip file. Upload a graph database .zip file to the existing (or a new) internal database instance. Empty the current internal graph database. Delete the database. Save the current view to the internal graph database If you have the necessary user privileges, you can save the data in the current view on the canvas to an internal Kuzu graph database connected to the project. To save the data in a view to the internal data store: Open the Project > Data Store subpanel and scroll down to the Data Store section. Review the current details for the connected internal database: Database Type, Database Name, Version, and Size. Click the Save Canvas to Internal Data Store button. In the Save to Internal Data Store dialog: To create a new database instance for the saved data, edit the Database name. Otherwise the data in the view will be added to the current internal database instance. Review the list of categories and their properties. For each category, you must set at least one property as a Key by clicking its - (minus) icon. Keys you choose are moved to the Key list at the top of each category, marked with a + (plus) icon. Click Save to Internal Data Store. A message that saving was successful display, or an error message details any problems saving to the database. Export or Upload the internal graph database To export the internal graph database as a .zip file: Open the Project > Data Store subpanel and scroll down to the Data Store section. Click the Export Database button. The database is exported to your local system as a .zip file. To upload an exported graph database .zip file: Open the Project > Data Store subpanel and scroll down to the Data Store section. Click the Upload ZIP button. The database is uploaded to the project. Empty the current internal graph database If you have transformed data to a much different model than you started with, you may want to remove all the data in the internal database before you save more data to it. Consider exporting the current database before emptying it. To empty the current internal graph database: Open the Project > Data Store subpanel and scroll down to the Data Store section. Click the Empty Database button. A message asks you to confirm emptying the database. Check the database name to be sure it is the one you want to empty. Click Empty Database, or _Cancel to exit without emptying the database Delete an internal graph database instance If you have created several database instances you may want to delete them. Since this is irreversible, the Danger Zone dropdown hides the button so that you are less likely to choose it my mistake. To delete an internal graph database instance: Open the Project > Data Store subpanel and scroll down to the Data Store section. Click the Danger Zone dropdown to reveal the Delete Database button. Click Delete Database. A message asks you to confirm the deletion of the database. Check the database name to be sure it is the one you want to delete. Click Delete, or Cancel to exit without deleting the database.