[ABANDONED] backintime freezes with "end loop"

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
afora
Level 4
Level 4
Posts: 203
Joined: Mon Aug 26, 2019 7:35 pm

[ABANDONED] backintime freezes with "end loop"

Post by afora »

Hi guys,

I have two backintime profiles one running a local backup (profile-id #1), and one to another server (profile-id #2). I run it with the following command:

Code: Select all

sudo -i backintime --config /root/.config/backintime/config --backup-job
The first profile runs fine and backs up everything as expected. However, just before exiting the shell it gets stuck at:

Code: Select all

INFO: Unlock
INFO: [qt4systrayicon] end loop
and it never exits, freezing at this stage. So backintime never gets to execute the second profile.

Can you recommend a solution to this. I really need to run it on a headless server so the GUI is not an option.

Setup: LM19.3
Installed: backintime-gnome, backintime-qt4
Last edited by afora on Mon Jul 27, 2020 4:02 am, edited 1 time in total.
afora
Level 4
Level 4
Posts: 203
Joined: Mon Aug 26, 2019 7:35 pm

Re: backintime freezes with "end loop"

Post by afora »

I found a debug flag, so here's a bit more output. Nothing particular stands out for me. There are a couple of errors but they seem to be just warnings:
INFO: [qt4systrayicon] begin loop
DEBUG: [common/snapshots.py:1357 Snapshots._take_snapshot] Command "rsync -rtDHh --l..." returns 0
DEBUG: [common/snapshots.py:1363 Snapshots._take_snapshot] Failed to remove snapshot progress file /root/.local/share/backintime/worker.progress: [Errno 2] No such file or directory: '/root/.local/share/backintime/worker.progress'
DEBUG: [common/snapshots.py:1384 Snapshots._take_snapshot] Call command "find "/media/location" -type d -exec chmod u+wx "{}" +"
DEBUG: [common/snapshots.py:1384 Snapshots._take_snapshot] Command "find "/media/loc..." returns 0
DEBUG: [common/snapshots.py:1385 Snapshots._take_snapshot] Call command "rm -rf "/media/location/new_snapshot""
DEBUG: [common/snapshots.py:1385 Snapshots._take_snapshot] Command "rm -rf "/media/l..." returns 0
INFO: [common/snapshots.py:1387 Snapshots._take_snapshot] Nothing changed, no back needed
DEBUG: [common/snapshots.py:1053 Snapshots.take_snapshot] Call command "rm -rf "/media/location/20200726-141508-599""
DEBUG: [common/snapshots.py:1053 Snapshots.take_snapshot] Command "rm -rf "/media/l..." returns 0
WARNING: [common/snapshots.py:1060 Snapshots.take_snapshot] No new snapshot
INFO: [common/snapshots.py:1672 Snapshots._free_space] Remove backups older than: 20100701-000000
DEBUG: [common/snapshots.py:1543 Snapshots.smart_remove] Considered: ['20200726-141502-730', '20200726-134542-740', '20200726-134135-142', '20200726-130001-546', '20200725-140001-379']
DEBUG: [common/snapshots.py:1502 Snapshots._smart_remove_keep_all_] Keep all >= 20200726-000000-422 and < 20200727-000000-902
DEBUG: [common/snapshots.py:1515 Snapshots._smart_remove_keep_first_] Keep first >= 20200726-000000-419 and < 20200727-000000-446
DEBUG: [common/snapshots.py:1515 Snapshots._smart_remove_keep_first_] Keep first >= 20200725-000000-914 and < 20200726-000000-845
DEBUG: [common/snapshots.py:1515 Snapshots._smart_remove_keep_first_] Keep first >= 20200719-000000-372 and < 20200727-000000-104
DEBUG: [common/snapshots.py:1515 Snapshots._smart_remove_keep_first_] Keep first >= 20200712-000000-714 and < 20200720-000000-520
DEBUG: [common/snapshots.py:1515 Snapshots._smart_remove_keep_first_] Keep first >= 20200701-000000-312 and < 20200801-000000-454
DEBUG: [common/snapshots.py:1515 Snapshots._smart_remove_keep_first_] Keep first >= 20200601-000000-504 and < 20200701-000000-868
DEBUG: [common/snapshots.py:1515 Snapshots._smart_remove_keep_first_] Keep first >= 20200101-000000-944 and < 20210101-000000-635
DEBUG: [common/snapshots.py:1588 Snapshots.smart_remove] Keep snapshots: ['20200726-141502-730', '20200726-134542-740', '20200726-134135-142', '20200726-130001-546', '20200725-140001-379']
INFO: [common/snapshots.py:1702 Snapshots._free_space] Keep min free disk space: 1024 MiB
INFO: [common/snapshots.py:1735 Snapshots._free_space] Keep min 2% free inodes
DEBUG: [common/snapshots.py:1987 Snapshots.create_last_snapshot_symlink] Create symlink /media/location/last_snapshot => 20200726-141502-730
DEBUG: [common/tools.py:591 keyring_supported] No keyring due to import errror.
INFO: [common/snapshots.py:1091 Snapshots.take_snapshot] Unlock
INFO: [qt4systrayicon] end loop
It still freezes at the end of profile 1 run with --debug.
Post Reply

Return to “Newbie Questions”