BackupPC-users

[BackupPC-users] BackupFilesOnly - Incorrect handling of spaces when using SMB backup?

2008-10-04 14:37:55
Subject: [BackupPC-users] BackupFilesOnly - Incorrect handling of spaces when using SMB backup?
From: "Mike Measures" <mike AT avacta DOT com>
To: <backuppc-users AT lists.sourceforge DOT net>
Date: Sun, 28 Sep 2008 18:53:00 +0100

Hi all,

I've just setup my first BackupPC server which for the most part works great :-)

However, I'm having problems with the BackupFilesOnly setting...

Basically, I've got three directories to backup two of which don't have spaces in them (/VaultData and /svn) and these backup just fine from a C$ share. However, a third directory which contains a number of spaces (/Program Files/Apache Software Foundation/Apache2.2/htdocs/) just won't backup. As you can see below I'm getting an object not found error in the Xfer log file as the path is being mangled to \Program Files\Apache Software Foundation\Apache2.2\Apache2.2\* by smbclient (i guess) which obviously doesn't exist.

FYI, I'm entering the paths into the web interface but i've checked the machine settings file on the disk and it's correctly saved there.

Can anyone help?? I've also tried running the same smbclient command on the command line using a number of escape techniques but it just doesn't want to work!!! Can anyone help me with the correct syntax?

Many thanks,

Mike

test Home Browse backups LOG file LOG files Edit Config
File /srv/backuppc/pc/optim/XferLOG.3.z

Contents of file /srv/backuppc/pc/optim/XferLOG.3.z, modified 2008-09-28 18:29:43

Running: /usr/bin/smbclient \\\\test\\C\$ -I 192.168.0.204 -U test-E -d 1 -c tarmode\ full -Tc - /Program\ Files/Apache\ Software\ Foundation/Apache2.2/htdocs/ /VaultData/ /svn/
full backup started for share C$
Xfer PIDs are now 1977,1976
Domain=[TEST] OS=[Windows Vista (TM) Business 6001 Service Pack 1] Server=[Windows Vista (TM) Business 6.0]
tarmode is now full, system, hidden, noreset, verbose
NT_STATUS_OBJECT_NAME_NOT_FOUND listing \Program Files\Apache Software Foundation\Apache2.2\Apache2.2\*
  create d 755       0/0           0 Program Files/Apache Software Foundation/Apache2.2/Apache2.2
  create d 755       0/0           0 VaultData
  create d 755       0/0           0 VaultData/data
  pool     644       0/0      707521 VaultData/data/cache.store
  create d 755       0/0           0 VaultData/obsolete

<SNIP>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
<Prev in Thread] Current Thread [Next in Thread>
  • [BackupPC-users] BackupFilesOnly - Incorrect handling of spaces when using SMB backup?, Mike Measures <=