[This is preliminary documentation and subject to change.]
Database backup and restore is another feature of RSM. RSM provides database import and export functions that create a copy of the database files in an export directory. RSM guarantees that the files are consistent (not in mid-update) on export. Since the index file and the replica can be recreated, RSM exports only the record type registration file and the data file. The import operation also imports only the data file and the registration file. The import API only schedules database import. The actual import operation occurs when the service is started. When the database is imported, the index file and the replica are always recreated and are therefore consistent.