First of all, launch a '''standalone''' version of BaseX: double click on the '''BaseX''' icon or run the <code>basex</code> script. Click on the following links to find more information on [[Startup#Standalone_Mode|starting the standalone mode]], [[Start_Scripts#Standalone|the standalone mode's start script]] or [[Command-Line_Options#Standalone|the standalone mode's command-line options]].
=Create a Database=
* Deleting a document from a database is easy:
> [[Commands#DELETE|DELETE]] factbook.xml
Make sure that the database, which contains the addressed document, is currently opened.
=Backup and Restore=
The backup file is stored in the database directory.
It contains the name of the database and a timestamp: <code>[db-name]-[timestamp].zip</code>.
If a database is restored, and if several backups exist, the backup with the newest timestamp is taken.