Multi-level ufsdump of file(s), /etc/dumpdates

From: Andrew J Caines (A.J.Caines_at_halplant.com)
Date: 02/25/04

  • Next message: Rob Wichterman: "Solaris 7 (No login prompt)"
    Date: Wed, 25 Feb 2004 11:16:21 -0500
    To: Sun Managers <SunManagers@sunmanagers.org>
    
    

    Ufsdump nicely handles incremental backups, so I'd like to use it to back
    up my data in /foo/data and keep the dumps in /foo/archive, where /foo is
    a nice big filesystem.

    The problem is that if you give ufsdump a file or directory to back up,
    eg. "ufsdump 0uf /foo/archive/bar.dump /foo/data", then it does not update
    /etc/dumpdates and hence every dump at every level is a full dump, so you
    can't do incrementals.

    Now if you try to be clever and manually add entries to /etc/dumpdates for
    filesystem /foo, then ufsdump ignores it, ie. it not only doesn't write to
    /etc/dumpdates when dumping files, but it doesn't read it either.

    Since ufsdump doesn't have any kind of `exclude' switch, the next obvious
    solution would be to dump /foo but mark /foo/archive as excluded from
    dumps at the filesystem level, but I can find no such support for this in
    Solaris' UFS.

    So, is it possible to do a multi-level ufsdump of files in Solaris, and if
    so then how?

    If not, then suggestions for an _elegant_ solution to incremental backups
    to separate files using native tools would be welcome.

    -Andrew-

    -- 
     _______________________________________________________________________
    | -Andrew J. Caines-   Unix Systems Engineer   A.J.Caines@halplant.com  |
    | "They that can give up essential liberty to obtain a little temporary |
    |  safety deserve neither liberty nor safety" - Benjamin Franklin, 1759 |
    _______________________________________________
    sunmanagers mailing list
    sunmanagers@sunmanagers.org
    http://www.sunmanagers.org/mailman/listinfo/sunmanagers
    

  • Next message: Rob Wichterman: "Solaris 7 (No login prompt)"

    Relevant Pages

    • SUMMARY: How to speed up LTO3 transfer ?
      ... after a few tests done with Casper Dik it turned out that ufsdump is the limiting factor; ... changing 'blocking factor' of ufsdump doesn't help ... DUMP: 91.76% done, finished in 0:35 ... ing factor available with most tape drives is 126. ...
      (SunManagers)
    • Re: Backup Failing
      ... Instead of ufsdump, did you use tar? ... DUMP: Date of last level 0 dump: the epoch ... My tape is not write protected. ...
      (comp.unix.solaris)
    • ufsdump Unable to create temporary directory
      ... I'm tweaking on an amanda config, and am getting an error from ufsdump ... I would think ufsdump running as root ... DUMP: Date of last level 0 dump: the epoch ... Dumping ...
      (comp.sys.sun.admin)
    • Re: ufsdump question
      ... > DUMP: ... for the process running ufsdump. ... backup symlinks' you'll quickly discover this link: ... Seems like your problem is indeed a bug and if you apply the patch ...
      (comp.unix.solaris)
    • Is incremental ufsdump to disk possible?
      ... 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. ... DUMP: Mapping ...
      (SunManagers)