Re: [BackupPC-users] Have global exclusions stay global?

2009-04-13 Thread Craig Barratt
Oblivian,

As you point out, there isn't a general method for merging per-client
settings with the global ones.

However, in 3.2.0beta0 there is a new config variable
$Conf{RsyncArgsExtra} which is combined with $Conf{RsyncArgs}.
The purpose is exactly for your application: you can use
$Conf{RsyncArgs} for the global settings and $Conf{RsyncArgsExtra}
for the per-client settings.

For excludes you would need to use rsync-type arguments (ie: --exclude)
in $Conf{RsyncArgsExtra}.

Craig

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] RSYNC xfer failing backuppc version 3.2.0beta0

2009-04-13 Thread Craig Barratt
Tim writes:

> This is a new install so I thought I would try the beta version
> do you recommend I go back to the stable version?

If you are willing to test the beta version some more that
would be great.  You've already found one bug :).

Holger told you where to get the File::Listing module.
Another workaround is to simply comment out this line in

use File::Listing qw/parse_dir/;

in

lib/BackupPC/Xfer/Ftp.pm

(ie: add a single "#" character at the start of the line, or
delete it altogether).  You won't be able to use ftp, but
everything else should work.

Craig

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


[BackupPC-users] No files dumped for share on windows 2008 server client

2009-04-13 Thread thomas83

Hi,

I have installed backuppc on ubuntu 8.10 and added an windows client.
When starting backup everything seems to go fine but it stops quit fast and 
saying backup failed (No files dumped for share installshare)

I have tested with diffierent users and shares, on C$ it can't read anything. 
But on the intallshare it can read all the folders but not the files inside 
them.

I only uses SMB share and haven't installed rsync on my windows 2008 server. I 
tried but then i got an blue screen.

Here are the error log
Running: /usr/bin/smbclient fs01\\installshare -I 192.168.100.10 -U 
FREEUP\\backuppc -E -d 1 -c tarmode\ full -Tc -
full backup started for share installshare
Xfer PIDs are now 13968,13967
[ skipped 2 lines ]
NT_STATUS_OBJECT_PATH_NOT_FOUND opening remote file 
\Applikasjoner\ADModify.NET\23282\ADModcmd.exe 
(\Applikasjoner\ADModify.NET\23282\)
NT_STATUS_FILE_IS_A_DIRECTORY opening remote file \Windows\win.ctx (\Windows\)
NT_STATUS_FILE_IS_A_DIRECTORY opening remote file \Windows\win.ini (\Windows\)
[ skipped 23 lines ]
tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 
filesTotal, 0 sizeTotal
Got fatal error during xfer (No files dumped for share installshare)
Backup aborted (No files dumped for share installshare)
Not saving this as a partial backup since it has fewer files than the prior one 
(got 1 and 0 files versus 1)

Since it was about 1000 lines i only included the top and the bottom.,
And here are the XferLOG 

Running: /usr/bin/smbclient fs01\\installshare -I 192.168.100.10 -U 
FREEUP\\backuppc -E -d 1 -c tarmode\ full -Tc -
full backup started for share installshare
Xfer PIDs are now 13968,13967
Domain=[FREEUP] OS=[Windows Server (R) 2008 Standard 6001 Service Pack 1] 
Server=[Windows Server (R) 2008 Standard 6.0]
tarmode is now full, system, hidden, noreset, verbose
NT_STATUS_OBJECT_PATH_NOT_FOUND opening remote file 
\Applikasjoner\ADModify.NET\23282\ADModcmd.exe 
(\Applikasjoner\ADModify.NET\23282\)
NT_STATUS_OBJECT_PATH_NOT_FOUND opening remote file 
\Applikasjoner\ADModify.NET\23282\ADModify.exe 
(\Applikasjoner\ADModify.NET\23282\)
NT_STATUS_FILE_IS_A_DIRECTORY opening remote file \Windows\win.ctx (\Windows\)
NT_STATUS_FILE_IS_A_DIRECTORY opening remote file \Windows\win.ini (\Windows\)
tar: dumped 636 files and directories
Total bytes written: 0
  create d 755   0/0   0 Windows/Servere/Windows 
2003/en_windows_server_2003_standard/VALUEADD
  create d 755   0/0   0 Windows/Servere/Windows 
2003/en_windows_server_2003_standard/VALUEADD/MSFT
  create d 755   0/0   0 Windows/Servere/Windows 
2003/en_windows_server_2003_standard/VALUEADD/MSFT/FONTS
  create d 755   0/0   0 Windows/Servere/Windows 
2003/en_windows_server_2003_standard/VALUEADD/MSFT/MGMT
  create d 755   0/0   0 Windows/Servere/Windows 
2003/en_windows_server_2003_standard/VALUEADD/MSFT/MGMT/CIMV2R5
  create d 755   0/0   0 Windows/Servere/Windows 
2003/en_windows_server_2003_standard/VALUEADD/MSFT/MGMT/DOMREN
  create d 755   0/0   0 Windows/Servere/Windows 
2003/en_windows_server_2003_standard/VALUEADD/MSFT/MGMT/IAS
  create d 755   0/0   0 Windows/Servere/Windows 
2003/en_windows_server_2003_standard/VALUEADD/MSFT/MGMT/PBA
  create d 755   0/0   0 Windows/Servere/Windows 
2003/en_windows_server_2003_standard/VALUEADD/MSFT/NET
  create d 755   0/0   0 Windows/Servere/Windows 
2003/en_windows_server_2003_standard/VALUEADD/MSFT/NET/TOOLS
  create d 755   0/0   0 Windows/Servere/Windows 
2003/en_windows_server_2003_standard/VALUEADD/MSFT/USMT
  create d 755   0/0   0 Windows/Servere/Windows 
2003/en_windows_server_2003_standard/VALUEADD/MSFT/USMT/ANSI
  create d 755   0/0   0 Windows/Servere/Windows 2003/Windows 
Server 2003 Service Pack 2 (32-bit x86)
  create d 755   0/0   0 Windows/Servere/Windows 2003 R2
  create d 755   0/0   0 Windows/Servere/Windows 2008
  create d 755   0/0   0 Windows/Servere/Windows 2008/X64
  create d 755   0/0   0 Windows/Servere/Windows 2008/X86
  create d 755   0/0   0 Windows/Servere/Windows 2008 Small 
business server
  create d 755   0/0   0 Windows/SQL - Servere
  create d 755   0/0   0 Windows/SQL - Servere/en_sql_2005_std_x86
  create d 755   0/0   0 Windows/system
tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 
filesTotal, 0 sizeTotal
Got fatal error during xfer (No files dumped for share installshare)
Backup aborted (No files dumped for share installshare)
Not saving this as a partial backup since it has fewer files than the prior one 
(got 1 and 0 files versus 1)


Does anybody have a tip for me to fix this?

Regards,
Thomas B[/quote]

+--
|This was sent by tho...@borgedata.com via Backup Central.
|Forward 

[BackupPC-users] Anyone using BackupPC on OpenSUSE 11.1?

2009-04-13 Thread Jsom

Try http://www.pcc-services.com/sles/backuppc.html  I found this site great for 
installing on OpenSuse

+--
|This was sent by james.som...@barnardos.ie via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] What is it doing? How to see progess?

2009-04-13 Thread Carl Wilhelm Soderstrom
On 04/13 10:00 , Holger Parplies wrote:
> Carl Wilhelm Soderstrom wrote on 2009-04-13 11:48:40 -0500 [Re: 
> [BackupPC-users] What is it doing? How to see progess?]:
> > In any case, you really do want compression in most cases.
> > the only exception that I use, is when you're backing up the local machine.
> > This way you can still recover the files even without backuppc. (It would be
> > silly to need backuppc to recover the backuppc config files, wouldn't it?)
> 

> You've got a good point for *the rest of /etc*, though. The BackupPC
> configuration files won't be needed unless you have installed BackupPC
> and want to use it, other files might be needed before you have the
> opportunity of installing BackupPC (on a dedicated backup server, that's
> probably the first thing you'll do, but not everyone has one).

Yep. This is my point; that there may be files you need to recover, which
then allow you to set up the box to recover the rest of your files. It would
be a royal PITA to recover all the files in /etc directly out of the
backuppc pool; but at least it's *possible* if the files are uncompressed.
(Sometimes, bad things happen to good people, and it pays to be prepared for
that eventuality, even if it never happesns.) 

-- 
Carl Soderstrom
Systems Administrator
Real-Time Enterprises
www.real-time.com

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Not backing up more that first module/directory (rsyncd)

2009-04-13 Thread Adam Goryachev
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Holger Parplies wrote:
> Hi,
> 
> Adam Goryachev wrote on 2009-04-13 13:15:40 +1000 [Re: [BackupPC-users] Not 
> backing up more that first?module/directory (rsyncd)]:
>> Holger Parplies wrote:
>>> Boniforti Flavio wrote on 2009-04-12 10:20:12 +0200 [[BackupPC-users] Not 
>>> backing up more that first module/directory (rsyncd)]:
 What I¹m now experiencing is that after having correctly completed first
 module/directory, it doesn¹t connect anymore to the subsequent one.
>> [...]
>>> I agree that it is the ssh tunnel closing when the last (= only) tunnelled
>>> connection closes.
>> [...]
>>
>> I have (successfully) been using a script to do this for the past few
>> months. I copied this from somewhere else (the wiki perhaps) and have
>> tuned locally since then...
>>
>> I created a script in /etc/backuppc/scripts/hostname.sh
>> #!/bin/bash
>> TERM=vt100
>> /usr/bin/screen -d -m -S hosttunnel /usr/bin/ssh -o
>> ServerAliveInterval=15 -o ServerAliveCountMax=10 -q -x -C -L
>> 1516:127.0.0.1:873 -l root host
>> /bin/sleep 20
> 
> I fail to see how running the 'ssh host sleep 20' inside screen would help.
> It only seems to prevent an error from ssh from being noticed by BackupPC.
> Are you really referring to a *multiple share* backup?

Neither do I, but yes, it is a multi-share backup. "edrive" is done
first, which is 100G or so of images and then "cdrive" is done...

>> [...]
>> $Conf{DumpPreUserCmd}='/etc/backuppc/scripts/host.sh';
> 
> Wasn't that 'hostname.sh'? ;-)

well, neither was the literal text host.sh or hostname.sh. I use a
different scrpt for each host, but didn't want to show my actual
hostname being referred to, so I made it generic

>> $Conf{DumpPostUserCmd}='/usr/bin/pkill -u backuppc -f host';
> 
> Hmm, how about 'screen -S hosttunnel -X quit'?

I'm not sure, I know very little about screen, I really just copied the
scripts from somewhere else. Perhaps screen can't quit if the ssh
command is still running ?
Perhaps the fact that this still works for me might also be why I seem
to get hanging bash/ssh processes on the remote side.

I might give your suggestion a try, but I'm not sure it will help...


Regards,
Adam
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknjwKsACgkQGyoxogrTyiUEOgCffDBRx0/qFxsMVbOnaQEgUWp0
VZ8An3YNxEsVCGwAGjZufbsZeh69zXhh
=C1yY
-END PGP SIGNATURE-

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Not backing up more that first module/directory (rsyncd)

2009-04-13 Thread Holger Parplies
Hi,

Adam Goryachev wrote on 2009-04-13 13:15:40 +1000 [Re: [BackupPC-users] Not 
backing up more that first?module/directory (rsyncd)]:
> Holger Parplies wrote:
> > Boniforti Flavio wrote on 2009-04-12 10:20:12 +0200 [[BackupPC-users] Not 
> > backing up more that first module/directory (rsyncd)]:
> >>
> >> What I¹m now experiencing is that after having correctly completed first
> >> module/directory, it doesn¹t connect anymore to the subsequent one.
> [...]
> > I agree that it is the ssh tunnel closing when the last (= only) tunnelled
> > connection closes.
> [...]
> 
> I have (successfully) been using a script to do this for the past few
> months. I copied this from somewhere else (the wiki perhaps) and have
> tuned locally since then...
> 
> I created a script in /etc/backuppc/scripts/hostname.sh
> #!/bin/bash
> TERM=vt100
> /usr/bin/screen -d -m -S hosttunnel /usr/bin/ssh -o
> ServerAliveInterval=15 -o ServerAliveCountMax=10 -q -x -C -L
> 1516:127.0.0.1:873 -l root host
> /bin/sleep 20

I fail to see how running the 'ssh host sleep 20' inside screen would help.
It only seems to prevent an error from ssh from being noticed by BackupPC.
Are you really referring to a *multiple share* backup?

> [...]
> $Conf{DumpPreUserCmd}='/etc/backuppc/scripts/host.sh';

Wasn't that 'hostname.sh'? ;-)

> $Conf{DumpPostUserCmd}='/usr/bin/pkill -u backuppc -f host';

Hmm, how about 'screen -S hosttunnel -X quit'?

Regards,
Holger

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] RSYNC xfer failing backuppc version 3.2.0beta0

2009-04-13 Thread Holger Parplies
Hi,

Tim Hall wrote on 2009-04-13 10:30:19 -0700 [Re: [BackupPC-users] RSYNC xfer 
failing backuppc version?3.2.0beta0]:
> Hi Thanks for the Reply.  The xfer method "ftp" in the error
> confused me as well, from the CGI interface it is set to
> "rsync"  When I check the hosts config file there is NO line
> for xfer method if I manually add it, it seems to ignore it.

as Craig explained, the error message does *not* mean that BackupPC is
trying to use 'ftp' as XferMethod. You can't avoid the error by changing
the XferMethod, you need to install File::Listing (for Debian, that's in
libwww-perl - 'apt-get install libwww-perl').

> This is a new install so I thought I would try the beta version
> do you recommend I go back to the stable version?

Well, you've just found a bug that nobody would have noticed who happens
to have File::Listing installed. That's a good thing. If you want to help
test the beta version before it is released, I'm sure that will be
appreciated. If you prefer to have a working setup with as little hassle
as possible (not that I'd expect many problems with the beta version), use
the stable version. You can check the changelog to see if 3.2.0 has any
improvements you really need (such as XferMethod ftp), but most of us do
just fine with 3.x or even 2.x versions.

Regards,
Holger

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] What is it doing? How to see progess?

2009-04-13 Thread Holger Parplies
Hi,

Carl Wilhelm Soderstrom wrote on 2009-04-13 11:48:40 -0500 [Re: 
[BackupPC-users] What is it doing? How to see progess?]:
> In any case, you really do want compression in most cases.
> the only exception that I use, is when you're backing up the local machine.
> This way you can still recover the files even without backuppc. (It would be
> silly to need backuppc to recover the backuppc config files, wouldn't it?)

no, not really. You can recover compressed files from a backup with
BackupPC_zcat. Simple enough. So you could install BackupPC on a newly
installed machine, BackupPC_zcat the configuration into place and then
use BackupPC to recover whatever else you want to. Not that that is very
automatic, but you would need to pick out the config files and rename
them into place even with an uncompressed backup.

In either case, it is probably simpler to set up BackupPC just as far as
you need to to be able to restore, and then restore the configuration. I
would expect the complex parts of your configuration to be things like
a multitude of individual host config files, pre- and post-commands,
backup schedules, blackout periods, ssh tunnels to remote sites, special
arguments for remote backups and so on, not the restoration of localhost.
That, I would expect, should almost work out of the box (you obviously
need to supply the ShareName, which is simple enough to figure out, and
the XferMethod, which is not smb ;-).

You've got a good point for *the rest of /etc*, though. The BackupPC
configuration files won't be needed unless you have installed BackupPC
and want to use it, other files might be needed before you have the
opportunity of installing BackupPC (on a dedicated backup server, that's
probably the first thing you'll do, but not everyone has one).

Regards,
Holger

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


[BackupPC-users] Have global exclusions stay global?

2009-04-13 Thread oblivian
Hello list,

I currently back up some 30 servers and workstations, Linux, Macs and 
Windows clients using BackupPC and is so far very happy with it.
In general, I try to, as far as possible, to use the global exclusion 
variables to simplify the managing of the clients. Some clients require 
special variables to be set, like Windows Vista clients, due to the new 
naming conventions in Vista. The problem is, when I enter one single 
parameter to a client the variables isn't global anymore, but specific 
to that partiular client. I.e. on Vista clients I exclude /Documents and 
Settings and /Users/*/My* since  they are just symlinks to other 
directories, unnecessarily doubling the amount of data being backed up. 
I can't use those variables on Win XP clients of course.

BTW, I use rsync for all clients, wether it's Linux, Windows og OSX.

Is it a way to counter this? I.e. have the global variables staying 
global even though some settings are client specific?

Please advice and thanks,

Oblivian

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] RSYNC xfer failing backuppc version 3.2.0beta0

2009-04-13 Thread Tim Hall
Hi Thanks for the Reply.  The xfer method "ftp" in the error
confused me as well, from the CGI interface it is set to
"rsync"  When I check the hosts config file there is NO line
for xfer method if I manually add it, it seems to ignore it.
 
This is a new install so I thought I would try the beta version
do you recommend I go back to the stable version?
 
Thanks

>>> Craig Barratt  4/12/2009 10:57 PM >>>
Holger writes:

> two things are really confusing me:
> 
> 1.) The title claims that it is supposed to be an *rsync* xfer, the error
> message clearly indicates that *ftp* is attempted (and fails). Tim, could
> you please clarify which transfer method you are trying to use?

The code loads all the Xfer modules and the failure happens
when there is a module that isn't found.  The Xfer method
doesn't matter at that point.

> > Looks like you need to install the File::Listing module.
> >
> > Paul - the code should check for this and it should be in the
> > docs too.
> 
> Isn't the same true for Archive::Zip and XML::RSS? I'm not sure those two
> *can* be handled in a sane way, but I'll have a look in the next few days and
> try to provide a patch.

Yes, like other non-builtin modules, the ftp code should load this
module inside an eval() in the BEGIN block, and set a flag if it
fails.  In particular, this line:

use File::Listing qw/parse_dir/;

in lib/BackupPC/Xfer/ftp.pm should be moved inside the BEGIN block and
used with an eval.  It's not quite as simple as adding File::Listing to
this list:

my @FTPLibs = qw( Net::FTP Net::FTP::RetrHandle );

since it needs the "qw/parse_dir/".

Craig
--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] What is it doing? How to see progess?

2009-04-13 Thread Carl Wilhelm Soderstrom
On 04/08 10:41 , Boniforti Flavio wrote:
> As I'm lookin at the file, I discovered
> 
> $Conf{ArchiveComp} = 'gzip';
> $Conf{CompressLevel} = '3';
> 
> Should I put *both* of them respectively to 'none' and '0'?

no, just one or the other should suffice.
In any case, you really do want compression in most cases.
the only exception that I use, is when you're backing up the local machine.
This way you can still recover the files even without backuppc. (It would be
silly to need backuppc to recover the backuppc config files, wouldn't it?)

-- 
Carl Soderstrom
Systems Administrator
Real-Time Enterprises
www.real-time.com

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Next release

2009-04-13 Thread Craig Barratt
Obj writes:

> I am running version 3.2.0. can someone tell me why
> $Conf{BackupFilesExclude} is not working. It still backups up all Temp
> folders, and .mp3 files, etc. The backup method is SMB.

You sent me offlist your config file and XferLOG file.  Thanks.

The problem is that if you use wildcards (in particular "*") in
excludes, smbclient will only do the right thing if you use the
Windows-style directory separator '\' instead of '/'.

Therefore, instead of using something like this:

$Conf{BackupFilesExclude} = {
  '*' => [
'/Documents and Settings/*/Local Settings/Temporary Internet Files/',
'/Documents and Settings/*/Local Settings/Temp/',
'/Documents and Settings/*/NTUSER.DAT',
'/Documents and Settings/*/ntuser.dat.LOG',
  ],
};

you should use this:

$Conf{BackupFilesExclude} = {
  '*' => [
'\\Documents and Settings\\*\\Local Settings\\Temporary Internet Files',
'\\Documents and Settings\\*\\Local Settings\\Temp',
'\\Documents and Settings\\*\\NTUSER.DAT',
'\\Documents and Settings\\*\\ntuser.dat.LOG',
  ],
};

Also, you shouldn't include the trailing \ at the end of the path.
You should either use:

'\\FOO'

or

'\\FOO\\*'

The first will exclude \FOO and all its contents.  The latter will
include the directory \FOO but similarly exclude its contents.

You can experiment with what works or doesn't work by manually
running smbclient, eg:

setenv PASSWD XXX
/usr/bin/smbclient HOST\\SHARE -I IPADDR -U USERNAME -E -N -d 1 \
-c tarmode\ full -TcrX - \
\\Documents\ and\ Settings\\\*\\Local\ Settings\\Temporary\ 
Internet\ Files \
\\Documents\ and\ Settings\\\*\\Local\ Settings\\Temp \
\\Documents\ and\ Settings\\\*\\NTUSER.DAT \
\\Documents\ and\ Settings\\\*\\ntuser.dat.LOG \
| tar tvf -

Note the additional escaping for the shell.  (Also, the -I IPADDR is
optional depending on your configuration.)

Craig

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/