Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

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

No replies to this topic
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

umalemon

[GLOBAL: userInfoPane.html]
umalemon
  • Enthusiast

  • 81 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?
 



[topic_controls]
[/topic_controls]