Files not backup'd

Asked by pisacksen

I have 2 files in a directory that are not being archived to a remote network file location. The directory is in the include list and not in the exclude list. I can create a file on the remote location; however BiT does not rsync to that location. Thoughts?

Question information

Language:
English Edit question
Status:
Answered
For:
Back In Time Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Martin Fisher (yusuf-martin) said :
#1

You indicate that it is a network file. How is it mounted locally? With cifs, for example? I had a similar problem and it appeared that the files were not backed up because the network drive would not accept hardlinks (I have mounted the network drive locally using nfs and that seems to solve the problem). Run the backintime -b from the command line and examine the output.

Martin

Revision history for this message
pisacksen (pisacksen) said :
#2

Here is the mount:

sudo mount -t cifs -o username=<name>,password=<pwd> //<ip address>/our\ backups /mnt/backup

How would I change to NFS for the mount?

And here is the output:

phil@Docker:~$ backintime -b
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/phil']
INFO: Ignore folders: []
INFO: Last snapshots: {}
INFO: [GnomePlugin.Systray.run]
INFO: [GnomePlugin.Systray.run] begin loop
INFO: Compare with old snapshot: 20091208-085205
INFO: Command "rsync -aEAX -i --dry-run --chmod=Fa-w,D+w --whole-file --delete --exclude="/mnt/backup/Docker" --exclude="/home/phil/.local/share/backintime" --include="/home/phil/" --include="/home/" --exclude="*.backup*" --exclude="/home/phil/.*" --include="/home/phil/**" --exclude="*" / "/mnt/backup/Docker/backintime/20091208-085205/backup/"" returns 0
INFO: Create hard-links
cp: preserving times for `/mnt/backup/Docker/backintime/new_snapshot/backup/home/phil/Desktop': Operation not permitted
cp: preserving times for `/mnt/backup/Docker/backintime/new_snapshot/backup/home/phil/Documents': Operation not permitted
cp: preserving times for `/mnt/backup/Docker/backintime/new_snapshot/backup/home/phil/Downloads': Operation not permitted
cp: preserving times for `/mnt/backup/Docker/backintime/new_snapshot/backup/home/phil/Music': Operation not permitted
cp: preserving times for `/mnt/backup/Docker/backintime/new_snapshot/backup/home/phil/Pictures': Operation not permitted
cp: preserving times for `/mnt/backup/Docker/backintime/new_snapshot/backup/home/phil/Public': Operation not permitted
cp: preserving times for `/mnt/backup/Docker/backintime/new_snapshot/backup/home/phil/Templates': Operation not permitted
cp: preserving times for `/mnt/backup/Docker/backintime/new_snapshot/backup/home/phil/Videos': Operation not permitted
cp: preserving times for `/mnt/backup/Docker/backintime/new_snapshot/backup/home/phil': Operation not permitted
cp: preserving times for `/mnt/backup/Docker/backintime/new_snapshot/backup/home': Operation not permitted
WARNING: Command "cp -al "/mnt/backup/Docker/backintime/20091208-085205/backup/"* "/mnt/backup/Docker/backintime/new_snapshot/backup/"" returns 256
INFO: Call rsync to take the snapshot
rsync: failed to set times on "/mnt/backup/Docker/backintime/new_snapshot/backup/.": Operation not permitted (1)
rsync: failed to set times on "/mnt/backup/Docker/backintime/new_snapshot/backup/home": Operation not permitted (1)
rsync: failed to set times on "/mnt/backup/Docker/backintime/new_snapshot/backup/home/phil": Operation not permitted (1)
rsync: failed to set times on "/mnt/backup/Docker/backintime/new_snapshot/backup/home/phil/Desktop": Operation not permitted (1)
rsync: failed to set times on "/mnt/backup/Docker/backintime/new_snapshot/backup/home/phil/Documents": Operation not permitted (1)
rsync: failed to set times on "/mnt/backup/Docker/backintime/new_snapshot/backup/home/phil/Downloads": Operation not permitted (1)
rsync: failed to set times on "/mnt/backup/Docker/backintime/new_snapshot/backup/home/phil/Music": Operation not permitted (1)
rsync: mkstemp "/mnt/backup/Docker/backintime/new_snapshot/backup/home/phil/.examples.desktop.wrkHqK" failed: Operation not permitted (1)
rsync: failed to set times on "/mnt/backup/Docker/backintime/new_snapshot/backup/home/phil/Pictures": Operation not permitted (1)
rsync: failed to set times on "/mnt/backup/Docker/backintime/new_snapshot/backup/home/phil/Public": Operation not permitted (1)
rsync: failed to set times on "/mnt/backup/Docker/backintime/new_snapshot/backup/home/phil/Templates": Operation not permitted (1)
rsync: failed to set times on "/mnt/backup/Docker/backintime/new_snapshot/backup/home/phil/Videos": Operation not permitted (1)
rsync: mkstemp "/mnt/backup/Docker/backintime/new_snapshot/backup/home/phil/Documents/.1043142 RES Phil Isacksen.doc.0H7ECd" failed: Operation not permitted (1)
rsync: mkstemp "/mnt/backup/Docker/backintime/new_snapshot/backup/home/phil/Documents/.Resume Cover Letter -- generic.doc.WHheQG" failed: Operation not permitted (1)
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="/mnt/backup/Docker" --exclude="/home/phil/.local/share/backintime" --include="/home/phil/" --include="/home/" --exclude="*.backup*" --exclude="/home/phil/.*" --include="/home/phil/**" --exclude="*" / "/mnt/backup/Docker/backintime/new_snapshot/backup/"" returns 5888
INFO: Save permissions
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-095618', '20091208-085205', '20091208-081730', '20091207-000001', '20091206-221831']
INFO: [GnomePlugin.Systray.run] end loop
INFO: Unlock

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

These are the same errors that I had when trying to use cifs. For nfs I use a line in fstab to the network drive, viz:

192.168.1.2:/nfs/FishNet /media/FishNet nfs rw,user 0 0

But obviously you will need to verify whether your network drive supports nfs.

Revision history for this message
steve craig (cixelsyd) said :
#4

For an Apple Time Capsule, the solution is to modify your CIFS mount options and include nosetuids,noperm

See:

http://www.ikickass.com/shortthoughts/backintimecreatesdirectoriesbutfailstocreatefiles

Can you help with this problem?

Provide an answer of your own, or ask pisacksen for more information if necessary.

To post a message you must log in.