Solved

Access a SCO UNIX floppy on a server 2003 or XP machine

Posted on 2009-07-01
8
615 Views
Last Modified: 2013-12-05
We have a SCO UNIX box that has (runs) all of our machine programs.
We backup up the programs to floppy disk (UNIX floppy formatted).
The UNIX box is a standalone unit (no network)

Is there a way to read the floppy disks on a windows server 2003 or XP box and save the files to hard drive (on NTFS), so they could be put on backup tape and still be able to retrieve the files also?

Thxs in advanced!
0
Comment
Question by:Fubr
  • 4
  • 4
8 Comments
 
LVL 1

Expert Comment

by:compbiz
ID: 24763112
Will inserting a DOS formatted floppy into the Unix server and use the doscp command to copy the files to the floppy and then read the floppy from the Windows server/PC be a suitable solution for you?

0
 

Author Comment

by:Fubr
ID: 24766544
Yes that is works great!!!!
I can open it on any windows computer and even edit it with notepad.
But I need the other half.....I can't pull it back off the floppy to the unix box.

Here is what I tried....
doscp a:filename path/to/file
(doscp a:SS1CAN451 u/mm4/usr_data/sub)
cp a:SS1CAN451 u/mm4/usr_data/sub

(file name is SS1CAN451 - no extension)
I get either can't find file or can't find device........

I am running the commands from the root directory...should I be on the floppy device when I run the command?

Thxs compbiz
0
 
LVL 1

Accepted Solution

by:
compbiz earned 500 total points
ID: 24766609
use doscp again

Watch for case sensativity.  Sometime we have had it go to uppercase when reading from Windows and the back to Unix.

Use dosls to see what is on the floppy.


Here cut and paste the below into a script called batch.dos.  chmod 755 batch.dos and then run it.  
It is something I wrote a few years ago (actually in looking at it more than a few)  


#!/bin/sh
# By Clinton A. Pownall
# 03/04/1994
# batch.dos
# Copy An Entire DOS Floppy Or DOS Floppy Subdirectory To a specified path
# example:  batch.dos a: .
#     copies DOS a drive to current directory
#   batch.dos a:/a_subdir_name /u/my_directory
#  copies the the entire subdirectory specified to a unix directory

names=`dosls $1 | tr "[A-Z]" "[a-z]"`
for i in $names
do
   doscp $1/$i .
   echo "copying " $i
done



0
 

Author Comment

by:Fubr
ID: 24767376
Your right (case), I did the "dosls" to see what was on the floppy and it was SS1CAN~1
I ran the command:    doscp a:SS1CAN~1 u/mm4/usr_data/sub
And it copied the file, but with the SS1CAN~1 name. I was able to rename it.

Is there a way to keep it from trucking the name? (using the ~ character when I copy the file)

Thxs
0
Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

 
LVL 1

Expert Comment

by:compbiz
ID: 24767502
To my knowledge the dos commands do not support long filenames only the original DOS limitation of 8.3 (Eight dot Three).  These commands, although included in the OS, are not supported by SCO.   They came from the AT&T system V and have not changed.     If they are the same files then you can write a script that renames them each time.

Any reason the SCO Server you are using is not on your network?

0
 

Author Comment

by:Fubr
ID: 24767577
Knowledge!!   (LOL)
I would love to do that (very much so), but not sure about how to bind/setup the network.
That is the best option....I'm just shy of the know how, and short of time to stay focus on it.
(single admin of a 150 user shop)
If I could get  someone to help me through it, I would make the time  (hint hint)  LOL
0
 

Author Closing Comment

by:Fubr
ID: 31598854
Thanks again for the help compbiz, I appreciate it!!
invite is still open for the network card.....(hint)

Fubr
0
 
LVL 1

Expert Comment

by:compbiz
ID: 24767877
Check out www.scoservice.com Call on Monday.
Need to run the following commands

uname -X

scoadmin lic   (Need to know what SCO Enterprise System you have.  If it is Host you will have to upgrade to Enterprise.)


0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Scenerio: You have a server running Server 2003 and have applied a retail pack of Terminal Server Licenses.  You want to change servers or your server has crashed and you need to reapply the Terminal Server Licenses. When you enter the 16-digit lic…
A quick step-by-step overview of installing and configuring Carbonite Server Backup.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now