LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   backup (https://www.linuxquestions.org/questions/linux-newbie-8/backup-4175527102/)

BBala 12-02-2014 11:11 AM

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.

John VV 12-02-2014 11:22 AM

We will NOT do your homework

Please DO NOT post your HOMEWORK

Tinkster 12-02-2014 01:04 PM

Ummmm ... verbatim copy & paste of assignment questions is not appreciated. If you find you have a problem with an actual attempt of answering any of those yourself please feel free to come back and describe your problem.

Closed.


All times are GMT -5. The time now is 06:19 PM.