000-221 · Question #160
An administrator is attempting to recover the sendmail.cf file from the weekly mksysb backup. The following output confirms that the file does exist within the mksysb backup: Why would the following…
The correct answer is D. The file to restore must be correctly delimited relative to the backup. When restoring files from an mksysb backup via smitty, the file path must be specified exactly as it is stored in the backup archive, using the correct relative path format.
Question
An administrator is attempting to recover the sendmail.cf file from the weekly mksysb backup. The following output confirms that the file does exist within the mksysb backup:
Why would the following smitty panel fail to find and restore the required file?
Exhibits
Options
- AThe target directory must match the source directory
- B/etc/mail/sendmail.cf is a symbolic link to /etc/sendmail.cf
- CExtended attributes should not be restored for a symbolic link
- DThe file to restore must be correctly delimited relative to the backup
How the community answered
(22 responses)- A9% (2)
- B5% (1)
- C5% (1)
- D82% (18)
Why each option
When restoring files from an mksysb backup via smitty, the file path must be specified exactly as it is stored in the backup archive, using the correct relative path format.
The target restore directory does not need to match the source directory; smitty allows specifying an alternate destination path during the restore.
The symbolic link nature of sendmail.cf is unrelated to whether smitty can locate the file within the mksysb archive.
Extended attribute handling during a restore is a separate concern and does not affect the ability to find a file in the backup.
mksysb archives store files using relative paths without a leading slash. When specifying a file to restore in the smitty panel, the path delimiter must match exactly how the file is recorded in the archive - omitting the leading forward slash is a common requirement. An incorrectly formatted path causes smitty to fail to locate the file even though it exists in the backup.
Concept tested: AIX mksysb file restore relative path specification
Source: https://www.ibm.com/docs/en/aix/7.3?topic=b-mksysb
Topics
Community Discussion
No community discussion yet for this question.

