Use the cpio utility to back up all files in the /var directory (which contains
ID: 3595233 • Letter: U
Question
Use the cpio utility to back up all files in the /var directory (which contains symbolically
linked files) to the first rewinding IDE tape device that has a block size of
5KB.
e. Perform a full filesystem backup of the /var filesystem using the dump utility and
record the event in the /etc/dumpdates file.
f. View the contents of the archives created in Exercises 3a, c, d, and e.
g. Extract the contents of the archives created in Exercises 3a and c to the /root
directory.
h. Extract the contents of the archives created in Exercises 3d and e to their original
locations.
Explanation / Answer
Use the cpio utility to back up all files in the /var directory
# cd /
# find . -depth -print | cpio -ov > /var
Perform a full filesystem backup of the /var filesystem using the dump utility and
record the event in the /etc/dumpdates file.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.