SUMMARY: Is incremental ufsdump to disk possible?

From: jpy <>
Date: Sat Nov 20 2004 - 00:17:59 EST
Belated thanks to the following for their help:
Anthony D'Atri
Darren Dunham
Mas Harris
Tim Evans
Terry L Moore
Frank Fiamingo
Rich Kulawiec
Sal Serafino
Matthew Stier
Crist Clark

Several pointed out that I need not restore the files -- rather just 
save the dump image.  I wound up following the example of this snippet 
from Rich Kulawiec's message:
Alternatively, you could just skip the ufsrestore and do this:

    ufsdump 5uf /ubk/var/level5.20040823.dump /var

which just scribbles the entire dump image in a file named for the
level and the date.  This will run quite a bit faster (since ufsrestore
isn't even invoked) but it may not give you the confidence you're
looking for that the ufsdump worked.  A workaround for *that* is:

    ufsdump 5uf /ubk/var/level5.20040823.dump /var    [same]
    ufsrestore tvf /ubk/var/level5.20040823 > some.file.somewhere

which just catalogs the dump image afterwards.

I've been able to ufsdump a file system to a large disk as a full backup,
but so far have been unsuccessful with incremental backups.
Is this possible with ufsdump?

 The following command will work with a 0 level ufsdump but not for
 a level 5 dump (the directory /ubk/var/5/20040823 already exists).

Result is:
  DUMP: Date of this level 5 dump: Mon Aug 23 21:56:16 2004
  DUMP: Date of last level 0 dump: Sun Aug 22 06:42:36 2004
  DUMP: Dumping /dev/rdsk/c0t0d0s4 (mozart:/var) to standard output.
  DUMP: Mapping (Pass I) [regular files]
  DUMP: Mapping (Pass II) [directories]
  DUMP: Mapping (Pass II) [directories]
  DUMP: Mapping (Pass II) [directories]
  DUMP: Writing 32 Kilobyte records
  DUMP: Estimated 18254 blocks (8.91MB).
  DUMP: Dumping (Pass III) [directories]
  DUMP: Dumping (Pass IV) [regular files]
open: No such file or directory
cannot open symbol table file ./restoresymtable
  DUMP: 18238 blocks (8.91MB) on 1 volume at 6157 KB/sec

James Young
sunmanagers mailing list
Received on Sat Nov 20 00:21:08 2004

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:40 EST