Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!ucsd!ucbvax!ELROND.SSEC.HONEYWELL.COM!thompson From: thompson@ELROND.SSEC.HONEYWELL.COM (John Thompson) Newsgroups: comp.sys.apollo Subject: re: wbak to a file? Message-ID: <9012061559.AA27107@pan.ssec.honeywell.com> Date: 6 Dec 90 15:59:07 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 72 > Does SR10.2's WBAK allow you to write its output to a file instead > of insisting on a tape/floppy device? The help file only discusses > the latter. I have 1 Apollo on my ethernet. It has 500+ MB used on > its local disk and only a puny 60 MB cart. tape drive. I'd like to > back it up over the net to a floptical on a Sun server. Should I > use tar instead? From my 'help wbak' (at 10.2) command -- | 10.0;wbak (write_backup), revision 1.0, 88/04/15 | wbak (write_backup) - create a magnetic media backup file | usage: wbak -f fileno [-dev | m[unit] | f | ct] | [-full|-incr|-af dtm|-bef dtm] | [-fid id] [-own id] [-vid vol_id] | [-sla|-nsla] [-wla|-nwla] [-nhi] [-pdtu] | [-reo] [-reten|-nreten] [-no_eot] [-rew] [-unl] | \\ [-sysboot] [-l|-ld|-lf|-ll] | ====>> [-to filename] [-type uasc|unstruct|hdru] | // [-r] [-stdout] [-presr10] pathname... | | | | DESCRIPTION | wbak writes one or more objects to either a removable media, disk | file or standard output. .... | . | . | . | | OPTIONS | . | . | . | Backup Device Control | -to filename Backup output is written to the specified streams object | rather than removable media. This can then be restored | using the -from option in rbak. If the file already | exists, use the -r option to replace it. If -type option | is not specified the file will be assigned the default | type. You cannot use the -file n option with streams. | | -type [uasc | unstruct | hdru] | Specify the type of the object filename. It can be one of | ASCII (uasc), Unstructured (unstruct) or Streams header- | undefined (hdru) type. | | -r If the object specified with the -to option already | exists, this option allows it to be replaced. The type of | filename is however left unchanged. | | -stdout The backup output is written to standard output. | . | . | . If your Sun's floptical is NFS-mounted (and NFS is working :-) you should be able to just wbak //apollonode/backup-pathname -to /NFSmountpt/floptical/apollo.90.12.06.wbak If it isn't NFS-mounted, you'll need to pipe stuff around wbak //apollonode/backup-pathname -stdout | rsh sunhost and I'm not sure on the rsh syntax etc etc etc. Have fun John Thompson (jt) Honeywell, SSEC Plymouth, MN 55441 thompson@pan.ssec.honeywell.com As ever, my opinions do not necessarily agree with Honeywell's or reality's. (Honeywell's do not necessarily agree with mine or reality's, either)