nerdexam
IBM

000-221 · Question #39

An administrator needs to restore all files in the /myfs/test directory of the non-rootvg volume group backup, which is located on device /dev/cd1, and write the restored files to /data/myfiles…

The correct answer is C. restvgbackup -f /dev/cd1 -r-s -d /data/myfiles ./myfs/test. The restvgbackup command is the correct AIX utility for restoring files from a non-rootvg volume group backup to a specified destination directory.

Storage Management

Question

An administrator needs to restore all files in the /myfs/test directory of the non-rootvg volume group backup, which is located on device /dev/cd1, and write the restored files to /data/myfiles. Which is the correct command?

Options

  • Arestvgfiles -f /dev/cd1 -r-s -d /data/myfiles ./myfs/test
  • Brestore -Tf /dev/cd1 -r -s -d /data/myfiles /myfs/test
  • Crestvgbackup -f /dev/cd1 -r-s -d /data/myfiles ./myfs/test
  • DIsmksysb-f/dev/cd1 -r-s-d/data/myfiles ./myfs/test

How the community answered

(61 responses)
  • A
    16% (10)
  • B
    10% (6)
  • C
    70% (43)
  • D
    3% (2)

Why each option

The `restvgbackup` command is the correct AIX utility for restoring files from a non-rootvg volume group backup to a specified destination directory.

Arestvgfiles -f /dev/cd1 -r-s -d /data/myfiles ./myfs/test

`restvgfiles` is not a valid AIX command and does not exist in the AIX command set.

Brestore -Tf /dev/cd1 -r -s -d /data/myfiles /myfs/test

`restore` is the command for restoring standard file system or mksysb backups, not volume group backups created with `savevg`.

Crestvgbackup -f /dev/cd1 -r-s -d /data/myfiles ./myfs/testCorrect

`restvgbackup` is the AIX command designed specifically to restore files from backups created by `savevg` for non-rootvg volume groups. The `-f /dev/cd1` flag identifies the backup device, `-d /data/myfiles` sets the target restore directory, and `./myfs/test` specifies the relative path within the backup to restore.

DIsmksysb-f/dev/cd1 -r-s-d/data/myfiles ./myfs/test

`lsmksysb` lists the contents of a mksysb backup image and cannot be used to restore files.

Concept tested: AIX non-rootvg volume group backup restoration

Source: https://www.ibm.com/docs/en/aix/7.3?topic=r-restvgbackup-command

Topics

#restvgbackup#volume group restore#backup#file restore

Community Discussion

No community discussion yet for this question.

Full 000-221 Practice