Problem with keep, backup to samba share

Bug #109981 reported by Kevin Schmidt
12
Affects Status Importance Assigned to Milestone
rdiff-backup (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: rdiff-backup

backup goes to samba share

ProblemType: Crash
Architecture: i386
Date: Wed Apr 25 10:50:17 2007
DistroRelease: Ubuntu 7.04
ExecutablePath: /usr/bin/rdiff-backup
InterpreterPath: /usr/bin/python2.5
Package: rdiff-backup 1.1.5-3build1
PackageArchitecture: i386
ProcCmdline: /usr/bin/python /usr/bin/rdiff-backup --remove-older-than 2D /mnt/L_drive/keep
ProcCwd: /home/kmschmidt
ProcEnviron:
 PATH=/home/kmschmidt/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_US.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/rdiff-backup', '--remove-older-than', '2D', '/mnt/L_drive/keep']
SourcePackage: rdiff-backup
Uname: Linux kschmidt-m 2.6.20-15-generic #2 SMP Sun Apr 15 07:36:31 UTC 2007 i686 GNU/Linux

Revision history for this message
Kevin Schmidt (kevlaur) wrote :
Revision history for this message
Andrew Ferguson (adferguson) wrote :

Kevin, what type of server is /mnt/L_drive running on? Linux with Samba (what version?), or some version of Windows, or some network appliance?

Also, what mount options do you have for /mnt/L_drive. After mounting it, can you simply run the command 'mount' (no options) and paste what it displays?

The filesystem on /mnt/L_drive does not seem to like files with a name like "5-_ a.snapshot.gz", which is unfortunately for you, a fairly common file name on Unix.

Thanks, Andrew

Revision history for this message
Kevin Schmidt (kevlaur) wrote : Re: [Bug 109981] Re: Problem with keep, backup to samba share

/mnt/L_drive server side is a Windows share.
I believe the problem is due in general to the way rdiff-backup names
its files. It uses reserved characters that windows rejects, mainly the
':' character it uses in the timestamps. These files go in the
rdiff-backup-data dir. I posted what you said below along with my
/etc/fstab file.
   Thanks for helping,
   -Kevin

kmschmidt@kschmidt-m:~$ mount
/dev/sda3 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
/sys on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,noexec,nosuid,nodev,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
devshm on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
lrm on /lib/modules/2.6.20-16-generic/volatile type tmpfs (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)

kmschmidt@kschmidt-m:~$ more /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda3
UUID=d534c5a1-4cd3-4277-ac2a-dab8e87a7e6d / ext3
nouser,defaults,errors=remount-
ro,atime,auto,rw,dev,exec,suid 0 1
# /dev/sda2
UUID=78e00fa3-3221-4566-95d3-a6d04f894caa none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,atime,noauto,rw,dev,exec,suid 0 0
/dev/sda1 /mnt/sda1 auto users,noauto,atime,auto,rw,nodev,noexec,nosuid 0 0
# Network L Drive
//cvgns702a-1.ga.afginc.com/Home /mnt/L_drive smbfs
workgroup=ga,credentials=/ho
me/kmschmidt/.smbpasswd,uid=kmschmidt,gid=kmschmidt 0 0
# Network S shared Drive
//cvgfnp004.ga.afginc.com/Downtown /mnt/S_shared smbfs
workgroup=ga,credentials=
/home/kmschmidt/.smbpasswd,uid=kmschmidt,gid=kmschmidt 0 0

owsla wrote:
> Kevin, what type of server is /mnt/L_drive running on? Linux with Samba
> (what version?), or some version of Windows, or some network appliance?
>
> Also, what mount options do you have for /mnt/L_drive. After mounting
> it, can you simply run the command 'mount' (no options) and paste what
> it displays?
>
> The filesystem on /mnt/L_drive does not seem to like files with a name
> like "5-_ a.snapshot.gz", which is unfortunately for you, a fairly
> common file name on Unix.
>
> Thanks, Andrew
>
>

Revision history for this message
Daniel T Chen (crimsun) wrote :

Is this symptom still reproducible in 8.10 beta?

Changed in rdiff-backup:
status: New → Incomplete
Revision history for this message
Andrew Ferguson (adferguson) wrote :

And if it is reproducible using the latest version of rdiff-backup, I suggest adding the "mapchars" option when mounting the Windows share. This is described in rdiff-backup's FAQ about backing up to Windows shares: http://www.nongnu.org/rdiff-backup/FAQ.html#cifs

Revision history for this message
Andrew Ferguson (adferguson) wrote :

Looking at this bug again, I realized that it was fixed Jan 10, 2006 and released in rdiff-backup 1.1.6.

Changed in rdiff-backup:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.