| '''Summary'''
|Lists all available databases. If {{Code|name}} is specified, the resources of a database are listed. The output can be further restricted to the resources matching the specified {{Code|path}}.<br/>If database resources are listed, the size is either the number of nodes (for XML resources) or the number of bytes (for binary resources).
|-
| '''Errors'''
|The command fails if the optional database cannot be opened, or if the existing databases cannot be listed for some other reason.
|}
==DIR==
{{Announce|Introduced with Version 10.}}
{| width='100%'
|-
|width='130'|'''Syntax'''
|{{Code|DIR ([path]))}}
|-
| '''XML Syntax'''
|<code><dir (path='...')/></code><br/>
|-
| '''Permission'''
|''READ''
|-
| '''Summary'''
|Lists directories and resources of the currently opened database and the specified {{Code|path}}.<br/>If database resources are listed, the size is either the number of nodes (for XML resources) or the number of bytes (for binary resources).
|}
;Version 10
* Added: {{Command|DIR}}
* Added: [[#Backups|Backups]]: Support for general data ([[User Management|registered users]], [[Jobs Module#Services|scheduled services]] and [[Store Module|key-value stores]]).
* Updated: {{Command|CREATE BACKUP}}: Support for comments.