Article ID: 113335, created on Feb 20, 2012, last review on May 5, 2014

  • Applies to:
  • Plesk 10.x for Linux
  • Plesk 9.x for Linux/Unix

Release notes

The backup_drweb script and the cron allow you to flush the Parallels Premium Antivirus bases into /var/drweb/update-backups and keep them for a specified number of days.
This allows you to rollback the bases in case they are broken, which can have an impact on the Parallels Premium Antivirus engine. 
To arrange for the bases to be saved for a week, do the following:

1. Put the backup_drweb script (attached) into /usr/local/psa/admin/sbin/.
2. Add the script as a cron job to schedule it to be executed daily.
To do this, create the file /etc/cron.daily/backup_drweb with the following content:

/usr/local/psa/admin/sbin/backup_drweb --max-age 7
3. You can adjust the period by managing the --max-age option.

To rollback the bases, do the following:

1. Put the restore_drweb script (attached) into /usr/local/psa/admin/sbin/.
2. Remove all files from /var/drweb/bases/* and /var/drweb/updates/*.
3. Run the script.


dd0611b6086474193d9bf78e2b293040 a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 6ef0db7f1685482449634a455d77d3f4 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF