----- Original Message -----
Sent: 7/29/2011 3:53:05 PM
Subject: Re: [BackupPC-users] Backing up of Windows Client Machine
Le 29/07/2011 10:51, jiahwei a écrit :
> Hi Bowie,
>
> this is my config for GISNB350
>
> $Conf{XferMethod} = 'smb';
> $Conf{SmbShareName} = [
> 'C$'
> ];
> $Conf{BackupFilesOnly} = {
> '*' => [
> 'C$'
> ]
> };
> $Conf{SmbShareUserName} = 'GISNB350\\administrator';
> $Conf{SmbSharePasswd} = 'Toedwy-L3';
> $Conf{SmbClientFullCmd} = '$smbClientPath \\\\$host\\$shareName $I_option -U $userName -E -d 1 -c tarmode\\ full -Tc$X_option - $fileList';
> $Conf{SmbClientIncrCmd} = '$smbClientPath \\\\$host\\$shareName $I_option -U $userName -E -d 1 -c tarmode\\ full -TcN$X_option $timeStampFile - $fileList';
> $Conf{SmbClientRestoreCmd} = '$smbClientPath \\\\$host\\$shareName $I_option -U $userName -E -d 1 -c tarmode\\ full -Tx -';
> ~
> ~
>
>
>
>
> Hi all,
>
> I had already removed the -N but it's stil not working.
>
> I am able to list the content of my C$. My credentials are correct
>
>
Hi Jiahwei,
I wonder if the line $Conf{BackupFilesOnly} = { '*' => [ 'C$' ] is
correct. I think it is C$ first, then '/some_folder'.
If you want to backup all C$, I think the preceeding line is sufficient
$Conf{SmbShareName} = [ 'C$' ];
Personnally, I want to backup only some folders inside F$, so I use the
second option with, in my case (in the web interface) :
BackupFilesOnly : F$, then add : /My_Docs (to backup only the folder
My_Docs).
It is working for me on a win 7 64 bits PC.
Hopes this helps.
Alain
--
==========================================================
Alain Péan - LPP/CNRS
Administrateur Système/Réseau
Laboratoire de Physique des Plasmas - UMR 7648
Observatoire de Saint-Maur
4, av de Neptune, Bat. A
94100 Saint-Maur des Fossés
Tel : 01-45-11-42-39 - Fax : 01-48-89-44-33
==========================================================
------------------------------------------------------------------------------
Got Input? Slashdot Needs You.
Take our quick survey online. Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
Alain
1. The samba wiki advises the use of a later version of samba to support Win7. What samba version are you on?
2. The same wiki advises a couple of registry patches to the Win7 machine. Did you find them necessary?
Larry
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/