Re: Backup /ALIAS question
From: David J Dachtera (djesys.nospam_at_comcast.net)
Date: 03/01/05
- Next message: David J Dachtera: "Re: CDRECORD v. RMS defaults"
- Previous message: David J Dachtera: "Re: Logfile name"
- Next in thread: AEF: "Re: Backup /ALIAS question"
- Maybe reply: AEF: "Re: Backup /ALIAS question"
- Reply: Bob Koehler: "Re: Backup /ALIAS question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 28 Feb 2005 21:26:55 -0600
Syltrem wrote:
>
> I use /NOALIAS whenever I do a /IMAGE
>
> But the problem is on the restore operation.
> When restoring directories with aliases, I have to manually do SET
> FILE/ENTER after the restore.
>
> $ back sys$sysdevice:[sys*...]*.*.*/noalias
> $1$dga64:[temp]s.bck/sav/igno=int
> erl
> %BACKUP-W-ADNOTSAVED, alias directory SYS$SYSDEVICE:[SYS0]SYSCOMMON.DIR;1
> and it
> s directory tree not saved
> %BACKUP-W-ADNOTSAVED, alias directory SYS$SYSDEVICE:[SYS1]SYSCOMMON.DIR;1
> and it
> s directory tree not saved
> %BACKUP-W-AFNOTSAVED, alias file SYS$SYSDEVICE:[SYS0]SYSCOMMON.DIR;1 was not
> sav
> ed
> %BACKUP-W-AFNOTSAVED, alias file SYS$SYSDEVICE:[SYS1]SYSCOMMON.DIR;1 was not
> sav
> ed
> $
> $ back $1$dga64:[temp]s.bck/sav $1$dga64:[temp...]*.*.*/alias
> $ dir $1$dga64:[temp.sys0]SYSCOMMON.dir
> %DIRECT-W-NOFILES, no files found
>
> This is very cumbersome.
>
> If, otoh, I use the /ALIAS qualifier in the backup, the restore will create
> multiple copies of the files, which is somewhat worse.
>
> Anyone knows how to do a good restore with file aliases? I can recreate them
> manually because I know what they are on my system, but it's far from being
> ideal.
I believe the issue is that these kind of "links" are a bit new, coming
in with ODS-5. Up until now, it's just been a manual operation to copy
files using BACKUP or whatever and then SET FILE/ENTER to create the
aliases after. Up until now, BACKUP didn't care whether the DID in the
header matched the FID of the directory where the entry was found (dunno
if it does now, either).
So, no, I don't have an answer, either, just a suggestion: keep track of
your aliases yourself and plan on re-aliasing post-restore.
Something I haven't explored: whether BACKUP restores directories or
builds them on the fly. I'm think maybe that when restoring (no /IMAGE),
if the target directory doesn't exist, it gets created empty and is
populated on the fly. The /IMAGE behavior is likely somewhat different,
I should think, because then the directory would be restored from the
saveset and the alias entry would already be there.
-- David J Dachtera dba DJE Systems http://www.djesys.com/ Unofficial OpenVMS Hobbyist Support Page: http://www.djesys.com/vms/support/ Unofficial Affordable OpenVMS Home Page: http://www.djesys.com/vms/soho/ Unofficial OpenVMS-IA32 Home Page: http://www.djesys.com/vms/ia32/ Coming soon: Unofficial OpenVMS Marketing Home Page
- Next message: David J Dachtera: "Re: CDRECORD v. RMS defaults"
- Previous message: David J Dachtera: "Re: Logfile name"
- Next in thread: AEF: "Re: Backup /ALIAS question"
- Maybe reply: AEF: "Re: Backup /ALIAS question"
- Reply: Bob Koehler: "Re: Backup /ALIAS question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|