Spending a long time to validate the hostname when proceeding with the restore
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):
Steps to Reproduce:
1. Create a backup
2. Restore the same
When the conf file is bigger, the time to validate the hostname increase a lot
Be faster (maybe an external file just with the hostname will be enough)
#3 Updated by Waldirio Pinheiro about 2 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman_maintain|86f64a144838ef7f7258e2937e619236f317cf9d.