Operating System - HP-UX
1834942 Members
2274 Online
110071 Solutions
New Discussion

Copying reading to/from Floppy disk

 
SOLVED
Go to solution
Seah Hee Chuan
Occasional Advisor

Copying reading to/from Floppy disk

Hi all

I had copy one of my directory using 'find . -printf | cpio -ocBxv > /dev/rfloppy/c0t0d0'

Now I wanted to know whether my data had been backup on the disk. In addition, may I know how can I transfer what I had saved on the disk to my workstation again.
I had using UX10.20b
5 REPLIES 5
Stephen Keane
Honored Contributor
Solution

Re: Copying reading to/from Floppy disk

To see what you have backed up

# cpio -icBvt < /dev/rfloppy/c0t0d0

To recover what you have backed up

# cpio -icBvdmux < /dev/rfloppy/c0t0d0



Seah Hee Chuan
Occasional Advisor

Re: Copying reading to/from Floppy disk

Thanks

But when I recover the data from the disk, which directory does it goes to?

In addition, if I wish to copy the data in the floppy to another directory A: what command shall I type?

Thank You
Stephen Keane
Honored Contributor

Re: Copying reading to/from Floppy disk

To answer your first question. As you have selected the files using

# find . -print

they will have a relative path, so when you recover them, they will be recovered relative to the directory you are in when you run the recovery command.

e.g.

Say you have a file /home/foo
If you cd to /home and issue your backup command, you will backup "./foo"
Then if you cd to /tmp and issue your recovery command, you will recover foo in /tmp and get a new file /tmp/foo (unless a file of that name already exists, in which case you will over-right it).

I don't understand your second question, unless you are trying to backup files on a unix box and copy them to a Windows PC?

Seah Hee Chuan
Occasional Advisor

Re: Copying reading to/from Floppy disk

Thanks alot

Seah Hee Chuan
Occasional Advisor

Re: Copying reading to/from Floppy disk

Thank you