Back Up Logs - AFS - Technical Notes

AFS Backup and Restore

Product
AFS
AFS_Version
7.11
Category
Technical Notes
language
English
audience
public

It is possible to retrieve logs from an AFS component.

This can be useful for debugging. For instance, if you are facing issues with an AFS component, you can use Logs backup scenario to retrieve the logs related to this component and provide them to our Support.

Example

To back up the all AFS components debug logs, run the following command:

As root user

afs_backup_tool --log debug --action backup --data-config data-config-logs-only.yml --hosts-config hosts-config.yml

The log files are stored in the default backup directory defined in the hosts-config.yml file.