Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Anti-virus scanning of backed up files within unRAID

Featured Replies

I would like to be able to schedule a regular AV scan of a sub-set of my files.

 

I imagine that ClamAV is the obvious choice for a scanner, but having found these two pages:

 

http://wiki.clamav.net/bin/view/Main/SlackwareInstall

 

http://www.linuxpackages.net/pkg_details.php?id=1784 ,

 

 

it is clear that I will need advice from someone more experienced with unRAID in order to get this software installed and running.

 

 

Is there anyone in the community who can advise me which package to choose and how to install it?

 

 

Had a really quick look at this while in work.

 

Used the code below to download and install ClamAV

 

wget --directory-prefix=/boot/packages/ http://www.software-mirror.com/linuxpackages/Slackware/Slackware-12.2/martijn/clamav-0.96.1-i486-1McD.tgz

installpkg /boot/packages/clamav-0.96.1-i486-1McD.tgz

 

Update your database with

 

/usr/bin/freshclam

 

Then run a scan with

 

/usr/bin/clamscan -r -v /mnt/user

 

-r for recursive sub directories

-v verbose

/mnt/user directory to scan (if you don't define a dir it will just scan /usr/bin/)

 

And that's as far as I got. Guess we'll have to rtfm to get it auto scanning new files  :D

  • Author

Thank you for both your replies.

 

I should have said that I am using 4.7 - Does that make any difference?

Thanks for the link BRiT. I uninstalled version 0.96 and used a Slackware 13.0 build to get 0.97

 

This works on my 4.7 build

 

wget --directory-prefix=/boot/packages/http://connie.slackware.com/~alien/slackbuilds/clamav/pkg/13.0/clamav-0.97-i486-1alien.tgz

installpkg /boot/packages/clamav-0.97-i486-1alien.tgz

 

All other commands work as my post above. Seems a touch faster than 0.96, just running a scan now to see.

 

EDIT: Scan finished in ~14m30s for 2.8gig of mixed files on 0.96, same files on 0.97 took 14m2s

 

Its possible to run freshclam as a daemon so it auto updates the virus database

 

/usr/bin/freshclam -daemon -c4

 

Where -c4 will search for an update 4 times in a 24hr period. Set to anything from 1 - 24.

 

From what I've read realtime scanning of new files is not possible with vanilla ClamAV. That feature is offered by third party programs. A reasonable solution would be to set a Cron task to run on your backup folder every evening or every hour.............depends how much data you have to scan.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.