Avamar: How to Use Goav Client Bare Metal Recovery Menu
Summary: This article explains how to use the 'goav client bmr' command set.
Instructions
chmod a+x goav
Client Bare Metal Recovery (BMR) Menu:
Usage: goav client bmr [command] Available Commands: backups List BMR backups for the client(s). details Show BMR backup metadata for the client(s). download-logs Download BMR Offline Restore Logs for the client. Label number is required.
list List Avamar clients.
logs Display BMR logs for the client(s). Flags: -h, --help help for bmr Global Flags: -d, --debug debug output -f, --force Ignore Configuration -n, --noheader Do not display header Use "goav client bmr [command] --help" for more information about a command.
Commands Explained:
-
List Avamar clients with Windows VSS Plug-in installed:
./goav client bmr list --name <Client Name> --domain <Avamar Domain>
For example, the below command lists all the clients with 'sql' in its name in /clients Domain:
./goav client bmr list --name sql --domain /clients
./goav client bmr list --name <client name> --recursive
-
List BMR backups for one or more clients:
./goav client bmr backups --name <Client Name> --domain <Avamar Domain>
To list BMR backups for one or more clients, matching <Client Name> in all Avamar Domains use --recursive flag:
./goav client bmr backups --name <Client Name> --recursive
./goav client bmr backups --cid <Client CID>
For example, the below command lists the latest BMR backup for each client (containing 'sql' in the name) in /clients Domain:
./goav client bmr backups --name sql --domain /clients --latest
-
Show BMR details for one or more clients:
./goav client bmr details --name <Client Name> --domain <Avamar Domain> --labelnum <Label Number>
If no Backup Label Number is specified (no --labelnum), client configuration (BMR backup metadata) for the latest VSS backup is shown.
./goav client bmr details --name sql --domain /clients
For example, the below command saves the output to a .csv formatted file:
./goav client bmr details --name sql --domain /clients --format=csv
- Display BMR logs for the client(s):
List Bare Metal Recovery Wizard "Offline Restore Logs" stored on Avamar Server and available for restore.
./goav client bmr logs --name <Client Name> --domain <Avamar Domain>
To list Bare Metal Recovery Wizard "Offline Restore Logs" for one or more clients, matching <Client Name> in all Avamar Domains use --recursive flag:
./goav client bmr logs --name <Client Name> --recursive
./goav client bmr logs --name sql --domain /clients
- Download BMR Offline Restore Logs for the client. Label number is required.
Restore Bare Metal Recovery Wizard "Offline Restore Logs" to /home/admin/goavlogs/BMR-<clientname>-<Label number> folder on Avamar Server:
./goav client bmr download-logs --name <Client Name> --domain <Avamar Domain> --labelnum <Label Number>
To restore Bare Metal Recovery Wizard "Offline Restore Logs" to Windows client machine, use --target <path_to_windows_client_on Avamar>.
For example, the below command restores Bare Metal Recovery Wizard "Offline Restore Logs" (label number "12") for "sql.domain.com" client to Windows client /clients/sql-1.domain.com
./goav client bmr download-logs --name sql.domain.com --domain /clients --labelnum 12 --target sql-1.domain.com
By default, the logs will be restored to C:/BMR-<clientname>-<Label number> folder on Windows client.
To restore the logs to a specific folder on Windows client, use --folder <folder_path>. For example, --folder c:/Restore
To show BMR log restore job status for the specified client, re-run the previous command with --status flag:
For example, the below command shows Bare Metal Recovery Wizard "Offline Restore Logs" restore job status for target Windows client: /clients/sql-1.domain.com
./goav client bmr download-logs --name sql.domain.com --domain /clients --labelnum 12 --target sql-1.domain.com --status