SQLITE_DONE signifies a backup is finished.
SQLITE_DONE signifies a backup is finished.

'remaining pages' is not an indicator of whether backup is done or not
since it can be reset in case someone modifies the db in the middle of a
backup operation.

sureshsundriyal/pysqlitebkup