• Resolved Austin Ginder

    (@austinginder)


    A few of my initial backups are taking many hours to complete (12+ hours). It’s easy for the browser window to crash and need to be reopened. I noticed when you do that, you lose the progress bar even tho I can see the backup if continuing when I look at the network tab in Chrome Developer Tools. I think the plugin should automatically display the progress after a browser reload.

    After hacking through some javascript I was able to reshow the progress window by pasting the following code into Chrome Developer Tools console.

    clearTimeout(reloadFuncTimeout);
    var dialog_content = '<div class="this_modal_div" style="background-color: #f1f1f1;font-family: \'open_sansregular\' !important;color: #444;padding: 0px 35px 35px 35px; width: 450px;"><span class="dialog_close" style="display:none"></span><div class="wcard hii backup_progress_tc" style="height:60px; padding:0; margin-top:35px; display:inline-block;"><div class="progress_bar" style="width:0.0002%;"></div> <div class="progress_cont">Backing up files before updating...</div></div></div>';
    jQuery("#dialog_content_id").html(dialog_content);  //since it is the first call we are generating thickbox like this
    jQuery(".thickbox").click();
    styling_thickbox_tc('progress');
    reload_backup_tc();

    https://ww.wp.xz.cn/plugins/wp-time-capsule/

Viewing 1 replies (of 1 total)
  • Plugin Author WPTimeCapsule

    (@wptimecapsule)

    Thanks for your technical suggestion Austin. We will improve the progress indication in the subsequent updates. FYI, we have released a beta version. A few improvements have been done. The backup is a bit faster now. Thanks again for your feedback. 🙂

Viewing 1 replies (of 1 total)

The topic ‘Reopen progress window if closed during backup’ is closed to new replies.