Showing posts with label nessus backup restore policy. Show all posts
Showing posts with label nessus backup restore policy. Show all posts

Monday, July 10, 2017

Tenable Nessus backup and restore

If you are using the Tenable Nessus product to run vulnerability assessments, you probably make a lot of tuning and configuring on policies
If you want to make sure that you do not lose all your work you have to backup a number of files.
A while ago I opened a case with Tenable support and was given a procedure to run
Here is what you need to do for backup :


  1. Backup /opt/nessus on existing system
That's easy

Now to restore, you cannot simply restore all files because Nessus will complain about license violation and will get nowhere

So here is what I did:

  1. go to Tenable portal and reset the Activation code
  2. install Nessus software from package
  3. Restore the following files from your backup (copy, do not move)

    in /opt/nessus/var/nessus, restore the following:

    /users folder
    policies.db
    Master.key
    Global.db                   --- could not find it on 6.8.* version
    global.db-wal
    global.db-shm

    in /opt/nessus/etc/nessus restore the following (these may be the only files in this directory):

    nessus-fetch.db
    nessusd.db
    nessusd.conf.imported
    nessusd.rules
  4. Run the following commands:

    # /opt/nessus/sbin/nessuscli fetch --register YOURACTIVATIONCODE
    # /opt/nessus/sbin/nessusd –R
    #service nessusd start
I had to reboot the system after running /opt/nessus/sbin/nessusd –R as it seemed to never end