LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 12-02-2014, 12:11 PM   #1
BBala
LQ Newbie
 
Registered: Dec 2014
Posts: 1

Rep: Reputation: Disabled
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.
 
Old 12-02-2014, 12:22 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,825

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
We will NOT do your homework

Please DO NOT post your HOMEWORK
 
Old 12-02-2014, 02:04 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
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.
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Today is World Backup Day a friendly reminder to backup and check restores jeremy Linux - News 0 03-31-2014 12:42 PM
[SOLVED] Backup, shrink backup and modify MBR of backup jps1x2 Linux - General 1 12-17-2013 06:03 AM
how can backup a remote server(only folder needed) with ftp ,daily backup? ahjafari Linux - Newbie 1 10-26-2011 05:04 PM
Newbie trying to write a simple backup script to backup a single folder Nd for school stryker759a Linux - Newbie 2 09-16-2009 09:52 AM
Backup system ala rdiff-backup, but without mirror and with dst encryption dr_dex Linux - Software 0 08-04-2008 04:39 AM


All times are GMT -5. The time now is 02:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration