Changes

Jump to navigation Jump to search
54 bytes added ,  13:40, 1 April 2019
m
=Startup=
First of all, launch a '''standalone''' version of BaseX: double click on the '''BaseX''' icon (Windows only) 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=
<code>
> [[Commands#CREATE DB|CREATE DB]] store</code><br/><code>> [[Commands#ADD|ADD]] factbook.xml</code><br/><code>
> [[Commands#ADD|ADD]] http://files.basex.org/xml/xmark.xml
</code>
* Deleting a document from a database is easy, but make sure that the database, which contains the addressed document, is currently opened:
<code>
> [[Commands#DELETE|DELETE]] factbook.xml
</code>
 
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 to be restored, and if several backups exist, the backup with the newest timestamp is taken.
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu