copyToFile abstract method

void copyToFile(
  1. String path
)

Copy a compacted version of the database to the specified file.

If you want to backup your database, you should always use a compacted version. Compacted does not mean compressed.

Do not run this method while other transactions are active to avoid unnecessary growth of the database.

Implementation

void copyToFile(String path);