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.
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)- A16% (10)
- B10% (6)
- C70% (43)
- D3% (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.
`restvgfiles` is not a valid AIX command and does not exist in the AIX command set.
`restore` is the command for restoring standard file system or mksysb backups, not volume group backups created with `savevg`.
`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.
`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
Community Discussion
No community discussion yet for this question.