A database in BaseX consists of several files, which are all bundled in a folder with the database name.<br />
All of these files are stored in a database directory in the home directory, which, by default, is named <code>BaseXData</code> directory in the home directory. <br />The database path can be changed in the following ways:
*[[GUI Tutorial|GUI]]: Choose ''Options'' → ''Preferences'' and choose a new database path.
*[[Server Tutorial|Server]]/[[Standalone Tutorial|Standalone]]: <code>SET DBPATH [path]</code>