Today, were going to take a look at the proper care and feeding of AuthAnvil servers. Once your server is properly configured, hardened and authenticating users, the most important part of AuthAnvil server maintenance is making sure that you take regular backups of the AuthAnvil Database. AuthAnvil includes two utilities for managing backups, aabackup.exe and aarestore.exe. They are command line tools, making them easy to script. You can find instructions on how to do so in the AuthAnvil Install Guide. In fact, weve even put together a script that will schedule backups for you. You can find it on the Diagnostic Tools page in the Maintenance Tools section.
Todays best practice, however, is not about making backups, its about what you do with your backups afterwards. An AuthAnvil bup file stores all of your user, token, and logging information in a format that can be easily imported back into the database. Take note that bups also include all of your encryption keys, and the file itself is not protected in any way, so it can easily be accessed and modified.
To make sure that your backups stay uncompromised, encrypt or otherwise protect them and keep them in a safe place; somewhere that you can audit access to. Dont forget, one backup copy is never enough, and test your restores from time to time. Its easy to import bups to a test server using the AuthAnvil 3.5 installer or aarestore.exe.
If you have any questions or need some help, we would be happy to assist. Open a case at kaseya.zendesk.com .