Back In Time gui hangs when creating a snapshot or restoring or anything else..

Bug #527038 reported by Rorschach
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Back In Time
Confirmed
Medium
Unassigned

Bug Description

It seems the backup or restore wouldn't happen in seperate processes but everything in one process. This makes the gui of course hang and being unresponsive when doing a backup or restoring. Please read "man fork" and apply good coding practice to this nice software....

Revision history for this message
Dan (danleweb) wrote :

1. Backup process is always running in another process. If it is started from cron if can run nice and/or ionice. If is stated from the GUI is running as a normal process. (there can't be 2 backup process at the same time; if one is already running

2. Restore process is always running in the GUI and this is the way I wanted to be (I don't want to restore at the same time, at least not for now). I agree that a message box showing "Please wait. Restoring in running ...".

Changed in backintime:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Jeff Fortin Tam (kiddo) wrote :

In case it may be of use:

http://faq.pygtk.org/index.py?req=show&file=faq20.006.htp
http://faq.pygtk.org/index.py?req=show&file=faq10.017.htp

There's quite a few other entries in the pygtk FAQ (http://faq.pygtk.org), I just happened to stumble upon these and thought I'd share them.

Revision history for this message
Dan (danleweb) wrote :

Thanks for your tips. I was looking to thinks like this.
As for this bug: backup process is not blocking the GUI (a separate process) and restore process it does but it has to (at least for now).

Regards,
Dan

Revision history for this message
David Niergarth (jdnier) wrote :

I'd just like to add that I find the lack of any indicator or feedback when restoring to be confusing. The status bar on the bottom left seems to be a natural place to say "Restoring..." or something more specific. Right now, when restoring individual files or directories, the status bar continues to show "Done" even as the GUI locks up waiting for the restore to complete; depending on how much you're restoring, this can last for minutes. I've taken to having htop running in a background terminal so I can get some sense of when individual restore actions (rsync commands) have finally completed.

Revision history for this message
Tomas Pospisek (tpo-deb) wrote :

For backintime-kde4 this is resolved with the patch mentioned here:

https://answers.launchpad.net/backintime/+question/213871

Hasn't maybe the bug been fixed in the meantime in the gtk GUI as well?

What seems to have been fixed in the KDE GUI as well is the button saying "Done" while the restore is being done.

Revision history for this message
Donald E. Lund (drdlund) wrote :

I'm also having problems with backintime hanging my entire system in the middle of a foreground backup. Running in an Ubuntu virtual machine. Only way I can regain access to the system is to do an ACPI shutdown.

I am going to try a background backup and see if it finishes. Will report back.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.