Files not being copied.

Asked by Plutocrat

Very strange this one. Short description is this:
 - Backintime is configured to copy ~/Desktop and ~/Documents to ~/servershare
 - Servershare is a Samba mount mounted by gvfs-mount. It is mounted in ~/.gvfs/user on server
 - A symlink links this to ~/servershare
 - backintime is not configured to run using the internal scheduler, its called via a script which uses
         nice -n 19 ionice -c2 -n7 /usr/bin/backintime --profile "Main profile" --backup-job >/dev/null 2>&1
 - Running on Ubuntu 10.04. Backintime version 0.9.26

When the backup is run, backintime creates the snapshot directories, but copies no files. All snapshot directories are empty. However it displays the files in the "Now" section just fine.

Here is the info from /var/log/messages

Sep 15 17:58:07 pc1 backintime (user): INFO: Lock
Sep 15 17:58:07 pc1 backintime (user): INFO: Include folders: ['/home/user/Documents', '/home/user/Desktop', '/home/user/scripts']
Sep 15 17:58:07 pc1 backintime (user): INFO: Ignore folders: []
Sep 15 17:58:07 pc1 backintime (user): INFO: Last snapshots: {}
Sep 15 17:58:07 pc1 backintime (user): INFO: [GnomePlugin.Systray.run]
Sep 15 17:58:07 pc1 backintime (user): INFO: [GnomePlugin.Systray.run] begin loop
Sep 15 17:58:07 pc1 backintime (user): INFO: Compare with old snapshot: 20100915-175103
Sep 15 17:58:07 pc1 backintime (user): INFO: Command "rsync -aEAX -i --dry-run --chmod=Fa-w,D+w --whole-file --delete --exclude="/home/user/serverbackup" --exclude="/home/user/.local/share/backintime" --include="/home/user/Documents/" --include="/home/user/" --include="/home/" --include="/home/user/Desktop/" --include="/home/user/scripts/" --exclude="*.mp3" --include="/home/user/Documents/**" --include="/home/user/Desktop/**" --include="/home/user/scripts/**" --exclude="*" / "/home/user/serverbackup/backintime/20100915-175103/backup/"" returns 0
Sep 15 17:58:07 pc1 backintime (user): INFO: Create hard-links
Sep 15 17:58:07 pc1 backintime (user): WARNING: Command "cp -al "/home/user/serverbackup/backintime/20100915-175103/backup/"* "/home/user/serverbackup/backintime/new_snapshot/backup/"" returns 256
Sep 15 17:58:07 pc1 backintime (user): INFO: Call rsync to take the snapshot
Sep 15 17:58:07 pc1 backintime (user): WARNING: Command "rsync -aEAX -v --delete-excluded --chmod=Fa-w,D+w --whole-file --delete --exclude="/home/user/serverbackup" --exclude="/home/user/.local/share/backintime" --include="/home/user/Documents/" --include="/home/user/" --include="/home/" --include="/home/user/Desktop/" --include="/home/user/scripts/" --exclude="*.mp3" --include="/home/user/Documents/**" --include="/home/user/Desktop/**" --include="/home/user/scripts/**" --exclude="*" / "/home/user/serverbackup/backintime/new_snapshot/backup/"" returns 5888
Sep 15 17:58:07 pc1 backintime (user): INFO: Save permissions
Sep 15 17:58:10 pc1 backintime (user): INFO: [GnomePlugin.Systray.run] end loop
Sep 15 17:58:10 pc1 backintime (user): INFO: Unlock

It seems to me that this "--exclude="*"" bit is wrong. But I only have *.mp3 set in the exclusion filters.

Any ideas?

Question information

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

Oh. I think I've figured this one out. I upgraded to the development version Version: 0.9.99.80, by adding the testing PPA and it seems to work now. .... after it converted my snapshots to the new format.

Can you confirm if the hard-links are working in this version, or is it just a straight copy each time, as I read somewhere else?