[Bug 1188115] New: Backintime: no snapshots possible anymore after (15.2->15.3) upgrade to 1.21
http://bugzilla.opensuse.org/show_bug.cgi?id=1188115 Bug ID: 1188115 Summary: Backintime: no snapshots possible anymore after (15.2->15.3) upgrade to 1.21 Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.3 Hardware: x86-64 OS: Other Status: NEW Severity: Major Priority: P5 - None Component: Other Assignee: screening-team-bugs@suse.de Reporter: michaelof@rocketmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Backintime seem to process taking a snapshot, but stops at final step(s). Starting situation: zypper dup Leap from 15.2 to 15.3. After reboot, performed a zypper ref && zypper up, all pkgs current now. Made an initial Clonezilla image, to be sure. Reproducible: Wanted to make a first backintime snapshot, does NOT work Error on command line is: INFO: Remove leftover 'new_snapshot' folder from last run QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' INFO: Call rsync to take the snapshot Traceback (most recent call last): File "/usr/share/backintime/common/backintime.py", line 1165, in <module> startApp() File "/usr/share/backintime/common/backintime.py", line 517, in startApp args.func(args) File "/usr/share/backintime/common/backintime.py", line 739, in backup ret = takeSnapshot(cfg, force) File "/usr/share/backintime/common/backintime.py", line 94, in takeSnapshot ret = snapshots.Snapshots(cfg).backup(force) File "/usr/share/backintime/common/snapshots.py", line 692, in backup ret_val, ret_error = self.takeSnapshot(sid, now, include_folders) File "/usr/share/backintime/common/snapshots.py", line 1036, in takeSnapshot proc.run() File "/usr/share/backintime/common/tools.py", line 1981, in run self.callback(line, self.user_data) File "/usr/share/backintime/common/snapshots.py", line 809, in rsyncCallback self.snapshotLog.append('[C] ' + line[12:], 2) File "/usr/share/backintime/common/snapshotlog.py", line 195, in append self.logFile.write(msg + '\n') File "/usr/share/backintime/common/tools.py", line 1513, in handler self.callback() File "/usr/share/backintime/common/snapshotlog.py", line 203, in flush self.logFile.flush() RuntimeError: reentrant call inside <_io.BufferedWriter name='/root/.local/share/backintime/takesnapshot_.log'> -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1188115 http://bugzilla.opensuse.org/show_bug.cgi?id=1188115#c1 Michael from Offenbach Germany <michaelof@rocketmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P2 - High --- Comment #1 from Michael from Offenbach Germany <michaelof@rocketmail.com> --- Set this to P2 as I'm not able to perform my backups as of now. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1188115 http://bugzilla.opensuse.org/show_bug.cgi?id=1188115#c2 Andreas Stieger <Andreas.Stieger@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P2 - High |P5 - None Assignee|screening-team-bugs@suse.de |masterpatricko@gmail.com --- Comment #2 from Andreas Stieger <Andreas.Stieger@gmx.de> --- (In reply to Michael from Offenbach Germany from comment #1)
Set this to P2 as I'm not able to perform my backups as of now.
That is not for the reporter to set. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1188115 http://bugzilla.opensuse.org/show_bug.cgi?id=1188115#c3 Tejas Guruswamy <masterpatricko@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |michaelof@rocketmail.com Flags| |needinfo?(michaelof@rocketm | |ail.com) --- Comment #3 from Tejas Guruswamy <masterpatricko@gmail.com> --- The issue is most likely trying to take a backup of the currently open backup log. Are you trying to take a whole-system backup of /? Please try again after limiting the backup to only required folders or add /root/.local/share/backintime/takesnapshot_.log to your exclude patterns. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1188115 http://bugzilla.opensuse.org/show_bug.cgi?id=1188115#c4 Michael from Offenbach Germany <michaelof@rocketmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(michaelof@rocketm | |ail.com) | --- Comment #4 from Michael from Offenbach Germany <michaelof@rocketmail.com> --- (In reply to Tejas Guruswamy from comment #3)
The issue is most likely trying to take a backup of the currently open backup log.
Are you trying to take a whole-system backup of /?
THANKS for this hint, yes, I'm doing a full system backup except the usual tmp etc. folders.
Please try again after limiting the backup to only required folders or add /root/.local/share/backintime/takesnapshot_.log to your exclude patterns.
Have added the whole /root/.local/share/backintime folder to my backintime's exclude list. Haven't been in there before. Also checked with the latest succesful snapshot (=latest 15.2 snapshot, done exactly before upgrading to 15.3), and some other, random older snapshors: this folder /root/.local/share/backintime didn't exist in any snapshot. So the usage of this folder must be be newly introduced for backintime 1.12, or specficly configured for 15.3, don't know. Unfortunately, but probably by design because of the changed exclude list, backintime now performs a real "full" backups. So NO hard links as usual, but "full" copies. Waste of disk space, but fine if just once, will see and comment here -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1188115 http://bugzilla.opensuse.org/show_bug.cgi?id=1188115#c5 --- Comment #5 from Michael from Offenbach Germany <michaelof@rocketmail.com> --- backintime snapshots are working FINE again, THANKS Tejas Guruswamy!!! First snapshot, as said full backup because of changed EXCLUDE options, took long, to be expected. But finished successful. Subsequent snapshots now are as fast as before, hard-linking mostly. Last remark: As all my settings have been unchanged from 15.2->15.3 (backintime 1.1.24->1.2.1), the mechanism of backintime for temp. runtime files must have changed. From wherever, usual suspects /tmp, /var/run, ..., to ~/.local/share/backintime. Maybe worth mentioning in readme, or maybe even better to be changed again to outside $HOME? As maybe my save all (/) is not a quite common usage, but saving $HOME recursively for sure, or? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1188115 http://bugzilla.opensuse.org/show_bug.cgi?id=1188115#c6 Tejas Guruswamy <masterpatricko@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #6 from Tejas Guruswamy <masterpatricko@gmail.com> --- Good to hear. I am not aware of any intentional change to the behaviour regarding temp files between 1.1.24 and 1.2.1 -- I will close this bug since the specific problem is solved, but will continue to investigate. If I find something I will add a note to the docs or make a patch. Thanks. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1188115 http://bugzilla.opensuse.org/show_bug.cgi?id=1188115#c7 Pandora <python@altfeld-im.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |python@altfeld-im.de --- Comment #7 from Pandora <python@altfeld-im.de> --- I have fixed this (non-deterministic) bug in the current dev version for the upcoming next release of BiT. See: https://github.com/bit-team/backintime/issues/1003 -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com