Hi,

Am 21.08.2014 um 15:44 schrieb Carl Wilhelm Soderstrom:
> On 08/21 03:15 , Christian Völker wrote:
>> hiberfil.sys is not reconned as "exclude" as it tries to backup
anyways. So what syntax is to be used correctly?
>
> Try this:
> '/hiberfil.sys',
>
> Seems to work for me, tho I'm using rsync instead of smbtar. If that
doesn't
> work, try '\hiberfil.sys', instead.
>
Does not work. I tried to perform a backup from command line as follows:

smbclient \\\\laptop\\C "xxxxxx" -U backuppc  -E -d 2 -c tarmode\ full
-TcrX - "\Apps" >/test.tar

Backs up all files in C:\Apps
Replace it with "\\Apps" or "/Apps" or just /Apps --> all the same. All
files will be backed up.

IT works when I add an asteriks as follows:
smbclient \\\\laptop\\C "xxxxxxx" -U backuppc  -E -d 2 -c tarmode\ full
-TcrX - "\Apps\*" "\\\$RECY*"  "\Drivers*" "\Garmin*"  >/test.tar

In this case, the exclude works. It does not copy /Apps, $RECYCLER and
so on.

But for a single file it does not seem to work:

smbclient \\\\laptop\\C "xxxxxxx" -U backuppc  -E -d 2 -c tarmode\ full
-TcrX - "\Apps\*" "\\\$RECY*"  "\Drivers*" "\Garmin*"  "\hiberfil.sys" 
>/test.tar
No matter how I write the exclude:
\h*
h*
\h.*
/hiberfil.sys
...

In any case it tries to backup the file- and aborts.

@Michael:
As you see from above it is not related to BackupPC expecting something
from smbclient. Even smbclient does not work as expected. I tested
samba3x-client-3.6.6-0.140.el5_10
 on CentOS 5 as well with samba-client-3.6.9-167.el6_5.x86_64 on CentOS 6.

Any idea, how I can exclude a single file?

Greetings

Christian













------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
BackupPC-users mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to