Export data from RealTime database (RTDB) tables
- Last UpdatedApr 24, 2025
- 1 minute read
Use the export command described herein to export RealTime database (RTDB) table details into Extended Markup Language (XML)-formatted files.
To export data from RTDB tables
-
On the desktop, double-click the Windows PowerShell for DNA shortcut.
Windows PowerShell for DNA opens.
-
Execute the following commands:
set-silo RealTime
XmlUtil -e -f <TableName> -t <TemplateFileName>
Where:
<TableName> = the name of the RTDB table.
(if -f is not used, the utility exports all RTDB tables.)
<TemplateFileName> = the name of the template file used to restrict table fields.
The export command creates the following three files:
-
XmlUtilRealtimeTables.xml โ lists all the tables within the current RTDB.
Note: The utility creates this file first. If the file already exists in the destination folder, the utility updates it as necessary to reflect the current state of the RTDB.
-
TableName.t.xml โ lists all the fields within the indicated table.
-
TableName.xml โ lists all the current table records, and the field values for each record.
-