https://login.veeam.com/en/oauth?client_id=nXojRrypJ8&redirect_uri=https%3A%2F%2Fwww.veeam.com%2Fservices%2Fauthentication%2Fredirect_url&response_type=code&scope=profile&state=eyJmaW5hbFJlZGlyZWN0TG9jYXRpb24iOiJodHRwczovL3d3dy52ZWVhbS5jb20va2I0MDEzIiwiaGFzaCI6IjJkNWJmMGI4LWI5YjQtNDc2Mi1hMWE2LWI5OGJhNDk0NjBkNSJ9
1-800-691-1991 | 9am - 8pm ET
EN

How to manually collect recovery media logs for Veeam Agent for Linux

Challenge

You cannot collect recovery media logs for Veeam Agent for Linux from the repository. In such case, you still can collect recovery media logs manually from the Veeam Agent computer.

Cause

If the bare-metal restore is not completed, the recovery media does not export logs to the repository. As a result, the logs must be gathered from the recovery media manually.

Solution

  1. Boot the recovery media.
  2. Configure the network settings.
  3. In the recovery media menu, select Switch to command line.
  4. Run the cd /tmp command.
  5. Run the veeamconfig grablogs (for Veeam Recovery Media version 4.0 or later) or veeamconfig config grablogs (for Veeam Recovery Media versions up to 3.0.2) command to create the veeam_logs_<date>_<time>.tar.gz archive in /tmp directory.
  6. Run the tar -zcvf VeeamRecoveryMediaLogs.tar.gz /var/log command.
  7. Run the /etc/init.d/sshd start command.
  8. Run the passwd command and enter a temporary password for accessing the recovery media.
  9. Run the ip a command to determine the recovery media ip address.
  10. Connect to the recovery media from another machine using the SCP protocol through a program such as WinSCP or FileZilla. Use the root account with password from step 8 and the information gathered from steps 5 (/tmp/veeam_logs_<date>_<time>.tar.gz) and 6 (/tmp/VeeamRecoveryMediaLogs.tar.gz). (The log bundle will be in /tmp).

More information

The recovery media is not persistent across reboots. Rebooting resets all the settings and changes made in the steps above.  

The recovery media version can be determined by running the veeamconfig -v command from the shell after step 3.

If the restore process is completed (regardless of the result), Recovery Media logs are automatically exported to the location of backup files.

KB ID:
4013
Product:
Veeam Agent for Linux
Published:
2020-09-16
Last Modified:
2020-09-16
Please rate how helpful this article was to you:
5 out of 5 based on 1 ratings
Thank you for helping us improve!
An error occurred during voting. Please try again later.

Couldn't find what you were looking for?

Below you can submit an idea for a new knowledge base article.
Report a typo on this page:

Please select a spelling error or a typo on this page with your mouse and press CTRL + Enter to report this mistake to us. Thank you!

Spelling error in text

Knowledge base content request
By submitting, you agree that your personal data will be managed by Veeam in accordance with the Privacy Policy.
Your report was sent to the responsible team. Our representative will contact you by email you provided.
We're working on it please try again later