LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-08-2006, 05:44 PM   #1
reeseslover531
Member
 
Registered: Nov 2005
Distribution: Fedora Core 5
Posts: 64

Rep: Reputation: 15
restoring from tar


ok so I have a backup system that does a full backup weekly and then during the week an incremental backup from that full backup, now if I want to restore everything, I can restore from the full backup, but then how would I restore from the full backup AND the add incremental stuff? o and I use tar to do my backups. Pretty much I am using the script from linux.com article. On the restoring section, it doesn't go into how to restore from the incrementals, just the fulls. Is it as simple as restoring from the full, and then doing another restore fromt he incrementals, and it will just change or overwrite andything that is new in the incremental?
 
Old 11-08-2006, 06:39 PM   #2
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,283

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Restore the full backup, then restore each incremental in the order they were created.

If you are doing differentials, as opposed to incrementals, then you would restore the full followed by just the latest differential.

incremental = all the files added/modified since the previous incremental or full, so you need the latest full and the entire chain of incrementals after that full for a total restore. Each new incremental "adds to" the previous incremental.

differential = all the files added/modified since the previous full, so you only need the full and the most recent differential. Each new differential "supercedes" the previous differential (unless you want to restore to a point in the past, not the most recent point).
 
Old 11-08-2006, 06:44 PM   #3
reeseslover531
Member
 
Registered: Nov 2005
Distribution: Fedora Core 5
Posts: 64

Original Poster
Rep: Reputation: 15
ok so I used the wrong terminology, I am pretty sure this is a differential, because the script backups up anything since the last full backup, so it should be just as simple as restoring the full, and then the latest differential.
 
Old 11-08-2006, 06:51 PM   #4
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,283

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Quote:
Originally Posted by reeseslover531
so it should be just as simple as restoring the full, and then the latest differential.
Correct. BTW, I wasn't questioning your terminology. I did not follow your link to try to decipher what the script you're using does. I figured it was easier to describe how to restore each of the two common types of backups, and let you decide which path to follow (since you know how your script operates).
 
  


Reply


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
how can i decompress this tar.tar file? hmmm sounds new.. tar.tar.. help ;) kublador Linux - Software 14 10-25-2016 02:48 AM
tar tar cvf - . | (cd /root/; tar xvf -) ewt3y Linux - General 10 02-19-2014 10:55 AM
Help restoring from tape and tar...... TheDirtyPenguin Linux - Software 1 02-17-2004 07:42 AM
restoring /etc files from tar backup hdagelic Linux - General 1 09-24-2003 07:04 AM
Diferance between rpm, tar, tar.gz, scr.tar, etc mobassir Linux - General 12 08-21-2003 06:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:26 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
Open Source Consulting | Domain Registration