nerdexam
IBM

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.

Troubleshooting and Problem Determination

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

000-221 question #160 exhibit 1
000-221 question #160 exhibit 2

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)
  • A
    9% (2)
  • B
    5% (1)
  • C
    5% (1)
  • D
    82% (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.

AThe target directory must match the source directory

The target restore directory does not need to match the source directory; smitty allows specifying an alternate destination path during the restore.

B/etc/mail/sendmail.cf is a symbolic link to /etc/sendmail.cf

The symbolic link nature of sendmail.cf is unrelated to whether smitty can locate the file within the mksysb archive.

CExtended attributes should not be restored for a symbolic link

Extended attribute handling during a restore is a separate concern and does not affect the ability to find a file in the backup.

DThe file to restore must be correctly delimited relative to the backupCorrect

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

#mksysb restore#file path delimiter#smit restore#backup recovery

Community Discussion

No community discussion yet for this question.

Full 000-221 Practice