backup
Hi
1- What is the purpose of the -print0 find option, and why should you use it in a production-quality script?
2- What are the matching options for tar and cpio, to make an archive of the files found by find?
3 -Backup /home using dump. Use a level 0 dump. Since we don't want to shut the system down to single user mode (or unmount /home). What are the exact commands you used?
4 - Completely backup /etc using a compressed tar archive. What is the exact command(s) you used for this?
5- Completely backup /etc using a cpio archive. Now compress the resulting archive using either gzip or bzip2, whichever method you used for the tar archive in the previous step. What are the exact commands you used for this step?
6 - Which archive is smaller, the tar or the cpio archive of /etc, and by how much? Do you think the difference is significant?
7- For each of the two archives, compute the MD5 checksum and store it in a file /tmp/name-of-archive.md5.
|