Actions
Bug #30809
closedSpending a long time to validate the hostname when proceeding with the restore
Difficulty:
easy
Triaged:
No
Bugzilla link:
Description
Description of problem:
When executing the process "foreman-maintain restore <path to the files>" we can see a long time to validate the hostname.
Below the process used to:
---
Validate hostname is the same as backup:
28185 root 20 0 124740 2528 1072 S 10.8 0.0 0:15.40 tar zxf /backup/satellite-backup-2019-08-05-09-41-02/config_files.tar.gz etc/httpd/conf/httpd.conf --to-stdout
---
Version-Release number of selected component (if applicable):
6.5.z
How reproducible:
100%
Steps to Reproduce:
1. Create a backup
2. Restore the same
3.
Actual results:
When the conf file is bigger, the time to validate the hostname increase a lot
Expected results:
Be faster (maybe an external file just with the hostname will be enough)
Additional info:
Actions