Question
Write the command that can be used to perform the following: a. Back up the contents of the /var directory (which contains symbolically linked files)
Write the command that can be used to perform the following:
a. Back up the contents of the /var directory (which contains symbolically linked files) to the second nonrewinding SCSI tape device on the system using the tar utility.
b. Append the file /etc/inittab to the archive created in Exercise 3a.
c. Create a tarball called /stuff.tar.gz that contains all files in the /root/stuff directory.
d. 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.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started