On Friday 11 August 2006 09:57, Etaoin Shrdlu wrote:
> I'm probably doing something wrong here...I want to backup a windows
> share (G$), but excluding directories "System Volume Information"
> and "RECYCLER". Here is my config for the host:
>
> $Conf{XferMethod} = 'smb';
> $Conf{SmbShareName} = 'G$';
> $Conf{SmbShareUserName} = '****';
> $Conf{SmbSharePasswd} = '****';
> #$Conf{BackupFilesOnly} = ['/'];
> $Conf{BackupFilesExclude} = ['/System Volume Information',
> '/RECYCLER'];

Try something like the following.

$Conf{SmbShareName} = 'D$';

$Conf{BackupFilesExclude} = {
        'D$' => ['\System Volume Information']
        };


Tony

>
> However, when doing full backups the log is as follows (incrementals
> work fine):
>
> Running: /usr/bin/smbclient \\\\wot\\G\$ -U dst\\backupper -E -N -d 1
> -c tarmode\ full -TcrX - /System\ Volume\ Information /RECYCLER
> Xfer PIDs are now 24652,24651
> tar_re_search set
> [ skipped 1418 lines ]
> NT_STATUS_ACCESS_DENIED listing \System Volume Information\*
> [ skipped 2 lines ]
> write_data: write failure. Error = Connection reset by peer
> write_socket: Error writing 39 bytes to socket 5: ERRNO = Connection
> reset by peer
> Error writing 39 bytes to client. -1 (Connection reset by peer)
> [ skipped 59 lines ]
> tarExtract: Done: 0 errors, 1381 filesExist, 1285193328 sizeExist,
> 1285193328 sizeExistComp, 1381 filesTotal, 1285193328 sizeTotal
>
>
> I don't understand if something is wrong or not. Browsing the backup,
> it seems that all files are there, including the directories I wanted
> to exclude. I'm running BackupPC 2.1.2.
>
> Thanks
>
> -----------------------------------------------------------------------
>-- Using Tomcat but need to do more? Need to support web services,
> security? Get stuff done quickly with pre-integrated technology to make
> your job easier Download IBM WebSphere Application Server v.1.0.1 based
> on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=12164
>2 _______________________________________________
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/

-- 


Tony Molloy.

Dept. of Comp. Sci.
University of Limerick

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to