Old backups not removed by smart remove

Asked by Martin Fisher

Please kindly see below the output from my current BiT setup to an attached USB drive (backing up /home with all four options enabled in auto-remove). Could somebody who has a moment and understands please examine the error messages? There are several types of errors and I would like to know what they mean so that I can understand the status of my backups.

In addition, I currently have four backups for October but BiT is unable to remove three of them (there are some error messages relating to this). September and November, however, each have only one backup retained.

Thanks! Martin

INFO: Lock
INFO: Include folders: ['/home']
INFO: Ignore folders: []
INFO: Last snapshots: {}
INFO: [KDE4Plugin.Systray.run]
INFO: Compare with old snapshot: 20091207-141505
rsync: opendir "/home/martin/.kde/share/apps/kate" failed: Permission denied (13)
INFO: [KDE4Plugin.Systray.run] begin loop
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1057) [sender=3.0.6]
WARNING: Command "rsync -aEAX -i --dry-run --chmod=Fa-w,D+w --whole-file --delete --exclude="/media/ext3backup" --exclude="/home/martin/.local/share/backintime" --include="/home/" --exclude="*.backup*" --exclude="*~" --exclude="*.gvfs" --include="/home/**" --exclude="*" / "/media/ext3backup/backintime/20091207-141505/backup/"" returns 5888
INFO: Create hard-links
INFO: Command "cp -al "/media/ext3backup/backintime/20091207-141505/backup/"* "/media/ext3backup/backintime/new_snapshot/backup/"" returns 0
INFO: Call rsync to take the snapshot
rsync: opendir "/home/martin/.kde/share/apps/kate" failed: Permission denied (13)
rsync: send_files failed to open "/home/martin/.kde/share/config/katepartpluginsrc": Permission denied (13)
rsync: send_files failed to open "/home/martin/.kde/share/config/katepartscriptrc": Permission denied (13)
rsync: send_files failed to open "/home/martin/.kde/share/config/katesyntaxhighlightingrc": Permission denied (13)
rsync: send_files failed to open "/home/martin/.kde/share/config/knfsshare": Permission denied (13)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1057) [sender=3.0.6]
WARNING: Command "rsync -aEAX -v --delete-excluded --chmod=Fa-w,D+w --whole-file --delete --exclude="/media/ext3backup" --exclude="/home/martin/.local/share/backintime" --include="/home/" --exclude="*.backup*" --exclude="*~" --exclude="*.gvfs" --include="/home/**" --exclude="*" / "/media/ext3backup/backintime/new_snapshot/backup/"" returns 5888
INFO: Save permissions
INFO: Remove backups older than: 19991208-000000
INFO: [smart remove] keep all >= 20091207-000000
INFO: [smart remove] keep first >= 20091130-000000 and < 20091207-000000
INFO: [smart remove] keep first >= 20091123-000000 and < 20091130-000000
INFO: [smart remove] keep first >= 20090101-000000 and < 20090201-000000
INFO: [smart remove] keep first >= 20090201-000000 and < 20090301-000000
INFO: [smart remove] keep first >= 20090301-000000 and < 20090401-000000
INFO: [smart remove] keep first >= 20090401-000000 and < 20090501-000000
INFO: [smart remove] keep first >= 20090501-000000 and < 20090601-000000
INFO: [smart remove] keep first >= 20090601-000000 and < 20090701-000000
INFO: [smart remove] keep first >= 20090701-000000 and < 20090801-000000
INFO: [smart remove] keep first >= 20090801-000000 and < 20090901-000000
INFO: [smart remove] keep first >= 20090901-000000 and < 20091001-000000
INFO: [smart remove] keep first >= 20091001-000000 and < 20091101-000000
INFO: [smart remove] keep first >= 20091101-000000 and < 20091201-000000
INFO: [smart remove] keep snapshots: ['20091208-162356', '20091207-141505', '20091205-223016', '20091127-170002', '20090930-220010', '20091031-200001']
INFO: [smart remove] remove snapshot: 20091029-170002
find: `/media/ext3backup/backintime/20091029-170002/backup/home/martin/.kde/share/apps/kmail/dimap/.1846125594.directory/.Oryx.directory/.Proofs.index': Input/output error
find: `/media/ext3backup/backintime/20091029-170002/backup/home/martin/.Skype/martin_pescador/httpfe/cookies.dat': Input/output error
find: `/media/ext3backup/backintime/20091029-170002/backup/home/martin/.gimp-2.6/menurc': Input/output error
find: `/media/ext3backup/backintime/20091029-170002/backup/home/martin/.gimp-2.6/controllerrc': Input/output error
find: `/media/ext3backup/backintime/20091029-170002/backup/home/martin/.gimp-2.6/dockrc': Input/output error
find: `/media/ext3backup/backintime/20091029-170002/backup/home/martin/.gimp-2.6/colorrc': Input/output error
WARNING: Command "find "/media/ext3backup/backintime/20091029-170002" -type d -exec chmod u+wx {} \;" returns 256
rm: cannot remove `/media/ext3backup/backintime/20091029-170002/backup/home/martin/.kde/share/apps/kmail/dimap/.1846125594.directory/.Oryx.directory/.Proofs.index': Input/output error
rm: cannot remove `/media/ext3backup/backintime/20091029-170002/backup/home/martin/.Skype/martin_pescador/httpfe/cookies.dat': Input/output error
rm: cannot remove `/media/ext3backup/backintime/20091029-170002/backup/home/martin/.gimp-2.6/menurc': Input/output error
rm: cannot remove `/media/ext3backup/backintime/20091029-170002/backup/home/martin/.gimp-2.6/controllerrc': Input/output error
rm: cannot remove `/media/ext3backup/backintime/20091029-170002/backup/home/martin/.gimp-2.6/dockrc': Input/output error
rm: cannot remove `/media/ext3backup/backintime/20091029-170002/backup/home/martin/.gimp-2.6/colorrc': Input/output error
WARNING: Command "rm -rfv "/media/ext3backup/backintime/20091029-170002"" returns 256
INFO: [smart remove] remove snapshot: 20091023-110004
find: `/media/ext3backup/backintime/20091023-110004/backup/home/martin/.kde/share/config/kglobalshortcutsrc': Input/output error
find: `/media/ext3backup/backintime/20091023-110004/backup/home/martin/.kde/share/config/networkmanagementrc': Input/output error
find: `/media/ext3backup/backintime/20091023-110004/backup/home/martin/.kde/share/config/knotesrc': Input/output error
find: `/media/ext3backup/backintime/20091023-110004/backup/home/martin/.kde/share/config/startupconfigfiles': Input/output error
find: `/media/ext3backup/backintime/20091023-110004/backup/home/martin/.kde/share/config/amarok-appletsrc': Input/output error
find: `/media/ext3backup/backintime/20091023-110004/backup/home/martin/.kde/share/config/amarok_homerc': Input/output error
find: `/media/ext3backup/backintime/20091023-110004/backup/home/martin/.kde/share/config/phonondevicesrc': Input/output error
find: `/media/ext3backup/backintime/20091023-110004/backup/home/martin/.kde/share/config/startupconfigkeys': Input/output error
find: `/media/ext3backup/backintime/20091023-110004/backup/home/martin/.kde/share/config/konsolerc': Input/output error
find: `/media/ext3backup/backintime/20091023-110004/backup/home/martin/.kde/share/config/korgacrc': Input/output error
find: `/media/ext3backup/backintime/20091023-110004/backup/home/martin/.kde/share/config/amarokrc': Input/output error
find: `/media/ext3backup/backintime/20091023-110004/backup/home/martin/.kde/share/config/khotkeysrc': Input/output error
find: `/media/ext3backup/backintime/20091023-110004/backup/home/martin/.kde/share/config/kopeterc': Input/output error
find: `/media/ext3backup/backintime/20091023-110004/backup/home/martin/.kde/share/config/kontactrc': Input/output error
find: `/media/ext3backup/backintime/20091023-110004/backup/home/martin/.kde/share/config/plasmarc': Input/output error
find: `/media/ext3backup/backintime/20091023-110004/backup/home/martin/.kde/share/config/startupconfig': Input/output error
find: `/media/ext3backup/backintime/20091023-110004/backup/home/martin/.kde/share/config/plasma-desktop-appletsrc': Input/output error
find: `/media/ext3backup/backintime/20091023-110004/backup/home/martin/.kde/share/config/plasma-desktoprc': Input/output error
find: `/media/ext3backup/backintime/20091023-110004/backup/home/martin/.kde/share/config/kmailsnippetrc': Input/output error
find: `/media/ext3backup/backintime/20091023-110004/backup/home/martin/.kde/share/config/kwinrulesrc': Input/output error
find: `/media/ext3backup/backintime/20091023-110004/backup/home/martin/.kde/share/config/okularrc': Input/output error
WARNING: Command "find "/media/ext3backup/backintime/20091023-110004" -type d -exec chmod u+wx {} \;" returns 256
rm: cannot remove `/media/ext3backup/backintime/20091023-110004/backup/home/martin/.kde/share/config/kglobalshortcutsrc': Input/output error
rm: cannot remove `/media/ext3backup/backintime/20091023-110004/backup/home/martin/.kde/share/config/networkmanagementrc': Input/output error
rm: cannot remove `/media/ext3backup/backintime/20091023-110004/backup/home/martin/.kde/share/config/knotesrc': Input/output error
rm: cannot remove `/media/ext3backup/backintime/20091023-110004/backup/home/martin/.kde/share/config/startupconfigfiles': Input/output error
rm: cannot remove `/media/ext3backup/backintime/20091023-110004/backup/home/martin/.kde/share/config/amarok-appletsrc': Input/output error
rm: cannot remove `/media/ext3backup/backintime/20091023-110004/backup/home/martin/.kde/share/config/amarok_homerc': Input/output error
rm: cannot remove `/media/ext3backup/backintime/20091023-110004/backup/home/martin/.kde/share/config/phonondevicesrc': Input/output error
rm: cannot remove `/media/ext3backup/backintime/20091023-110004/backup/home/martin/.kde/share/config/startupconfigkeys': Input/output error
rm: cannot remove `/media/ext3backup/backintime/20091023-110004/backup/home/martin/.kde/share/config/konsolerc': Input/output error
rm: cannot remove `/media/ext3backup/backintime/20091023-110004/backup/home/martin/.kde/share/config/korgacrc': Input/output error
rm: cannot remove `/media/ext3backup/backintime/20091023-110004/backup/home/martin/.kde/share/config/amarokrc': Input/output error
rm: cannot remove `/media/ext3backup/backintime/20091023-110004/backup/home/martin/.kde/share/config/khotkeysrc': Input/output error
rm: cannot remove `/media/ext3backup/backintime/20091023-110004/backup/home/martin/.kde/share/config/kopeterc': Input/output error
rm: cannot remove `/media/ext3backup/backintime/20091023-110004/backup/home/martin/.kde/share/config/kontactrc': Input/output error
rm: cannot remove `/media/ext3backup/backintime/20091023-110004/backup/home/martin/.kde/share/config/plasmarc': Input/output error
rm: cannot remove `/media/ext3backup/backintime/20091023-110004/backup/home/martin/.kde/share/config/startupconfig': Input/output error
rm: cannot remove `/media/ext3backup/backintime/20091023-110004/backup/home/martin/.kde/share/config/plasma-desktop-appletsrc': Input/output error
rm: cannot remove `/media/ext3backup/backintime/20091023-110004/backup/home/martin/.kde/share/config/plasma-desktoprc': Input/output error
rm: cannot remove `/media/ext3backup/backintime/20091023-110004/backup/home/martin/.kde/share/config/kmailsnippetrc': Input/output error
rm: cannot remove `/media/ext3backup/backintime/20091023-110004/backup/home/martin/.kde/share/config/kwinrulesrc': Input/output error
rm: cannot remove `/media/ext3backup/backintime/20091023-110004/backup/home/martin/.kde/share/config/okularrc': Input/output error
WARNING: Command "rm -rfv "/media/ext3backup/backintime/20091023-110004"" returns 256
INFO: [smart remove] remove snapshot: 20091017-130003
find: `/media/ext3backup/backintime/20091017-130003/backup/home/martin/.kde/share/config/kservicemenurc': Input/output error
find: `/media/ext3backup/backintime/20091017-130003/backup/home/martin/.kde/share/config/krunnerrc': Input/output error
WARNING: Command "find "/media/ext3backup/backintime/20091017-130003" -type d -exec chmod u+wx {} \;" returns 256
rm: cannot remove `/media/ext3backup/backintime/20091017-130003/backup/home/martin/.kde/share/config/kservicemenurc': Input/output error
rm: cannot remove `/media/ext3backup/backintime/20091017-130003/backup/home/martin/.kde/share/config/krunnerrc': Input/output error
WARNING: Command "rm -rfv "/media/ext3backup/backintime/20091017-130003"" returns 256
INFO: Keep min free disk space: 1024 Mb
INFO: [KDE4Plugin.Systray.run] end loop
INFO: Unlock

Question information

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

What linux distribution are you using ?
What version of BIT ?

Please run the commands from a terminal
1. find "/media/ext3backup/backintime/20091017-130003" -type d -exec chmod u+wx {} \;
2. rm -rfv "/media/ext3backup/backintime/20091017-130003"

Regards,
Dan

Revision history for this message
Martin Fisher (yusuf-martin) said :
#2

Thanks Dan

I am using Kubuntu 9.10 with KDE 4.3.4 and BiT 0.9.26

With respect to your suggested commands, I receive this error when running find...

~$ find "/media/ext3backup/backintime/20091017-130003" -type d -exec chmod u+wx {} \;

find: `/media/ext3backup/backintime/20091017-130003/backup/home/martin/.kde/share/config/kservicemenurc': Input/output error
find: `/media/ext3backup/backintime/20091017-130003/backup/home/martin/.kde/share/config/krunnerrc': Input/output error

With thanks, Martin

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

The error is strange.
I don't see what is wrong with kservicemenurc and krunnerrc !!!
Is it "ext3" you backup file system ?

Can you run:
ls -lh /media/ext3backup/backintime/20091017-130003/backup/home/martin/.kde/share/config

Revision history for this message
Martin Fisher (yusuf-martin) said :
#4

Neither do I! It is ext3. Here is the output of ls -lh /media/ext3backup/backintime/20091017-130003/backup/home/martin/.kde/share/config

ls: cannot access /media/ext3backup/backintime/20091017-130003/backup/home/martin/.kde/share/config/kservicemenurc: Input/output error
ls: cannot access /media/ext3backup/backintime/20091017-130003/backup/home/martin/.kde/share/config/krunnerrc: Input/output error
total 0
-????????? ? ? ? ? ? krunnerrc
-????????? ? ? ? ? ? kservicemenurc

Any ideas? I would like to fix these problems and remove the three unwanted October backups before moving my backups to a new drive.

Thanks!

Revision history for this message
Martin Fisher (yusuf-martin) said :
#5

A further point: these files are not critical and could be deleted throughout the backup sequence. Also, not only do I need to remove 20091017-130003 but also 20091023-110004 and 20091029-170002 (leaving only 20091031-200001 as the October backup).

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

It seems to be a problem with your drive.
You should run a fsck.

Revision history for this message
Martin Fisher (yusuf-martin) said :
#7

Many thanks, I didn't think of that! fsck fixed the drive and I was then able to run your suggested find and rm commands on all three unwanted snapshots.