It would be best to install version 8.2 on the new server and create a new database. If you would like to keep the old database for history audit reports, then you can upgrade it manually using upgrade scripts from 5.1 to 8.2 and convert it an archive database. You can migrate any custom reports, alerts, settings from the old database to the new database by using the AA Database Migration tool.
Below is a solution article regarding converting an old database into an archive database: support.quest.com/.../205941
It would be best to install version 8.2 on the new server and create a new database. If you would like to keep the old database for history audit reports, then you can upgrade it manually using upgrade scripts from 5.1 to 8.2 and convert it an archive database. You can migrate any custom reports, alerts, settings from the old database to the new database by using the AA Database Migration tool.
Below is a solution article regarding converting an old database into an archive database: support.quest.com/.../205941