<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: backup directory tree with aliasses in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/backup-directory-tree-with-aliasses/m-p/5031008#M53989</link>
    <description>Based on Jon's remark I created a small Fortran program which does the task for me.&lt;BR /&gt;I placed the tools "as-is" on my web page:&lt;BR /&gt;   Toolname : ABAC&lt;BR /&gt;   web-page : &lt;A href="http://nchrem.tnw.tudelft.nl/openvms/software2.html" target="_blank"&gt;http://nchrem.tnw.tudelft.nl/openvms/software2.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Note that is is just a rough sketch of o proof of principle and note that it can handle only a small subset of all cases and that error messages should be improved. But all that maybe a project for the future (if I'll find the time for it&lt;BR /&gt;</description>
    <pubDate>Fri, 02 Mar 2007 06:11:21 GMT</pubDate>
    <dc:creator>Jansen_8</dc:creator>
    <dc:date>2007-03-02T06:11:21Z</dc:date>
    <item>
      <title>backup directory tree with aliasses</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/backup-directory-tree-with-aliasses/m-p/5031001#M53982</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I would like to copy a whole diractory tree from one place to another. The directory tree contains aliasses (set with "set file/enter") which should be preserved. I'm not able to this with backup since&lt;BR /&gt;  1) BACKUP just puts the files twice on the new location.&lt;BR /&gt;  2) BACKUP/NOALIAS just does not copy the alias&lt;BR /&gt;&lt;BR /&gt;How can this be done without the tededious manual fix on all aliasses?&lt;BR /&gt;&lt;BR /&gt;      Jouk</description>
      <pubDate>Wed, 28 Feb 2007 03:48:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/backup-directory-tree-with-aliasses/m-p/5031001#M53982</guid>
      <dc:creator>Jansen_8</dc:creator>
      <dc:date>2007-02-28T03:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: backup directory tree with aliasses</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/backup-directory-tree-with-aliasses/m-p/5031002#M53983</link>
      <description>I would use backup/image and then remove the unnecessary stuff.</description>
      <pubDate>Wed, 28 Feb 2007 03:56:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/backup-directory-tree-with-aliasses/m-p/5031002#M53983</guid>
      <dc:creator>labadie_1</dc:creator>
      <dc:date>2007-02-28T03:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: backup directory tree with aliasses</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/backup-directory-tree-with-aliasses/m-p/5031003#M53984</link>
      <description>Jouk,&lt;BR /&gt;&lt;BR /&gt;I agree with Gerard Labadie:&lt;BR /&gt;$ BACKUP/IMAGE   _does_ preserve aliasses.&lt;BR /&gt;However, it can ONLY be used to backup entire volumes. And to get the aliasses back upon restore, again it has to be /IMAGE, which requires an entire volume, mounted /FOREIGN.&lt;BR /&gt;Whether this within the reach of your available hardware, and next, removing any unwanted data (by hand) again is less work than adding the aliasses, is for you to decide.&lt;BR /&gt;It is certainly less sensitive to oversight and typos.&lt;BR /&gt;&lt;BR /&gt;fwiw,&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;jpe</description>
      <pubDate>Wed, 28 Feb 2007 06:33:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/backup-directory-tree-with-aliasses/m-p/5031003#M53984</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2007-02-28T06:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: backup directory tree with aliasses</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/backup-directory-tree-with-aliasses/m-p/5031004#M53985</link>
      <description>But backup/image is no option if:&lt;BR /&gt;  1) only a small part of the disk should be copied. too much effort to remove the unwanted things. Maybe the location is not alrge enough. maybe file protections prevent the operation on the unwanted part.&lt;BR /&gt;&lt;BR /&gt;            Jouk</description>
      <pubDate>Wed, 28 Feb 2007 06:50:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/backup-directory-tree-with-aliasses/m-p/5031004#M53985</guid>
      <dc:creator>Jansen_8</dc:creator>
      <dc:date>2007-02-28T06:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: backup directory tree with aliasses</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/backup-directory-tree-with-aliasses/m-p/5031005#M53986</link>
      <description>Backup /image is the only thing that preserves aliases, since it copies directory files as is.&lt;BR /&gt;&lt;BR /&gt;So your options are:&lt;BR /&gt;&lt;BR /&gt;1. As previously stated, a complete image backup restored to a fresh disk, then deleting the stuff you don't want and possibly copying other stuff (that doesn't have aliases) onto the new disks.&lt;BR /&gt;&lt;BR /&gt;2. backup/noalias followed by entry of all the aliases.&lt;BR /&gt;&lt;BR /&gt;If you are going to reenter the aliases, you can get a good start at a command file to do it with the output from &lt;BR /&gt;&lt;BR /&gt;$ DFU directory /alias&lt;BR /&gt;&lt;BR /&gt;You will need to edit the output and use a learn sequence in an editor to change the output into the appropriate set file/enter commands.  But it will be a lot easier than starting from scratch.&lt;BR /&gt;&lt;BR /&gt;Perhaps someone already has a perl or awk script to reformat the output.&lt;BR /&gt;&lt;BR /&gt;DFU is on the Freeware discs.&lt;BR /&gt;&lt;BR /&gt;I would recommend an analyze/disk/repair on the source disk before the backup or dfu directory/alias so the aliases consistent.&lt;BR /&gt;&lt;BR /&gt;I would also recommend doing the backup from a batch file with a log file and using backup/log so you can verify what files have been considered aliases, and comparing that to the output of DFU directory/alias&lt;BR /&gt;&lt;BR /&gt;One more note, if you are using a rooted directory as the source of the backup, it may not work with /alias.  When I tried it here on 7.2-2, it gave me the following&lt;BR /&gt;&lt;BR /&gt;$ backup/noalias root$users:[jon.aliastest...]*.*;* disk$scrwrk2:[*...]/own=jon/log/trun&lt;BR /&gt;%BACKUP-W-ADNOTSAVED, alias directory ROOT$USERS:[000000]000000.DIR;1 and its directory tree not saved&lt;BR /&gt;%BACKUP-W-NOFILES, no files selected from ROOT$USERS:[JON.ALIASTEST...]*.*;*&lt;BR /&gt;&lt;BR /&gt;Using the standard names did work.&lt;BR /&gt;&lt;BR /&gt;$ backup/noalias disk$user1:[users.jon.aliastest]*.*;* disk$scrwrk2:[jon.aliastest]/own=jon/log/trun&lt;BR /&gt;%BACKUP-W-AFNOTSAVED, alias file DISK$USER1:[USERS.JON.ALIASTEST]DEF.DAT;1 was not saved&lt;BR /&gt;%BACKUP-S-CREDIR, created directory DISK$SCRWRK2:[JON.ALIASTEST]&lt;BR /&gt;%BACKUP-S-CREATED, created DISK$SCRWRK2:[JON.ALIASTEST]ABC.DAT;1&lt;BR /&gt;$&lt;BR /&gt;&lt;BR /&gt;$ dfu directory/alias disk$user1&lt;BR /&gt;&lt;BR /&gt;     Disk and File Utilities for OpenVMS DFU V2.7-A&lt;BR /&gt;     Freeware version&lt;BR /&gt;     Copyright Â© 2000 COMPAQ Computer Corporation&lt;BR /&gt;&lt;BR /&gt;%DFU-I-INDSCAN, Making directory table for DISK$USER1: ($4$DKA200:) &lt;BR /&gt;%DFU-I-DIRSCAN, Scanning 4614 directories...&lt;BR /&gt;$4$DKA200:[USERS.JON.ALIASTEST]DEF.DAT;1 is alias for $4$DKA200:[USERS.JON.ALIASTEST]ABC.DAT;1&lt;BR /&gt; &lt;BR /&gt;%DFU-S-DONE, Directories scanned : 4614&lt;BR /&gt;$ &lt;BR /&gt;&lt;BR /&gt;p.s. There may be a lot fewer aliases than you think, if they are aliases of directories.  For examle, here what the output on a system disk looks like.&lt;BR /&gt;&lt;BR /&gt;$ dfu dir /alias disk$ilsvms722/out=wrk:ilsvms722.alias&lt;BR /&gt;&lt;BR /&gt;     Disk and File Utilities for OpenVMS DFU V2.7-A&lt;BR /&gt;     Freeware version&lt;BR /&gt;     Copyright Â© 2000 COMPAQ Computer Corporation&lt;BR /&gt;&lt;BR /&gt;%DFU-I-INDSCAN, Making directory table for DISK$ILSVMS722: ($4$DKA407:) &lt;BR /&gt;%DFU-I-DIRSCAN, Scanning 523 directories...&lt;BR /&gt;$4$DKA407:[SYS0]SYSCOMMON.DIR;1 is alias for $4$DKA407:[000000]VMS$COMMON.DIR;1&lt;BR /&gt;$4$DKA407:[SYS1]SYSCOMMON.DIR;1 is alias for $4$DKA407:[000000]VMS$COMMON.DIR;1&lt;BR /&gt;$4$DKA407:[SYS23]SYSCOMMON.DIR;1 is alias for $4$DKA407:[000000]VMS$COMMON.DIR;1&lt;BR /&gt;$4$DKA407:[SYS24]SYSCOMMON.DIR;1 is alias for $4$DKA407:[000000]VMS$COMMON.DIR;1&lt;BR /&gt; &lt;BR /&gt;%DFU-S-DONE, Directories scanned : 523&lt;BR /&gt;$</description>
      <pubDate>Wed, 28 Feb 2007 07:07:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/backup-directory-tree-with-aliasses/m-p/5031005#M53986</guid>
      <dc:creator>Jon Pinkley</dc:creator>
      <dc:date>2007-02-28T07:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: backup directory tree with aliasses</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/backup-directory-tree-with-aliasses/m-p/5031006#M53987</link>
      <description>Good tip Jon this DFU stuff. I'll try to make a DCL-procedure to do it automatically.&lt;BR /&gt;&lt;BR /&gt;          Jouk</description>
      <pubDate>Wed, 28 Feb 2007 07:16:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/backup-directory-tree-with-aliasses/m-p/5031006#M53987</guid>
      <dc:creator>Jansen_8</dc:creator>
      <dc:date>2007-02-28T07:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: backup directory tree with aliasses</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/backup-directory-tree-with-aliasses/m-p/5031007#M53988</link>
      <description>Can I also recommend that you use LDdriver. It can be a very useful tool to break large directory structures into smaller structures - which can make life much less difficult. In this case you could even do a disc to LD image backup (with /ignore=interlock provided that the stuff you need is not being accessed), then use DFU to trash the unnecessary trees. Finally create a smaller LD unit and put the resulting tree into that.&lt;BR /&gt;&lt;BR /&gt;There's a VMS Technical Journal article about using LDdriver at &lt;A href="http://www.digiater.nl" target="_blank"&gt;www.digiater.nl&lt;/A&gt; - which is the home of both LD and DFU (thank's to Jur van der Burg).&lt;BR /&gt;&lt;BR /&gt;Cheers, Colin (&lt;A href="http://www.xdelta.co.uk)." target="_blank"&gt;www.xdelta.co.uk).&lt;/A&gt;</description>
      <pubDate>Thu, 01 Mar 2007 05:40:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/backup-directory-tree-with-aliasses/m-p/5031007#M53988</guid>
      <dc:creator>Colin Butcher</dc:creator>
      <dc:date>2007-03-01T05:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: backup directory tree with aliasses</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/backup-directory-tree-with-aliasses/m-p/5031008#M53989</link>
      <description>Based on Jon's remark I created a small Fortran program which does the task for me.&lt;BR /&gt;I placed the tools "as-is" on my web page:&lt;BR /&gt;   Toolname : ABAC&lt;BR /&gt;   web-page : &lt;A href="http://nchrem.tnw.tudelft.nl/openvms/software2.html" target="_blank"&gt;http://nchrem.tnw.tudelft.nl/openvms/software2.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Note that is is just a rough sketch of o proof of principle and note that it can handle only a small subset of all cases and that error messages should be improved. But all that maybe a project for the future (if I'll find the time for it&lt;BR /&gt;</description>
      <pubDate>Fri, 02 Mar 2007 06:11:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/backup-directory-tree-with-aliasses/m-p/5031008#M53989</guid>
      <dc:creator>Jansen_8</dc:creator>
      <dc:date>2007-03-02T06:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: backup directory tree with aliasses</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/backup-directory-tree-with-aliasses/m-p/5031009#M53990</link>
      <description>Found a work-around</description>
      <pubDate>Fri, 02 Mar 2007 06:12:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/backup-directory-tree-with-aliasses/m-p/5031009#M53990</guid>
      <dc:creator>Jansen_8</dc:creator>
      <dc:date>2007-03-02T06:12:13Z</dc:date>
    </item>
  </channel>
</rss>

