From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,d849f273c7f33f41 X-Google-Attributes: gidfee84,public X-Google-Thread: 1020c6,d849f273c7f33f41 X-Google-Attributes: gid1020c6,public X-Google-ArrivalTime: 1994-03-14 22:29:08 PST Xref: gmd.de comp.unix.admin:15161 comp.unix.osf.osf1:2546 Newsgroups: comp.unix.admin,comp.unix.osf.osf1 Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!europa.eng.gtefsd.com!MathWorks.Com!news.kei.com!ddsw1!chinet!les From: les@chinet.chinet.com (Leslie Mikesell) Subject: Re: system backups Message-ID: Organization: Chinet - Public Access UNIX References: <2lqinj$9h1@miracle.falconmicro.com> <1994Mar13.185126.6276@belvedere.sbay.org> <2m2jif$2r1@krille.update.uu.se> Date: Tue, 15 Mar 1994 06:29:08 GMT In article <2m2jif$2r1@krille.update.uu.se>, Johnny Billquist wrote: >Sorry, but you are wrong. restore (the companion to dump) doesn't do >an image restore, but goes through the normal filesystem, so the >files are rearranged with dump as well. >Also, dump can also restore specific files. Can you restore to a different type of filesystem (i.e. sysV vs. UFS, etc.)? >The one big advantage with dump is that you backup a *partition*, >not a filesystem. >If you want a backup of the root partition, neither cpio, nor tar >will do it for you in a graceful way, dump will. I don't understand this. The Dell sysVr4 install tape is in fact a cpio image. In what way does it not handle the root partition gracefully? >Another advantage with dump is that is is very easy for incremental >backups as well. It's all in there. If you restore from an incremental, does it allow you to remove the files that weren't there when the incremental was taken or do you have to do that by hand? >>I recommend using tar for full backups, and cpio for incremental backups, >>because cpio accepts a list of filenames on stdin that it will backup. This >>allows one to put a time-stamp file somewhere (like /etc/backup) and a >>find / -newer /etc/backup would give all files newer than the time-stamp file, >>which you'd pipe into cpio. >IMHO, there is no real good backup program under UNIX, and if you come >from VMS, you will really notice this. The problem with find-based backups is that they don't know to take everything below new or renamed directories. And incrementals in general have the problem that if you restore a chain of them you accumulate all the files that existed at the times they were taken even though they may have been subsequently deleted. GNUtar makes an attempt to address these problems with the --listed-incremental option, but it is unfortuantely badly documented. Les Mikesell les@chinet.com