*** This bug is a duplicate of bug 441628 ***
https://bugs.launchpad.net/bugs/441628
** This bug has been marked a duplicate of bug 441628
BAckintime crash when screen locked
** Changed in: backintime
Status: New => Confirmed
** Changed in: backintime
Importance: Undecided => High
--
neither "backintime -b" nor "backintime --backup-job" work when run by cron
https://bugs.launchpad.net/bugs/451268
You received this bug notification because you are a member of Back In
Time Team, which is subscribed to Back In Time.
Status in Back In Time: Confirmed
Bug description:
I use cron to run "backintime -b" (I also tried "backintime --backup-job" but
the problem is the same) as a normal user who has write access to the snapshots
path. In most cases the backup doesn't work. The systray icon says "Compare
with snapshot ..." and the output of backintime is
----------
Back In Time
Version: 0.9.26
Back In Time comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions; type `backintime --license' for details.
INFO: Lock
INFO: Include folders: ['/home/christian']
INFO: Ignore folders: []
INFO: Last snapshots: {}
INFO: [KDE4Plugin.Systray.run]
INFO: Compare with old snapshot: 20091014-113755
Traceback (most recent call last):
File "/usr/share/backintime/common/backintime.py", line 174, in <module>
start_app()
File "/usr/share/backintime/common/backintime.py", line 86, in start_app
take_snapshot( cfg, True )
File "/usr/share/backintime/common/backintime.py", line 42, in take_snapshot
snapshots.Snapshots( cfg ).take_snapshot( force )
File "/usr/share/backintime/common/snapshots.py", line 421, in take_snapshot
ret_val = self._take_snapshot( snapshot_id, now, include_folders,
ignore_folders, dict, force )
File "/usr/share/backintime/common/snapshots.py", line 634, in _take_snapshot
try_cmd = self._execute_output( cmd, self._exec_rsync_compare_callback,
prev_snapshot_name )
File "/usr/share/backintime/common/snapshots.py", line 912, in
_execute_output
line = pipe.readline()
IOError: [Errno 4] Interrupted system call
----------
There remain 2 processes running forever:
1000 20714 0.0 0.0 11520 1312 ? S 15:00 0:00 /bin/sh
/usr/bin/backintime -b
1000 20718 0.1 1.6 349204 33332 ? Sl 15:00 0:03 python
/usr/share/backintime/common/backintime.py -b
When I run backintime -b manually, it does work (at least I had no case where
the same error occured until now).
I have Python 2.6.3 installed.
_______________________________________________
Mailing list: https://launchpad.net/~bit-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~bit-team
More help : https://help.launchpad.net/ListHelp