Hi, dan wrote on 10.10.2007 at 09:46:23 [Re: [BackupPC-users] BackupPC: Antivirus suggestion.]: > im actually using backuppc with clamav and it in fact does scan withing zip > and gzip files.
that's quite amazing, presuming you mean what you seem to be implying rather than what you write. Actually, what *do* you write? What does "using BackupPC with clamav" mean? You implemented what was suggested? Read again: > On 10/10/07, Adam Goryachev <[EMAIL PROTECTED]> wrote: > > [...] > > I realise that clamscan can decompress zip/bzip2 etc files, Like you said. > > but I doubt that it would understand the backuppc format files. Because they are not plain gzip/bzip2 files. > > As I understand, they are not a standard gzip of bzip format, there is > > additional data pre-pended to the file. I'm not quite sure where it is, but I'm sure file(1) for one does *not* recognize the files for what they are. As far as I remember, a header meant to make gzip/bzip2 files recognizable is missing in the BackupPC format. Any file in cpool is known to be compressed anyway, and in the pc/ tree there is a corresponding backups file with a 'compression level' column. A redundant header in each compressed file would be a waste of space, would it not? As two side notes: - What do people usually backup? If it's the entire file system, then scanning files makes sense. But what if it's only data? My browser caches are the first thing I tend to exclude from backups. While uniting the functions 'backup' and 'virus scan' may save disk accesses, it might prove to make configuration awkward. Should you backup data you don't really want in your backup so it gets scanned? Do you have to keep files you for some reason might not want to get scanned out of your backup? - Do you put files found to be contaminated into the pool (in order to save yourself the effort of re-scanning them)? How do you recognize them? pool, cpool, vpool? :) Regards, Holger ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ BackupPC-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
