Professional Web Applications Themes

ufsdump question - Sun Solaris

Can someone please exaplain to me how ufsdump decides which files to copy during an incremental dump. Does it rely solely on the creation dates in the inodes? For example, suppose I have a directory /usr/foo/bin which contains assorted executables, which were all dumped at level 0 on, say, 1 Jul 2003 (as recorded in dumpdates). Now I bring in a load of new executables, either from a tar tape, or by means of pkgadd, or whatever. This creates some new files in /usr/foo/bin, but their creation dates will be whatever it said in the tar tape or package (e.g. ...

  1. #1

    Default ufsdump question

    Can someone please exaplain to me how ufsdump decides which files to copy
    during an incremental dump. Does it rely solely on the creation dates in
    the inodes?

    For example, suppose I have a directory /usr/foo/bin which contains
    assorted executables, which were all dumped at level 0 on, say, 1 Jul 2003
    (as recorded in dumpdates).

    Now I bring in a load of new executables, either from a tar tape, or by
    means of pkgadd, or whatever. This creates some new files in /usr/foo/bin,
    but their creation dates will be whatever it said in the tar tape or
    package (e.g. 31 Dec 2002).

    Question. Will these new files be dumped during the next incremental dump?

    --
    Charles H. Lindsey ---------At Home, doing my own thing------------------------
    Tel: +44 161 436 6131 Fax: +44 161 436 6133 Web: [url]http://www.cs.man.ac.uk/~chl[/url]
    Email: [email]chlclerew.man.ac.uk[/email] Snail: 5 Clerewood Ave, CHEADLE, SK8 3JU, U.K.
    PGP: 2C15F1A9 Fingerprint: 73 6D C2 51 93 A0 01 E7 65 E8 64 7E 14 A4 AB A5
    Charles Lindsey Guest

  2. #2

    Default Re: ufsdump question

    "Charles Lindsey" <chlclerew.man.ac.uk> writes:
    > Now I bring in a load of new executables, either from a tar tape, or by
    > means of pkgadd, or whatever. This creates some new files in /usr/foo/bin,
    > but their creation dates will be whatever it said in the tar tape or
    > package (e.g. 31 Dec 2002).
    No, that is the last-modified date (st_mtime in <sys/stat.h>). The
    creation date (st_ctime) will be as of when you last changed the
    inode, i.e., when you ran 'tar'. So the files will be dumped
    correctly.
    Paul Eggert Guest

  3. #3

    Default Re: ufsdump question

    In article <7wbrw2gn71.fsftwinsun.com>,
    Paul Eggert <eggerttwinsun.com> wrote:
    > The
    > creation date (st_ctime) will be as of when you last changed the
    > inode, i.e., when you ran 'tar'.
    Creation date? The st_ctime member contains the time of the last
    status Change, not some mythical "creation date".

    --
    Göran Larsson [url]http://www.mitt-eget.com/[/url]
    Goran Larsson Guest

Similar Threads

  1. How to "ufsdump" more than one Solaris 8 fils systems to tape
    By Michael Tosch in forum Linux / Unix Administration
    Replies: 1
    Last Post: July 22nd, 05:08 PM
  2. dump ufsdump via SSH works but.... sometimes core dumps
    By uzi69mmm@yahoo.com in forum Linux / Unix Administration
    Replies: 14
    Last Post: January 8th, 11:57 PM
  3. Remote Ufsdump
    By Wyndell in forum Linux / Unix Administration
    Replies: 1
    Last Post: October 29th, 06:15 PM
  4. backup with ufsdump
    By JC in forum Linux / Unix Administration
    Replies: 2
    Last Post: August 15th, 11:49 PM
  5. ufsdump vs dump
    By hemiguy in forum Sun Solaris
    Replies: 1
    Last Post: August 1st, 12:34 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139