Follow

How can I backup or restore AuthAnvil Two Factor Auth?

Rather than backing up the AuthAnvil database directly, AuthAnvil software includes a dedicated script to collect the data from SQL, as well as registry keys and encryption values.

An AuthAnvil backup file stores all of your user, token, and logging information in a format that can be easily imported back into the database.

Note: Backups 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.

Important: Access to your backups should be locked down. You will want your backups stored securely and their access controlled.

 

 

Backing Up

AuthAnvil v5.x and newer

  1. Open an elevated command prompt (Run as Administrator).
  2. Change directory to where you wish the backup file to be generated (i.e. "cd C:\Users\Administrator\Desktop").
  3. Run the aabackup.exe script as follows: 
    "C:\Program Files\Scorpion Software\AuthAnvil\AuthAnvilTools\aabackup.exe" <SQLServer\SQLInstance> <optional_filename.bup>
    (Default SQL server\instance name is "servername\AuthAnvil").
    A backup file (.bup) will be generated in the current running directory.

 

AuthAnvil v3.5 - v4.6

  1. Download the new aabackup utility from here. This version builds an AuthAnvil Two Factor Auth 5.0 compatible backup. 
  2. Open an elevated command prompt (Run as Administrator).
  3. Change directory to where you wish the backup file to be generated (i.e. "cd C:\Users\Administrator\Desktop").
  4. Run the aabackup.exe script as follows:
    "C:\Program Files\Scorpion Software\AuthAnvil\AuthAnvilTools\aabackup.exe" <SQLServer\SQLInstance> <optional_filename.bup>
    (Default SQL server\instance name is "servername\AuthAnvil").
  5. A backup file (.bup) will be generated in the current running directory.

AuthAnvil v3.0 and earlier

You can generate a database backup (bup) file by:

  1. Opening a command prompt and navigate to "C:\Program Files\Scorpion Software\AuthAnvil Database Management".
  2. Run the command
    aabackup.exe <SQLServer\SQLInstance>
    Note: where <SQLServer> is the name of your SQL Server and <SQLInstance> is the SQL server instance that AuthAnvil is running under (if applicable).

This will generate a .bup file in the "C:\Program Files\Scorpion Software\AuthAnvil Database Management" directory.

If you want to automate a backup task, find an example here.

 

Restoring

AuthAnvil v5.x and newer

  1. Open an elevated command prompt (Run as Administrator).
  2. Change directory to where the restore file is located.(i.e. "cd C:\Users\Administrator\Desktop\ filename.bup")
  3. Run the aarestore.exe script as follows:
    "C:\Program Files\Scorpion Software\AuthAnvil\AuthAnvilTools\aarestore.exe" <SQLServer\SQLInstance> <filename.bup> 
    Note: (Default SQL server\instance name is "servername\AuthAnvil").
    A backup file (.bup) will be generated in the current running directory.

 

 

Questions?

If you have any questions or need some help, we would be happy to assist. Open a case at help.scorpionsoft.com or send an email to support@scorpionsoft.com.

Was this article helpful?
1 out of 1 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk