Migrate FileAudit server to another machine
When you need to move FileAudit from one server to another, follow this procedure to ensure a smooth migration. This guide covers installing FileAudit on the new server, transferring configuration files, handling database settings, and cleaning up the old server.
You can only migrate FileAudit to a server running the same or a newer Windows version.
If your goal is to upgrade FileAudit, see Upgrade procedure Guide instead.
Ensure you have the necessary permissions on both servers.
Useful resources
Before you begin, keep the following requirements in mind:
If FileAudit audits the server itself (it means local paths), you must use the same machine name for the new server. After completing the steps below, you will need to reconfigure the audit of all audited paths on the new server in the Windows paths view.
If FileAudit does not audit the local server, the name of the new server does not matter.
Make sure you use the same installation path for FileAudit on the new server.
Stop the FileAudit service on the old server.
If you are using the default SQLite database included with FileAudit, make a copy of the database file:
C:\ProgramData\ISDecisions\FileAudit\Database\FileAudit.dbMake a copy of the configuration file:
C:\ProgramData\ISDecisions\FileAudit\Default.xmlMake a copy of your scheduled report and scheduled operation task files:
C:\ProgramData\ISDecisions\Tasks\FileAudit task for [your scheduled report name].xmland
C:\ProgramData\ISDecisions\Tasks\FileAudit[Maintenance | Cleannig | Archiving].xmlIn the Microsoft Task Scheduler, export each scheduled task related to FileAudit (they are named
FileAudit...).⚠️ Important
Keep the original task name when exporting.
Run the FileAudit installer, using the same installation path as the old server. See Installation Guide
Enter your license key. See Manage the license Guide
Stop the FileAudit service on the new server.
Transfer the configuration and data files from the old server to the new one, always preserving the original paths:
Copy the database file if you use SQLite database.
Copy the
Default.xmlconfiguration file.And finally copy your scheduled report and scheduled operation task files to their respective directories on the new server.
In the Microsoft Task Scheduler, import each scheduled task you exported earlier. Keep the original task name when importing.
Start the FileAudit service on the new server.
If you audit local paths on the new server, reconfigure them in the Windows paths view. See Check an audited path's configuration Guide.
If using a custom database (not SQLite database), update the Database section in Server Properties. See Define a production database Guide
If you audit cloud storage providers, restart the connection procedure See Connect a cloud storage provider Guide.