This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# super user privileges will be needed for this backup | |
# | |
# Bear in mind the tarball will be created in the directory from which the command is run. | |
# | |
# If Nessus is installed somewhere other than '/opt/nessus' (the default location), adapt | |
# the command directories to reflect your environment | |
# | |
# I set the command up to exclude the scan results in the backup. The backup will | |
# restore users, scans and everything except the scan history. | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Demo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Demo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# vim: set ts=2 sw=2 ai et: | |
require 'rubygems' # kludge for older systems, such as rhel6 | |
require 'gh' | |
require 'erb' | |
require 'net/smtp' | |
require 'socket' | |
stack = GH::Stack.new do |