Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]

Progress display of DB backup
Started by umalemon Sep 11 2018 06:01 PM

No replies to this topic
This topic has been archived. This means that you cannot reply to this topic.
[TOPIC: post.html]


[GLOBAL: userInfoPane.html]
  • Contributor

  • 116 posts
  • Corona SDK

Hello. Everyone.
I transfer the backup of the DB of the application to my server and save it.
This is a backup function for users of my application.
This function saves "select" on file. Then transfer the file to the server.
And the restore downloads files from the server and "inserts" one record at a time.
But the restore is very slow. It looks like the screen freezes during restore.
I play an icon (loading) with a sprite, but playback also stops.
It will return to normal after restore, but this will think that the user freezed.
Is there a way to display the progress in this way?
Or is there a better way?
For example, if I backup and restore DB files as files, is it fast?