[comp.os.vms] MAY28.MAI

hwang.WBST147@XEROX.COM.UUCP (05/29/87)

Note: VMS BACKUP question 5/29/87


Greetings to the Netlanders:

While working on VMS BACKUP command, I found a "surprise". 
Accoding to the documentation, 

	$ backup/record  input output

will record the current date on the backup date field of each file header. 

	$ Backup input/select=backup/backup output

Will do the incremental backup of those files dated equal to or later than 
the last backup time of the file.

I tried the following procedure after a full backup with record qualifier 
enabled and as I said was surprised.  A lot of files that are not supposed 
to be selected were in the output save set, i.e. no incremental effect was
noticed. 
Could somebody tell me what is wrong in the procedure ? 

$  m_d = "May28"
$  dev = "zfa0"
$  uic = "300006"
$  tgt = "''dev':[''uic'.save]"
$  backup/buffer=5/log/record/ignore=(interlock)/journal=bu.jnl -
        'dev':['uic'...]/since=backup/backup/-
              excl=(j.*,*.tmp,*.jnk,junk.*,*.log,*.jnl,*.bck) -
        'tgt''m_d'.bck/save/owner=original/label='m_d'I

P.S. After I ran this procedure, I found, instead of  the backup date field, 
     the REVISED DATE field was changed. 

This site is running  VMS 4.5 distributed by Intergraph Corp.