On Tuesday 15 October 2002 09:20, Steve Bertrand wrote: >I have always had problems backing up windows shares with amanda, > so I just continued to use Veritas for them, until I found an > easy way to do it. If you mount the windows share into the Unix > file system, it seems to be far more reliable, as well as faster > and easier to do: > ># mount -t smbfs //winserver/share /mnt/mntpoint > >then add an entry for the mntpoint in amanda's disklist entry. > >Hope this makes someones life easier! > >Steve Bertrand
The only problem with this solution is that samba doesn't translate one of the files time marks, the C-Time I think it is, the net result being both an un-neccessary backup of nearly everything even when its doing an incremental, and logs plumb full of 'file changed as we read it' messages, not because it did, but because this ctime when queried again, isn't the same as it was the first time. As windows doesn't maintain this particular bit of info about a file, then samba can't either. In this case, an rsync'd local mirror of that mount is a much better proposition if you have the disk space to do so locally. rsync only updates the local file if the remote file has actually been changed, even if its ony a one byte change. And it doesn't do this with a total overwrite, but as a binary patch util, so very little data actually flows over the network to do this one byte change. -- Cheers, Gene AMD K6-III@500mhz 320M Athlon1600XP@1400mhz 512M 99.18% setiathome rank, not too shabby for a WV hillbilly
