Re: Backup /ALIAS question

From: Syltrem (syltremzulu_at_videotron.ca)
Date: 02/28/05


Date: Mon, 28 Feb 2005 10:26:27 -0500

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.

Thanks

-- 
Syltrem
http://pages.infinit.net/syltrem (OpenVMS related web site, en français)
"JF Mezei" <jfmezei.spamnot@teksavvy.com> a écrit dans le message de
news:1109380457.8fbc6bef2a87186d3a7da440cb6bab7f@teranews...
> Help backup /alias is very confusing. What was the previous behaviour of
> backup which /alias preserves ?
>
>
> Would it be simpler to just state that
>
> /ALIAS backs up both the file entry and the contents
> /NOALIAS backs up contents of primary file entry but only file entries
> of aliases.
>
> Or am I misunderstanding what /NOLIAS really means ?


Relevant Pages

  • Re: (history of) BACKUP/ALIAS
    ... >> copied, not as files, but as aliases. ... What happens is that the data for alias files are ignored. ... In a restore operation, ... BACKUP/IMAGE then restores all the files, ...
    (comp.os.vms)
  • Re: BACKUP weirdness
    ... This is really not good with a system disk (where aliases are heavily used). ... then BACKUP just dumps all the files in the Master File Directory. ... Can someone tell me how to restore these files into their correct ... $ RENAME SYSCOMMON.DIR SYSCOMMON_OLD.DIR ...
    (comp.os.vms)
  • Re: Backup /ALIAS question
    ... >> So it appears we have to keep track of aliases if not using the ... BACKUP now attempts to restore alias or synonym file ...
    (comp.os.vms)
  • LFN alias script available
    ... or "aliases". ... *folder* aliases to a file which is made part of the backup set. ... The normal restore procedure would be to ... SFNs to the client over a DOS LAN connection, and restore the LFNs on ...
    (NT-Bugtraq)
  • Re: XP says "Kayes Documents" but Win98 says "My Documents"
    ... and here's something else about 8.3 aliases that is just ... If you need to restore your files from a backup (you know, ... Parish ... >> Volume in drive C has no label. ...
    (microsoft.public.windowsxp.general)