Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"Whip me. Beat me. Make me maintain AIX." (By Stephan Zielinski)


computers / comp.os.vms / Re: Restoring image and incremental BACKUPs: Why more than one incremental?

SubjectAuthor
* Restoring image and incremental BACKUPs: Why more than one incremental?Steven Schweda
+* Re: Restoring image and incremental BACKUPs: Why more than one incremental?Steven Schweda
|`* Re: Restoring image and incremental BACKUPs: Why more than one incremental?abrsvc
| `* Re: Restoring image and incremental BACKUPs: Why more than one incremental?Steven Schweda
|  `- Re: Restoring image and incremental BACKUPs: Why more than one incremental?abrsvc
`* Re: Restoring image and incremental BACKUPs: Why more than onewdz
 `- Re: Restoring image and incremental BACKUPs: Why more than one incremental?Steven Schweda

1
Restoring image and incremental BACKUPs: Why more than one incremental?

<6656118d-9c05-43ce-bfdb-4847083e1007n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=22403&group=comp.os.vms#22403

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:622a:1491:b0:2f3:8173:840a with SMTP id t17-20020a05622a149100b002f38173840amr13091294qtx.530.1651548474758;
Mon, 02 May 2022 20:27:54 -0700 (PDT)
X-Received: by 2002:a05:622a:1ba4:b0:2f3:9a42:3e36 with SMTP id
bp36-20020a05622a1ba400b002f39a423e36mr13128618qtb.578.1651548474619; Mon, 02
May 2022 20:27:54 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Mon, 2 May 2022 20:27:54 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=76.76.60.100; posting-account=OjKUgAkAAAAXAqdVEKd-Gc8RltEUx3Xq
NNTP-Posting-Host: 76.76.60.100
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <6656118d-9c05-43ce-bfdb-4847083e1007n@googlegroups.com>
Subject: Restoring image and incremental BACKUPs: Why more than one incremental?
From: sms.anti...@gmail.com (Steven Schweda)
Injection-Date: Tue, 03 May 2022 03:27:54 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Steven Schweda - Tue, 3 May 2022 03:27 UTC

It's been too long since I had to recover from a disk failure. (This
one isn't especially critical, but I wouldn't mind losing as few data as
possible.) (With decade-old disks, you might think it'd happen more.)

I have a recent save set: BACKUP /IMAGE /RECORD, and multiple (daily,
normally) save sets: BACKUP /SINCE = BACKUP. I'm restoring the /IMAGE
save set now. After that, the (confusingly written) instructions
( https://vmssoftware.com/docs/VSI_SYS_MAN_UTIL_REF_VOL_I.pdf page 217 )
say:

> [...] Next, mount the disk as a file-structured volume and restore the
> incremental save sets in reverse chronological order. [...]

If the daily, incremental BACKUP jobs were all made with
/SINCE = BACKUP, and _without_ /RECORD, why wouldn't restoring the
_latest_ incremental save set be enough of the incrementals? What would
an earlier incremental have that a later one wouldn't?

PS: The following text in the PDF doc is not well formatted (I claim):

[...] The /
INCREMENTAL qualifier can [...]

I suspect that that's not the only such instance.

Re: Restoring image and incremental BACKUPs: Why more than one incremental?

<b94d4e47-83fb-48bb-8057-328f4405a77en@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=22404&group=comp.os.vms#22404

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a37:e102:0:b0:69f:8463:cbdd with SMTP id c2-20020a37e102000000b0069f8463cbddmr10670510qkm.766.1651549686335;
Mon, 02 May 2022 20:48:06 -0700 (PDT)
X-Received: by 2002:ae9:e404:0:b0:69f:b141:9337 with SMTP id
q4-20020ae9e404000000b0069fb1419337mr11163744qkc.783.1651549686157; Mon, 02
May 2022 20:48:06 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Mon, 2 May 2022 20:48:05 -0700 (PDT)
In-Reply-To: <6656118d-9c05-43ce-bfdb-4847083e1007n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=76.76.60.100; posting-account=OjKUgAkAAAAXAqdVEKd-Gc8RltEUx3Xq
NNTP-Posting-Host: 76.76.60.100
References: <6656118d-9c05-43ce-bfdb-4847083e1007n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <b94d4e47-83fb-48bb-8057-328f4405a77en@googlegroups.com>
Subject: Re: Restoring image and incremental BACKUPs: Why more than one incremental?
From: sms.anti...@gmail.com (Steven Schweda)
Injection-Date: Tue, 03 May 2022 03:48:06 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 4
 by: Steven Schweda - Tue, 3 May 2022 03:48 UTC

And, incidentally, the fellow who thought that every one of these
deserved an info message was wrong (I claim):

%BACKUP-I-SYMNOTFLW, <file_spec> is a SYMLINK and BACKUP will not follow
the link

Re: Restoring image and incremental BACKUPs: Why more than one incremental?

<0557fc1f-d6b7-472e-9ac0-40fbaf9bc6d8n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=22405&group=comp.os.vms#22405

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:620a:454e:b0:69f:b9fd:f05d with SMTP id u14-20020a05620a454e00b0069fb9fdf05dmr11763799qkp.633.1651577514679;
Tue, 03 May 2022 04:31:54 -0700 (PDT)
X-Received: by 2002:a05:620a:1902:b0:5f1:8f5d:b0f2 with SMTP id
bj2-20020a05620a190200b005f18f5db0f2mr11801565qkb.60.1651577514515; Tue, 03
May 2022 04:31:54 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Tue, 3 May 2022 04:31:54 -0700 (PDT)
In-Reply-To: <b94d4e47-83fb-48bb-8057-328f4405a77en@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=96.230.211.194; posting-account=Ysq9BAoAAACGX1EcMMPkdNg4YcTg0TxG
NNTP-Posting-Host: 96.230.211.194
References: <6656118d-9c05-43ce-bfdb-4847083e1007n@googlegroups.com> <b94d4e47-83fb-48bb-8057-328f4405a77en@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <0557fc1f-d6b7-472e-9ac0-40fbaf9bc6d8n@googlegroups.com>
Subject: Re: Restoring image and incremental BACKUPs: Why more than one incremental?
From: dansabrs...@yahoo.com (abrsvc)
Injection-Date: Tue, 03 May 2022 11:31:54 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 16
 by: abrsvc - Tue, 3 May 2022 11:31 UTC

On Monday, May 2, 2022 at 11:48:07 PM UTC-4, Steven Schweda wrote:
> And, incidentally, the fellow who thought that every one of these
> deserved an info message was wrong (I claim):
>
> %BACKUP-I-SYMNOTFLW, <file_spec> is a SYMLINK and BACKUP will not follow
> the link

As you surmise, restoring the most recent incremental will result in the disk having the state at the time of that incremental backup since the record pass was done only at the /IMAGE date. Other incremental savesets will contain files that were created and deleted between the /IMAGE and the most recent incremental pass. I suspect that the reasoning for the reverse order is to restore files saved in each incremental pass when /RECORD is turned on for those passes. Your use of the incremental is different.

Dan

Re: Restoring image and incremental BACKUPs: Why more than one incremental?

<2432c578-2a78-43a9-a0c9-eb4817124652n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=22406&group=comp.os.vms#22406

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:620a:2a14:b0:69f:fc99:48de with SMTP id o20-20020a05620a2a1400b0069ffc9948demr3120423qkp.604.1651582494269;
Tue, 03 May 2022 05:54:54 -0700 (PDT)
X-Received: by 2002:ac8:5905:0:b0:2f3:9fdd:22f1 with SMTP id
5-20020ac85905000000b002f39fdd22f1mr11762028qty.191.1651582494146; Tue, 03
May 2022 05:54:54 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Tue, 3 May 2022 05:54:53 -0700 (PDT)
In-Reply-To: <0557fc1f-d6b7-472e-9ac0-40fbaf9bc6d8n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=76.76.60.100; posting-account=OjKUgAkAAAAXAqdVEKd-Gc8RltEUx3Xq
NNTP-Posting-Host: 76.76.60.100
References: <6656118d-9c05-43ce-bfdb-4847083e1007n@googlegroups.com>
<b94d4e47-83fb-48bb-8057-328f4405a77en@googlegroups.com> <0557fc1f-d6b7-472e-9ac0-40fbaf9bc6d8n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <2432c578-2a78-43a9-a0c9-eb4817124652n@googlegroups.com>
Subject: Re: Restoring image and incremental BACKUPs: Why more than one incremental?
From: sms.anti...@gmail.com (Steven Schweda)
Injection-Date: Tue, 03 May 2022 12:54:54 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 9
 by: Steven Schweda - Tue, 3 May 2022 12:54 UTC

> [...] Your use of the incremental is different.

Thanks. It's possible that when I devised this scheme (20-30 years
ago?), it all made sense. I thought that it still did, until I read the
current documentation.

I've seen descriptions like "Incremental = since last backup", and
"Differential = since last full backup", but not in VMS documentation.

As usual, better documentation might be better.

Re: Restoring image and incremental BACKUPs: Why more than one incremental?

<e0612d44-81cb-4f8f-8933-c0b3d4f4ea9an@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=22407&group=comp.os.vms#22407

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:ac8:59c2:0:b0:2f3:a09a:1132 with SMTP id f2-20020ac859c2000000b002f3a09a1132mr11476989qtf.290.1651583384439;
Tue, 03 May 2022 06:09:44 -0700 (PDT)
X-Received: by 2002:a05:622a:1ba4:b0:2f3:9a42:3e36 with SMTP id
bp36-20020a05622a1ba400b002f39a423e36mr14596330qtb.578.1651583384289; Tue, 03
May 2022 06:09:44 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Tue, 3 May 2022 06:09:44 -0700 (PDT)
In-Reply-To: <2432c578-2a78-43a9-a0c9-eb4817124652n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=96.230.211.194; posting-account=Ysq9BAoAAACGX1EcMMPkdNg4YcTg0TxG
NNTP-Posting-Host: 96.230.211.194
References: <6656118d-9c05-43ce-bfdb-4847083e1007n@googlegroups.com>
<b94d4e47-83fb-48bb-8057-328f4405a77en@googlegroups.com> <0557fc1f-d6b7-472e-9ac0-40fbaf9bc6d8n@googlegroups.com>
<2432c578-2a78-43a9-a0c9-eb4817124652n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e0612d44-81cb-4f8f-8933-c0b3d4f4ea9an@googlegroups.com>
Subject: Re: Restoring image and incremental BACKUPs: Why more than one incremental?
From: dansabrs...@yahoo.com (abrsvc)
Injection-Date: Tue, 03 May 2022 13:09:44 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 13
 by: abrsvc - Tue, 3 May 2022 13:09 UTC

On Tuesday, May 3, 2022 at 8:54:55 AM UTC-4, Steven Schweda wrote:
> > [...] Your use of the incremental is different.
>
> Thanks. It's possible that when I devised this scheme (20-30 years
> ago?), it all made sense. I thought that it still did, until I read the
> current documentation.
>
> I've seen descriptions like "Incremental = since last backup", and
> "Differential = since last full backup", but not in VMS documentation.
>
> As usual, better documentation might be better.

Since you indicated that the record pass was done only on the image backup, the incremental and differential are the same.
If the record pass is done at each incremental pass, than the restore effort would be different.

Re: Restoring image and incremental BACKUPs: Why more than one incremental?

<jddbrkFedf1U1@mid.individual.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=22408&group=comp.os.vms#22408

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: zubeh...@wdschwartz.de (wdz)
Newsgroups: comp.os.vms
Subject: Re: Restoring image and incremental BACKUPs: Why more than one
incremental?
Date: Tue, 3 May 2022 20:50:35 +0200
Lines: 38
Message-ID: <jddbrkFedf1U1@mid.individual.net>
References: <6656118d-9c05-43ce-bfdb-4847083e1007n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net 2AmIc9MZ1oeB/qpgVM3QkQUs/rtyXBrx5BhSd+yiRxpx3sjw15
Cancel-Lock: sha1:trw21/NhVN25WvyetI/+C2sgs/w=
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.8.1
Content-Language: de-DE
In-Reply-To: <6656118d-9c05-43ce-bfdb-4847083e1007n@googlegroups.com>
 by: wdz - Tue, 3 May 2022 18:50 UTC

Am 03.05.2022 um 05:27 schrieb Steven Schweda:
> It's been too long since I had to recover from a disk failure. (This
> one isn't especially critical, but I wouldn't mind losing as few data as
> possible.) (With decade-old disks, you might think it'd happen more.)
>
> I have a recent save set: BACKUP /IMAGE /RECORD, and multiple (daily,
> normally) save sets: BACKUP /SINCE = BACKUP. I'm restoring the /IMAGE
> save set now. After that, the (confusingly written) instructions
> ( https://vmssoftware.com/docs/VSI_SYS_MAN_UTIL_REF_VOL_I.pdf page 217 )
> say:
>
>> [...] Next, mount the disk as a file-structured volume and restore the
>> incremental save sets in reverse chronological order. [...]
>
> If the daily, incremental BACKUP jobs were all made with
> /SINCE = BACKUP, and _without_ /RECORD, why wouldn't restoring the
> _latest_ incremental save set be enough of the incrementals? What would
> an earlier incremental have that a later one wouldn't?
>
>
> PS: The following text in the PDF doc is not well formatted (I claim):
>
> [...] The /
> INCREMENTAL qualifier can [...]
>
> I suspect that that's not the only such instance.

Many years ago when backup emerged the explanation was:

If you restore incremental savesets forward then each different version
of a file has to be written to disk until you get the most recvent version

If you restore incremental savesets backwards then you write the first
occurence of a file to disk - all other versions in prior savesets can
be skipped.

At that time writing to disk was very costly.

Re: Restoring image and incremental BACKUPs: Why more than one incremental?

<18f98eec-1ff8-42aa-81d3-ea977cea1b28n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=22409&group=comp.os.vms#22409

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:622a:648:b0:2f3:642d:c12a with SMTP id a8-20020a05622a064800b002f3642dc12amr16929551qtb.464.1651616402659;
Tue, 03 May 2022 15:20:02 -0700 (PDT)
X-Received: by 2002:a05:6214:21e4:b0:457:c078:be48 with SMTP id
p4-20020a05621421e400b00457c078be48mr16117856qvj.118.1651616402497; Tue, 03
May 2022 15:20:02 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Tue, 3 May 2022 15:20:02 -0700 (PDT)
In-Reply-To: <jddbrkFedf1U1@mid.individual.net>
Injection-Info: google-groups.googlegroups.com; posting-host=76.76.60.100; posting-account=OjKUgAkAAAAXAqdVEKd-Gc8RltEUx3Xq
NNTP-Posting-Host: 76.76.60.100
References: <6656118d-9c05-43ce-bfdb-4847083e1007n@googlegroups.com> <jddbrkFedf1U1@mid.individual.net>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <18f98eec-1ff8-42aa-81d3-ea977cea1b28n@googlegroups.com>
Subject: Re: Restoring image and incremental BACKUPs: Why more than one incremental?
From: sms.anti...@gmail.com (Steven Schweda)
Injection-Date: Tue, 03 May 2022 22:20:02 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 36
 by: Steven Schweda - Tue, 3 May 2022 22:20 UTC

> Since you indicated that the record pass was done only on the image
> backup, the incremental and differential are the same.

Huh? What, exactly, is the same as what, exactly? After a BACKUP
/IMAGE /RECORD, the first (partial) BACKUP /SINCE = BACKUP [/NORECORD]
could be thought of either way. After that, they're all "differential",
not "incremental".

Using the non-VMS definitions, I have multiple (daily) "differential"
backups. I need to tell BACKUP to do "/INCREMENTAL" to process any of
them correctly.

> Many years ago when backup emerged the explanation was: [...]

Ok. The (unhelpful) manual now says:

> 2. Restore any incremental save sets since the last full backup, in
> reverse chronological order, using the /INCREMENTAL qualifier.
>
> After you restore the save sets in this order, the output disk volume
> contains the same files it contained when the most recent incremental
> save operation was performed.

It also says:

> Note that BACKUP restores the volume correctly regardless of the order
> in which the incremental save sets are applied; using reverse
> chronological order is most efficient.

I saw no explanation of what makes it "most efficient", but I could
believe that going forward in time would cause some older files/versions
to be restored and then deleted.

> As usual, better documentation might be better.

Still true, I claim.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor