BiT continually stuck on Comparing snapshot...and permission problems

Asked by Cyberdude

BiT has seems to have stopped working for me on a fresh installation of openSUSE 11.2. It seems to create the first snapshot fine but thereafter just gets stuck on Comparing snapshot. I have it configured to take a snapshot once every hour.

I have the default excludes and tried adding .gvfs as an exclude (as mentioned in another thread) but couldn't.

When I run BiT from the terminal as "backintime -b" it seems to run fine except I get a lot of permission denied errors. See output below.

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: ['/boot', '/srv', '/VAULT/Documents', '/home', '/etc', '/usr/local', '/usr/lib', '/usr/share']
INFO: Ignore folders: []
INFO: Last snapshots: {}
INFO: [KDE4Plugin.Systray.run]
INFO: [KDE4Plugin.Systray.run] begin loop
INFO: Compare with old snapshot: 20100112-090001
rsync: opendir "/boot/lost+found" failed: Permission denied (13)
rsync: opendir "/etc/audisp" failed: Permission denied (13)
rsync: opendir "/etc/audit" failed: Permission denied (13)
rsync: opendir "/etc/cups/ssl" failed: Permission denied (13)
rsync: opendir "/etc/news" failed: Permission denied (13)
rsync: opendir "/etc/ppp" failed: Permission denied (13)
...etc

I also get...
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6]
WARNING: Command "rsync -aEAX -i --dry-run --chmod=Fa-w,D+w --whole-file --delete --exclude="/media/Backup/TPX60s" --exclude="/home/Gxxxx/.local/share/backintime" --include="/boot/" --include="/srv/" --include="/VAULT/Documents/" --include="/VAULT/" --include="/home/" --include="/etc/" --include="/usr/local/" --include="/usr/" --include="/usr/lib/" --include="/usr/share/" --exclude="*.backup*" --exclude="*~" --include="/boot/**" --include="/srv/**" --include="/VAULT/Documents/**" --include="/home/**" --include="/etc/**" --include="/usr/local/**" --include="/usr/lib/**" --include="/usr/share/**" --exclude="*" / "/media/Backup/TPX60s/backintime/20100112-090001/backup/"" returns 5888

Then lots more permission denied errors
INFO: Create hard-links
INFO: Command "cp -al "/media/Backup/TPX60s/backintime/20100112-090001/backup/"* "/media/Backup/TPX60s/backintime/new_snapshot/backup/"" returns 0
INFO: Call rsync to take the snapshot
rsync: opendir "/boot/lost+found" failed: Permission denied (13)
rsync: opendir "/etc/audisp" failed: Permission denied (13)
rsync: opendir "/etc/audit" failed: Permission denied (13)
rsync: opendir "/etc/cups/ssl" failed: Permission denied (13)
rsync: send_files failed to open "/boot/backup_mbr": Permission denied (13)
rsync: send_files failed to open "/boot/grub/device.map": Permission denied (13)
rsync: send_files failed to open "/boot/grub/device.map.old": Permission denied (13)
rsync: send_files failed to open "/boot/grub/menu.lst": Permission denied (13)
rsync: send_files failed to open "/boot/grub/menu.lst.old": Permission denied (13)
rsync: send_files failed to open "/etc/.pwd.lock": Permission denied (13)
rsync: send_files failed to open "/etc/at.deny": Permission denied (13)
rsync: send_files failed to open "/etc/autofs_ldap_auth.conf": Permission denied (13)
rsync: send_files failed to open "/etc/cron.deny": Permission denied (13)
...etc..

And then completes wit
rsync: send_files failed to open "/usr/share/omc/svcinfo.d/syslog.xml": Permission denied (13)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6]
WARNING: Command "rsync -aEAX -v --delete-excluded --chmod=Fa-w,D+w --whole-file --delete --exclude="/media/Backup/TPX60s" --exclude="/home/Gxxxx/.local/share/backintime" --include="/boot/" --include="/srv/" --include="/VAULT/Documents/" --include="/VAULT/" --include="/home/" --include="/etc/" --include="/usr/local/" --include="/usr/" --include="/usr/lib/" --include="/usr/share/" --exclude="*.backup*" --exclude="*~" --include="/boot/**" --include="/srv/**" --include="/VAULT/Documents/**" --include="/home/**" --include="/etc/**" --include="/usr/local/**" --include="/usr/lib/**" --include="/usr/share/**" --exclude="*" / "/media/Backup/TPX60s/backintime/new_snapshot/backup/"" returns 5888
INFO: Save permissions
INFO: [smart remove] keep all >= 20100111-000000
INFO: [smart remove] keep first >= 20100104-000000 and < 20100111-000000
INFO: [smart remove] keep first >= 20091228-000000 and < 20100104-000000
INFO: [smart remove] keep snapshots: ['20100112-121613', '20100112-090001', '20100111-141531']
INFO: Keep min free disk space: 200 Mb
INFO: [KDE4Plugin.Systray.run] end loop
INFO: Unlock

Why am I getting these permission errors and what are those WARNINGS?

This is the what's logged in the syslog from BiT started by the Cron job.

Jan 12 11:00:01 suntp001 /usr/sbin/cron[11440]: (Gxxxx) CMD (nice -n 19 /usr/bin/backintime --backup-job >/dev/null 2>&1)
Jan 12 11:00:01 suntp001 backintime (Gxxxx): INFO: Lock
Jan 12 11:00:01 suntp001 backintime (Gxxxx): INFO: Include folders: ['/boot', '/srv', '/VAULT/Documents', '/home', '/etc', '/usr/local', '/usr/lib', '/usr/share']
Jan 12 11:00:01 suntp001 backintime (Gxxxx): INFO: Ignore folders: []
Jan 12 11:00:01 suntp001 backintime (Gxxxx): INFO: Last snapshots: {}
Jan 12 11:00:01 suntp001 backintime (Gxxxx): INFO: [KDE4Plugin.Systray.run]
Jan 12 11:00:02 suntp001 backintime (Gxxxx): INFO: Compare with old snapshot: 20100112-090001
Jan 12 11:00:02 suntp001 backintime (Gxxxx): INFO: [KDE4Plugin.Systray.run] begin loop
Jan 12 11:15:59 suntp001 su: (to root) Gxxxx on /dev/pts/4
Jan 12 11:16:00 suntp001 su: (to root) Gxxxx on /dev/pts/4
Jan 12 11:26:04 suntp001 smartd[2752]: Device: /dev/sda [SAT], SMART Usage Attribute: 194 Temperature_Celsius changed from 148 to 144
Jan 12 11:45:54 suntp001 rsyslogd: -- MARK --
Jan 12 12:00:01 suntp001 /usr/sbin/cron[13050]: (Gxxxx) CMD (nice -n 19 /usr/bin/backintime --backup-job >/dev/null 2>&1)
Jan 12 12:00:02 suntp001 backintime (Gxxxx): WARNING: A backup is already running

Notice that a hour passes and a warning is thrown that BiT is already running. Nothing really happened during that hour and the whole time the tray icon just showed Comparing with snapshot 20100112-090001.

If you require any other info or log output let me know.

Question information

Language:
English Edit question
Status:
Solved
For:
Back In Time Edit question
Assignee:
No assignee Edit question
Solved by:
Cyberdude
Solved:
Last query:
Last reply:
Revision history for this message
Dan (danleweb) said :
#1

What is your backup support ? (local drive, usb driver, remote)
What is your backup file systems ?

The command BIT runs is:
rsync -aEAX -v --delete-excluded --chmod=Fa-w,D+w --whole-file --delete --exclude="/media/Backup/TPX60s" --exclude="/home/Gxxxx/.local/share/backintime" --include="/boot/" --include="/srv/" --include="/VAULT/Documents/" --include="/VAULT/" --include="/home/" --include="/etc/" --include="/usr/local/" --include="/usr/" --include="/usr/lib/" --include="/usr/share/" --exclude="*.backup*" --exclude="*~" --include="/boot/**" --include="/srv/**" --include="/VAULT/Documents/**" --include="/home/**" --include="/etc/**" --include="/usr/local/**" --include="/usr/lib/**" --include="/usr/share/**" --exclude="*" / "/media/Backup/TPX60s/backintime/new_snapshot/backup/"

Can you try it from command line ? (Create manually "/media/Backup/TPX60s/backintime/new_snapshot/backup/" directory)

Revision history for this message
Dan (danleweb) said :
#2

Please open a bug for this.

Revision history for this message
Cyberdude (gabor-sunseaker) said :
#3

OK Dan. I'll open a bug report and respond to your questions there.

Revision history for this message
Cyberdude (gabor-sunseaker) said :
#4