backintime icon indicating copy to clipboard operation
backintime copied to clipboard

How can I stop Back In Time backup?

Open sudhirkhanger opened this issue 10 years ago • 7 comments

Hi,

Once I have started a back I can't find a way to stop it. Is there? There's an exit button which closes the window and then the process continues in system tray. There is no button to stop in system tray applet.

screenshot_20160624_152317

Regards, Sudhir.

sudhirkhanger avatar Jun 24 '16 10:06 sudhirkhanger

You can't. See issue #474.

A bruteforce approach is to kill all the processes involving backintime for now (maybe there is a better way).

ps aux | grep backintime

simgunz avatar Jun 24 '16 12:06 simgunz

I'm working on it. For now you need to kill the processes manually like simgunz said. Best practice is to kill the python3 backintime.py process first and than the rsync processes.

Germar avatar Jun 24 '16 12:06 Germar

Still no kill switch ?

ketsa avatar Dec 29 '18 00:12 ketsa

A bruteforce approach is to kill all the processes involving backintime for now (maybe there is a better way).

Here is a copy & paste command from the german ubuntuusers wiki article about backintime to kill all backintime processes:

ps auxfww|grep backintime|awk '{print $2}'|xargs sudo kill -9 

XPanniX avatar Jul 26 '19 10:07 XPanniX

I believe there is a slight risk with that, namely that one of the PIDs returned will be that of the grep command, however by the time the kill is executed that process will already be dead and it is conceivable that the PID will have been re-used for another process. The result would be to kill that new process.

colinl avatar Jul 26 '19 13:07 colinl

This was implemented with current version 1.2.0

Germar avatar Aug 11 '19 20:08 Germar

@Germar If I kill the processes from the CLI, do I have to cleanup what was written to disk? Will the partial backup affect future backups?

I ask because I'm wondering if there's a safe way to stop backintime from a UPS shutdown script.

hebime avatar Nov 10 '19 15:11 hebime