From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: alan.nguyen@au.transport.bombardier.com Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: Timestamp entry in /etc/vdumpdates at the begining or the end Date: Fri, 31 Jan 2003 10:02:07 +1000 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1043968317 23053 80.91.224.249 (30 Jan 2003 23:11:57 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 30 Jan 2003 23:11:57 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 18eNpz-0005wr-00 for ; Fri, 31 Jan 2003 00:11:15 +0100 Original-Received: (qmail 22190 invoked by uid 5); 30 Jan 2003 23:12:53 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 22032 invoked by uid 49493); 30 Jan 2003 23:12:53 -0000 Original-Received: from alan.nguyen@au.transport.bombardier.com by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-0.3/5.0):. Processed in 0.402259 secs); 30 Jan 2003 23:12:53 -0000 Original-Received: from unknown (HELO emroute3.ornl.gov) (160.91.4.110) by 0 with SMTP; 30 Jan 2003 23:12:52 -0000 Original-Received: from emroute3.ornl.gov (localhost [127.0.0.1]) by emroute3.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0H9J0064ZV5FWF@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 30 Jan 2003 18:12:52 -0500 (EST) Original-Received: from demas002.adtranz.com (demas002.adtranz.com [213.68.98.31]) by emroute3.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0H9J00722V57ER@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 30 Jan 2003 18:12:44 -0500 (EST) Original-Received: from de.transport.bombardier.com (demalng2 [53.191.115.105]) by demas002.adtranz.com (8.12.5/8.12.5) with SMTP id h0UNCg7S025539 for ; Fri, 31 Jan 2003 00:12:42 +0100 (MET) Original-Received: by de.transport.bombardier.com(Lotus SMTP MTA v4.6.7 (934.1 12-30-1999)) id C1256CBE.007F7F91 ; Fri, 31 Jan 2003 00:12:37 +0100 Original-To: tru64-unix-managers@ornl.gov Content-Disposition: inline X-Lotus-FromDomain: TRANSPORT Xref: main.gmane.org gmane.os.tru64.managers:3165 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:3165 Thanks so much to these guys: James Sainsbury, Paul A Sand, Michael Polnick, Robert M. Lang As they clarify the timestamp entry in the /etc/vdumpdates file for me. Below is the summary which I borrow the words from the guys. When vdump finishes (END) it writes the time of the beginning of the dump to /etc/vdumpdates . This is correct, because a file could be modified during backup and had to be dumped the next time with differential vdump. vdump remembers the time stamp when it started and only on successful completion actually updates the vdumpdates file with that time stamp. So a failed dump appears as a though a dump never happened (or a dump is an atomic transaction.) It has to be the time stamp at the beginning otherwise if a file is changed after it has been dumped subsequent incrementals won't pick it up. >From looking at my dump logs and comparing with /etc/vdumpdates, the timestamp in /etc/vdumpdates seems to be the time the dump starts. This is v5.1A, so maybe it's different on 4.0F. The actual entry in /etc/vdumpdates doesn't get written until the end of the dump, though. My experience is: if the dump fails for some reason, the /etc/vdumpdates file doesn't get updated. The man page seems to be pretty clear on this: -u Updates the /etc/vdumpdates file with a timestamp entry from the beginning of the backup. What this says is that if you start the vdump at 13:30 the dump occurs and when the vdumpdate file is written, the entry will say 13:30. The keyword is "from". My question: > OS = 4.0F > It's a bit confusing that according to the man page of vdump that a command > vdump -u is used to update the /etc/vdumpdates file with the timestamp entry at > the begining of the backup. > However I found it opposite as the vdump -0vuf updates the /etc/vdumpdates file > with the timestamp entry at the END of each finished fileset backup. Can anyone > help clarify this ? Alan.Nguyen@au.transport.bombardier.com