onlineBackup method

Future<int> onlineBackup(
  1. String fileName
)

Creates an online database backup image and copies it into the specified fileName. During online backup phase read/write database operations are allowed and not blocked for significant amount of time. Returns future with backup finish time as number of milliseconds since epoch.

Implementation

Future<int> onlineBackup(String fileName) =>
    _mc.invokeMethod('onlineBackup', [_handle, fileName]).then((v) => v as int);