SUMMARY: Copy directory tree from VMS to OSF/1

From: Yizhong Zhou <zhou_at_grumpy.cs.usm.maine.edu>
Date: Fri, 27 Oct 1995 14:35:48 -0400 (EDT)

Hi,

My Original Question:

> Is there an easy way to copy a whole directory tree from a VMS to an
> OSF/1 3.2 system (the tree is quite deep and contains both binary and
> ASCII files)? I tried tar but the tar utility on OSF/1 didn't seem to
> recognize the tar file generated by VMS. Any suggestions? Thanks.


Suggested Solutions:

1. Use VMS tar to tar the VMS directory to a file, ftp the file to
   the alpha (in binary mode), and then untar it. The commands are

   On VMS: $tar -dcf foo.tar [.somedir...]
   On OSF/1: tar -xf foo.tar


2. Use VMS backup to save the directory to a saveset, ftp the saveset
   to the alpha (in binary mode), and then use vbackup to restore the
   directory from the saveset (vbackup can be installed from the OpenVMS
   & DEC OSF/1 Interoperability Tools CD). The commands to use backup
   and vbackup are

   On VMS: backup [.somedir...] foo.sav/save_set
   On OSF/1: vbackup -I -xf foo.sav -O tempdir///


3. NFS mount the VMS directory to the alpha.

4. Use 'xdir', available at phoenix.ocf.llnl.gov.

5. If there is Multinet on the VMS node, use

     $ rcp/recursive/username=au [...]*.*; christa::vms_stuff

   substituting appropriately, and setting up a .rhosts on the
   Unix host (named christa).



I tried solutions 1 and 2. They both worked fine--both binaries and
ASCII files are transfered correctly.

Originally, I reported that tar didn't work as I got the following
message:

  tar: foo.tar : This doesn't look like a tar archive
  tar: foo.tar : Skipping to next file...
  tar: Ready for volume 2
  tar: Type "go" when ready to proceed (or "quit" to abort):

After being told by people that tar had worked for them, I retried
it and found although tar gave the above message, it did restore the
directory tree.


My heart-felt thanks to:


Michael Barton Michael.M.F.Barton_at_Warton.bae.eurokom.ie
Jim Belonis belonis_at_dirac.phys.washington.edu
Terje Sten Bjerkseth tsb2admintec.no
Bernt Christandl beb_at_rosat.mpe-garching.mpg.de
Eugene Chu chu_at_musp0.Jpl.Nasa.Gov
Knut Helleboe Knut.Hellebo_at_nho.hydro.com
S. Hergeth hergeth_at_f7axp1.informatick.fh-muenchen.de
Winfried Huber win_at_bukan.ffb.eunet.de
Pecsenyanszky Istvan pecseny_at_inf.bme.hu
Jim Neeland neeland_at_madmax.hrl.hac.com
Paul A Sand pas_at_keokuk.unh.edu


Have a good weekend!


---
Yizhong Zhou
Department of Computer Science
University of Southern Maine
Portland, Maine 04103 U.S.A.
Email: zhou_at_usm.maine.edu
Phone: (207) 780-4515
Received on Fri Oct 27 1995 - 19:58:09 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:46 NZDT