khaw@parcplace.com (Mike Khaw) (12/06/90)
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? -- Mike Khaw ParcPlace Systems, Inc., 1550 Plymouth St., Mountain View, CA 94043 Domain=khaw@parcplace.com, UUCP=...!{uunet,sun,decwrl}!parcplace!khaw
rjacks@austlcm.sps.mot.com (rodney jacks/vlk9) (12/06/90)
>Can SR10.2 wbak output to a file?
Yes, give this a try.
wbak -to filename [file1] [file2]...
ex: wbak -to test.wbak test.dat
rbak -from filename [-all]
ex: rbak -from test.wbak -all
***********************************************************
** Rodney Jacks **
** Motorola Inc, Austin, Texas **
** E-mail: rjacks@austlcm.sps.mot.com **
** Time is just nature's way of keeping everything from **
** happening all at once. **
***********************************************************
krowitz@RICHTER.MIT.EDU (David Krowitz) (12/06/90)
Yes, with SR10.2 wbak has a "-to" option and rbak has a "-from" option which allow them to work with regular I/O stream files. -- David Krowitz krowitz@richter.mit.edu (18.83.0.109) krowitz%richter.mit.edu@eddie.mit.edu krowitz%richter.mit.edu@mitvma.bitnet (in order of decreasing preference)
thompson@ELROND.SSEC.HONEYWELL.COM (John Thompson) (12/06/90)
> 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 <command> 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)