Tar Incremental/Multivolume Backup


Table of Contents

Experimenting tar incremental backup 
Multiple Volumes with tar 
Multiple Volumes with tar 
Backup under Linux (Re: Dump Backup failed!!!) 
Backup under Linux (Re: Dump Backup failed!!!) 
Incremental backup with tar? 
cmd:tar 
Levels of Backups 
Crossing Filesystem Boundaries 
Archives Longer than One Tape or Disk 
Using Multiple Tapes 
Tape Files 
Creating and Reading Compressed Archives 
The Incremental Options 

Experimenting tar incremental backup 

$ yes | tar -cvf /tmp/txtHist -M -L 5 .
./
./i/
./i/IiDev.doc
Prepare volume #2 for `/tmp/txtHist' and hit return: Prepare volume #3 for `/tmp/txtHist' and hit return: Prepare volume #4 for `/tmp/txtHist' and hit return: Prepare volume #5 for `/tmp/txtHist' and hit return: ./i/IiMain.doc
[...]
./CgFiles.doc
Prepare volume #700 for `/tmp/txtHist' and hit return: Prepare volume #701 for `/tmp/txtHist' and hit return:
$ dir /tmp/txtHist*

— only one file created!

$ tar tvf /tmp/txtHist
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Error exit delayed from previous errors

— Failed!?. Specifying -M won't help.

TODO:

  • investigate why above failed
  • need to organizate the archive into a sequence of files —info-script=SCRIPT-NAME
  • better add some label? —label="SOME-PREFIX `date +SOME-FORMAT`"