...
As a bonus, you now know how to backup and restore your Open-AudIT server going forward. Take a backup of the database and copy the mentioned directories somewhere safe. If the worst case happens, you can spin up a new server and restore the database and directories - easy
Migrate any licenses
On your original Open-AudIT server, open the file /usr/local/omk/conf/opLicense.json
Copy the contents of the key "Open-AudIT Enterprise" and/or "Open-AudIT Professional" (and Open-AudIT Collector is licensed).
On your new server, in the GUI go to menu → Licenses → Manage Licenses and paste the contents of the JSON key. NOTE - Only the contents.
IE - Your file will contain this. Only copy the red text, not including the " quotes.
"Open-AudIT Enterprise" : "53616c7465645f5f3a52599dcec64e1c6db004a02d8bf07783dc8a72bd58db49b29504272a92006075b4fdeaeb7394a4529183aedc32c0212345678985ea78308010cf73a35530c597bb49df3f9bf8ffab54893251724257d1ffc8d7fee8f38f7a45637488bff6f74b2e479673e8aa187acb7ae2860f7705a7fbe4e0e636e3cf9f4f05023c519ae8d51177dcf6edb5c6d6a5508c2dc151096bfc7054ee09eae45d7e56be954a14f5ca374d330f3179256f551a1c972f18e77934aafeae0b19081d929b3fd91296c549d5723dd01b7a03cb758b228cd551f69838f63d4c9123456789bc9e81b634daf8e40d0fd4bf11da3b9794cf91450b48c8185655fd0a431fe28d9fd5d7d40c72c27a1",
So you would copy and paste this into the Open-AudIT GUI.
53616c7465645f5f3a52599dcec64e1c6db004a02d8bf07783dc8a72bd58db49b29504272a92006075b4fdeaeb7394a4529183aedc32c0212345678985ea78308010cf73a35530c597bb49df3f9bf8ffab54893251724257d1ffc8d7fee8f38f7a45637488bff6f74b2e479673e8aa187acb7ae2860f7705a7fbe4e0e636e3cf9f4f05023c519ae8d51177dcf6edb5c6d6a5508c2dc151096bfc7054ee09eae45d7e56be954a14f5ca374d330f3179256f551a1c972f18e77934aafeae0b19081d929b3fd91296c549d5723dd01b7a03cb758b228cd551f69838f63d4c9123456789bc9e81b634daf8e40d0fd4bf11da3b9794cf91450b48c8185655fd0a431fe28d9fd5d7d40c72c27a1
Example included response
Code Block |
---|
"included": { "audit_log": [ { "debug": "", "device_id": "332", "devices.name": "heimdall", "id": "185", "ip": "127.000.000.001", "timestamp": "2023-06-26 13:08:23", "type": "audit", "username": "", "version": "4.4.2", "wmi_fails": "" }, { "debug": "", "device_id": "332", "devices.name": "heimdall", "id": "186", "ip": "127.000.000.001", "timestamp": "2023-06-26 14:58:38", "type": "audit", "username": "", "version": "4.4.2", "wmi_fails": "" } ], "bios": [ { "asset_tag": "", "current": "y", "date": "12/12/2018", "device_id": "332", "first_seen": "2023-06-26 13:08:23", "id": "31", "last_seen": "2023-10-02 20:07:51", "manufacturer": "Phoenix Technologies LTD", "model": "Phoenix BIOS - Firmware Rev. 6.00", "name": "Phoenix BIOS - Firmware Rev. 6.00", "revision": "4.6", "serial": "VMware-56 4d bd 9b 23 af 49 f8-c7 b4 bc 06 39 fd 99 62", "smversion": "2.7", "version": "6.00" } ] } |
...