[Info-vax] Backup to remote tape drive

Wilm Boerhout w6.boerhout at planet.nl
Tue Dec 15 14:21:00 EST 2009


Syltrem mentioned  on 15-12-2009 19:13:
> "JF Mezei" <jfmezei.spamnot at vaxination.ca> a écrit dans le message de news: 
> 00e0cbaf$0$6698$c3e8da3 at news.astraweb.com...
>> Syltrem wrote:
>>
>>> $ allocate mkb400 tapedev
>>> %DCL-I-ALLOC, _SYBILE$MKB400: allocated
>>> $ init mkb400 hera
>>> $ mount/nounload/over:id/block=8192/noassist mkb400
>>> %MOUNT-I-MOUNTED, HERA mounted on _SYBILE$MKB400:
>>> $ convert/fdl=saveset.fdl sys$net mkb400:heradsa0.bck
>>> %CONV-F-OPENIN, error opening HERA::"0=OPERATEUR/
>>> BACKUP_SERVER" as input
>>
>> Convert wants exclusive access to the file. SYS$NET is already opened by
>> the decnet task.
>>
>>
>> Have you tried COPY instead of convert ?
>>
>> or  file copy operayion with BACKUP ?
>>
>> $BACKUP/IGNORE=INTERLOCK SYS$NET: mkb400:heradsa0.bck
>>
>>
>> Another possibility would be to pre-mount the tape as a system drive
>> that anyone can write to. Then the backup operation on HERA would
>>
>> BACKUP <source>  SYBILE::MKB400:heradsa0.bck  and let FAL do its magic.
>> You mght have to adjust block size to 512 if FAL only wants that 
>> blocksize.
>>
>>
> 
> Hi JF
> 
> See
> 5.42.5 How do I write a BACKUP saveset to a remote tape?
> at http://hoffmanlabs.org/vmsfaq/vmsfaq_011.html
> 
> That's what I did
> 
> The problem is not with SYS$NET per se, but because of
> -SYSTEM-F-LINKDISCON, network partner disconnected logical link
> 
> I don't know why it disconnects.
> 
> Syltrem

This one has always worked for me:
It gives you just one NETSERVER.LOG per session.

$! BACKUP_SERVER.COM
$! Remote tape service via DECnet
$!----------------------------------
$! on tapeless system use:
$!
$!      $ BACKUP somefiles -
$!        SOMENODE"system password"::"TASK=BACKUP_SERVER" -
$!        /BLOCK=16384 /SAVE
$!----------------------------------
$ Set NoOn
$ Set RMS /Network=32 ! 32*512=16384, largest record
$ Alloc MUA3: TAPE
$ Mount /NoAssist /Over=ID /Block=16384 TAPE
$ Convert /Stat SYS$NET TAPE:Remote.BCK /FDL=SYS$INPUT
$DECK
RECORD
         FORMAT  Fixed
         SIZE    16384
$EOD
$ Dismount /Unload TAPE
$ Stop /ID=0


/Wilm



More information about the Info-vax mailing list