Skip to main content
OnCommand Workflow Automation 5.1

Restore (full) WFA database using the CLI


You can do a full restore of the OnCommand Workflow Automation (WFA) database by using the command-line interface (CLI). In a full restore, you can restore the WFA database, WFA configuration, and key.

  • You must have created a backup of the WFA database.

  • You must have admin or architect credentials.

  1. At the shell prompt, navigate to the following directory on the WFA server: WFA_install_location\WFA\bin

    wfa_install_location is the WFA installation directory.

  2. Perform the restore operation:

    wfa.cmd --restore --full --user=user_name [--password=password] [--location=path] --restart

    • user_name is the user name of the admin or architect user.

    • password is the password of the user.

      If you have not provided the password, you must enter the password when prompted.

    • path is the complete directory path to the restore file.

  3. Verify that the restore operation is successful and WFA is accessible.