BackupPC-users

Re: [BackupPC-users] Windows 2003 via smb copy only directories

2008-07-03 09:53:50
Subject: Re: [BackupPC-users] Windows 2003 via smb copy only directories
From: Neimar Volpini <neimar AT estobel.com DOT br>
To: Craig Barratt <cbarratt AT users.sourceforge DOT net>
Date: Thu, 03 Jul 2008 10:54:57 -0300
Craig, its an incremental backup however the files weren't copied in any 
previous backup. When I browse the backups via CGI no files are shown 
just the empty directories. Also in the log we can see that the 
directories were created - if they existed in previous backups they 
wouldn't be created again ...

Well, I just removed all the backups for this host and tried again, for 
my surprise it works ... very strange because I didn't change anything.

Now I'm facing another error ...  I added more directories to be copied 
and got a different smb error. I'll start another thread for it.

Thanks.

*Neimar Volpini*


Craig Barratt escreveu:
> Neimar writes:
>
>   
>> I'm trying to backup a windows 2003 share via smb but only the directory 
>> structure is being copied, no files at all.
>>
>> My BackupPC version is:  3.1.0
>> My smb version is: 3.0.28a-1.fc7 (on Fedora 7)
>>
>> My SmbClientFullCmd:
>> $smbClientPath //$host/$shareName $I_option -U $userName -E -N -d 1 -c 
>> tarmode\ full -Tc$X_option - $fileList
>>
>> I can browse and copy the share directories and files using smbclient 
>> directly from command line, so I'm almost sure that is not a permission 
>> problem.
>>
>> No errors are reported and the transfer log shows:
>>
>> ------------------------------------------------
>> Running: /usr/bin/smbclient //MyServer/docs -U administrator -E -N -d 1 -c 
>> tarmode\ full -TcN /data/backup/BackupPC/pc/MyServer/timeStamp.level0 - 
>> \\shareSubDir
>> incr backup started back to 2008-07-02 08:07:32  (backup #0) for share docs
>> Xfer PIDs are now 5144,5143
>> Getting files newer than Wed Jul  2 08:07:32 2008
>> Domain=[MYDOMAIN] OS=[Windows Server 2003 3790 Service Pack 2] 
>> Server=[Windows Server 2003 5.2]
>> tarmode is now full, system, hidden, noreset, verbose
>> tar: dumped 2 files and directories
>> Total bytes written: 0
>>   create d 755       0/0           0 shareSubDir
>>   create d 755       0/0           0 shareSubDir/Presentation
>> tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 
>> filesTotal, 0 sizeTotal
>> ------------------------------------------------
>>     
>
> This is an incremental backup (as you can see from the -TcN tar
> options) and none of the files have changed.  So just the directories
> get created.
>
> When you view the backup you will see all the files since that
> view is merged with the previous full.
>
> Craig
>   

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
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/