<?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: Problem understanding backup script in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/problem-understanding-backup-script/m-p/5115123#M25720</link>
    <description>nipun,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;$ backup /del /before=1-jun-2007 - &lt;BR /&gt;&lt;BR /&gt;disk1:['user_acct'.FolderA...]*.*;* - &lt;BR /&gt;&lt;BR /&gt;DISK2:['user_acct'.FolderB.FolderA...]*.*;*&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;Is this the _EXACT_ command you used? &lt;BR /&gt;Did you re-type it, or use copy-paste?&lt;BR /&gt;&lt;BR /&gt;(Note Hoff's remark on BACKUP complexity, if the acual command was not EXACTLY as presented here, the behavior COULD have been different!)&lt;BR /&gt;&lt;BR /&gt;_IF_ this was the full, excact command, then I would expect any DIRs _within_ [.FOLDERA...] _THAT HAVE ANY FILES IN THEM THAT QUALIFY THE SELECTION_ to be needed, and thus created, with the current date of command execution.&lt;BR /&gt;Any DIR file which itself qualifies follows the rule above.&lt;BR /&gt;Any DIR file which itself is newer, and does _NOT_ contain any files that needs copying, is NOT copied.&lt;BR /&gt;&lt;BR /&gt;Bottom line: Any file created before=... (same for any other selection qualifier) gets selected.&lt;BR /&gt;If in the course of performing that copy a directory that does not exist/has not yet been created will get automatically created.&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;jpe&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Sat, 21 Jun 2008 07:55:31 GMT</pubDate>
    <dc:creator>Jan van den Ende</dc:creator>
    <dc:date>2008-06-21T07:55:31Z</dc:date>
    <item>
      <title>Problem understanding backup script</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/problem-understanding-backup-script/m-p/5115120#M25717</link>
      <description>Hi, &lt;BR /&gt;I have Openvms 7.3-2 and I am trying move data older than 1-june-2007 from Folder A to another Folder B. &lt;BR /&gt;&lt;BR /&gt;Now in folder A there are lots of subdirectories and files&lt;BR /&gt;&lt;BR /&gt;I used the following script &lt;BR /&gt;&lt;BR /&gt;$ user_acct   = "Acct1"&lt;BR /&gt;$ backup /del /before=1-jun-2007 - &lt;BR /&gt;&lt;BR /&gt;disk1:['user_acct'.FolderA...]*.*;* - &lt;BR /&gt;&lt;BR /&gt;DISK2:['user_acct'.FolderB.FolderA...]*.*;*&lt;BR /&gt;&lt;BR /&gt;===============================&lt;BR /&gt;The result it copied all the files but NO directories ??? I am not sure if the files inside the sub directories of FolderA were copied or not &lt;BR /&gt;&lt;BR /&gt;Any idea as to what I am doing wrong ?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 20 Jun 2008 20:25:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/problem-understanding-backup-script/m-p/5115120#M25717</guid>
      <dc:creator>nipun_2</dc:creator>
      <dc:date>2008-06-20T20:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problem understanding backup script</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/problem-understanding-backup-script/m-p/5115121#M25718</link>
      <description>&lt;!--!*#--&gt;&amp;gt; The result it copied all the files but NO&lt;BR /&gt;&amp;gt; directories ???&lt;BR /&gt;&lt;BR /&gt;So?  And the date-times of these directories&lt;BR /&gt;were ...?&lt;BR /&gt;&lt;BR /&gt;&amp;gt; I am not sure if the files inside the sub&lt;BR /&gt;&amp;gt; directories of FolderA were copied or not &lt;BR /&gt;&lt;BR /&gt;You want _me_ to tell you?  So far as I can&lt;BR /&gt;tell, only _you_ can see what's in these&lt;BR /&gt;directories, and you don't seem to want to&lt;BR /&gt;tell anyone.&lt;BR /&gt;&lt;BR /&gt;Adding "/LOG" to the BACKUP command should&lt;BR /&gt;tell you what's happening as it happens.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Any idea as to what I am doing wrong ?&lt;BR /&gt;&lt;BR /&gt;With almost no useful information to work&lt;BR /&gt;with, what did you expect anyone to tell you?</description>
      <pubDate>Fri, 20 Jun 2008 21:07:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/problem-understanding-backup-script/m-p/5115121#M25718</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-06-20T21:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: Problem understanding backup script</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/problem-understanding-backup-script/m-p/5115122#M25719</link>
      <description>I'd suggest posting up the actual and full text DCL of a reproducer, as well as the dates on the various files.&lt;BR /&gt;&lt;BR /&gt;BACKUP is one of the most confusing and complex commands, and the command is quite sensitive to the syntax.  Careful reading of the manuals and the finding and following of the command examples in the manual can be a valuable technique for working with BACKUP.  &lt;BR /&gt;&lt;BR /&gt;Until you get this working, I'd suggest avoiding /DELETE, and I might also select (at least) /LOG here, too. &lt;BR /&gt;&lt;BR /&gt;It is also likely that your directories have been modified since 1-Jun-2007, so they'd not likely be selected with the /BEFORE.  (/BEFORE assumes /MODIFIED, unless another time is selected as the target.)&lt;BR /&gt;</description>
      <pubDate>Fri, 20 Jun 2008 21:42:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/problem-understanding-backup-script/m-p/5115122#M25719</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2008-06-20T21:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problem understanding backup script</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/problem-understanding-backup-script/m-p/5115123#M25720</link>
      <description>nipun,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;$ backup /del /before=1-jun-2007 - &lt;BR /&gt;&lt;BR /&gt;disk1:['user_acct'.FolderA...]*.*;* - &lt;BR /&gt;&lt;BR /&gt;DISK2:['user_acct'.FolderB.FolderA...]*.*;*&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;Is this the _EXACT_ command you used? &lt;BR /&gt;Did you re-type it, or use copy-paste?&lt;BR /&gt;&lt;BR /&gt;(Note Hoff's remark on BACKUP complexity, if the acual command was not EXACTLY as presented here, the behavior COULD have been different!)&lt;BR /&gt;&lt;BR /&gt;_IF_ this was the full, excact command, then I would expect any DIRs _within_ [.FOLDERA...] _THAT HAVE ANY FILES IN THEM THAT QUALIFY THE SELECTION_ to be needed, and thus created, with the current date of command execution.&lt;BR /&gt;Any DIR file which itself qualifies follows the rule above.&lt;BR /&gt;Any DIR file which itself is newer, and does _NOT_ contain any files that needs copying, is NOT copied.&lt;BR /&gt;&lt;BR /&gt;Bottom line: Any file created before=... (same for any other selection qualifier) gets selected.&lt;BR /&gt;If in the course of performing that copy a directory that does not exist/has not yet been created will get automatically created.&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;jpe&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 21 Jun 2008 07:55:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/problem-understanding-backup-script/m-p/5115123#M25720</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2008-06-21T07:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem understanding backup script</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/problem-understanding-backup-script/m-p/5115124#M25721</link>
      <description>Thank you all for your efforts and your patience in working with the limited information. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Jun 2008 13:26:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/problem-understanding-backup-script/m-p/5115124#M25721</guid>
      <dc:creator>nipun_2</dc:creator>
      <dc:date>2008-06-23T13:26:39Z</dc:date>
    </item>
  </channel>
</rss>

