Re: Backup /ALIAS question

From: AEF (spamsink2001_at_yahoo.com)
Date: 03/01/05


Date: 28 Feb 2005 19:38:56 -0800


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.

Why would you want to do this? If you are restoring a system disk, you
need to use /IMAGE and then the aliases are restored properly. The
BACKUP utility was not designed with what you want to do here in mind.

IOW: Why would you want [temp.sys0...], [temp.sys1...], etc., with all
the "common directories" aliased as they would be on a regular system
disk?



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
    ... >> But the problem is on the restore operation. ... >> When restoring directories with aliases, I have to manually do SET ... If you are restoring a system disk, ... Normally you want to do this for a system disk, ...
    (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)