*BSD News Article 35690


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!overload.lbl.gov!ames!koriel!male.EBay.Sun.COM!engnews1.Eng.Sun.COM!engnews2.Eng.Sun.COM!orpheus!jackv
From: jackv@orpheus.Eng.Sun.COM (Jack F. Vogel)
Newsgroups: comp.os.386bsd.questions
Subject: Re: Selective tar-ing...
Date: 11 Sep 1994 07:13:48 GMT
Organization: Sun
Lines: 23
Message-ID: <34uanc$af5@engnews2.Eng.Sun.COM>
References: <34u3h4$c9l@sundog.tiac.net>
NNTP-Posting-Host: orpheus.eng.sun.com

In article <34u3h4$c9l@sundog.tiac.net> mcgovern@spoon.beta.com (Brian McGovern) writes:
|I was wondering if there was a way to have tar archive only files that have
|changed since a certain date, or that have been modified since a prior tar-ing.
|The reason is that I wish to use my tape drive (250 MB Jumbo on a 500MB 
|Seagate IDE drive), and I'd like to automate the process for late night. Right
|now, its not a problem, because I'm using like %20 percent of my space, and
|a full backup easily on a tape. However, as the system grows, and I go over
|250MB of data, I'd like to be able to run monitored full backups, and then
|have it do selectives automatically at night.
 
Sure, its do-able, just have to muck about with find(1) to create
the list, then pass that to tar.

However, it would be a LOT easier to use dump(8), its designed
for just this kind of issue.

Either case will take some 'dinking around' however :-).

Have fun!


-- 
Jack F. Vogel		  Sun Microsystems Inc.			jackv@Sun.COM