10-10-2001
cpio -itvcB < /dev/rmt/0m
should do it. And I just tested on my HP-UX system. You used -c as you wrote the tape so certainly you need -c to read it. But when cpio asks for -R you probably have a bad tape.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
Needing to perform a backup of one system to the tape unit on another system. Why, well because the local tape device is stuffed and I desparately need to have a backup completed successfully sooner rather than not at all.
My question is how do I set the below code to allow me to perform... (3 Replies)
Discussion started by: Cameron
3 Replies
2. UNIX for Dummies Questions & Answers
Hi All,
I have a tape backup(DDS2) with cpio. I want to restore just some directory from this device but I do not know the command ??
other question
what is the best cpio command to take more than 8 GB data ?
thanks
Alice (1 Reply)
Discussion started by: alisevA3
1 Replies
3. HP-UX
HI All
I have created the bootable recovery tape using the ignite command make_tape_recovery, I need help for the command to list the content recorded in that tape.
Regards,
Gege:confused: (1 Reply)
Discussion started by: cgege
1 Replies
4. SCO
I'm having problems getting backups working on SCO OpenServer 5.7.
using the following command:
find / -depth -print | cpio -ocvB -O /dev/rct0
some files are backed up then the following error is reported:
Reached end of medium on output.
Device /dev/rct0: Change to part 2 and... (6 Replies)
Discussion started by: RMA1
6 Replies
5. UNIX for Advanced & Expert Users
Hi,
I was wondering, If I take a backup using cpio to tape from UNIX, can I extract data on windows box using cpio for windows? Anybody ever do this?
Thanks. (1 Reply)
Discussion started by: yonez
1 Replies
6. UNIX for Dummies Questions & Answers
I've searched about a bit and more than likely, I'm not entering the correct search phrase, but my question is as follows:
When a user does an 'ls' (and whatever various flags needed) and in the results, we see duplicate or backup files from editing. IE:
file1.txt
file1.txt~
Is there a... (3 Replies)
Discussion started by: Brusimm
3 Replies
7. SCO
Our company purchased a spare HP ML350 server - identical to current one in use to act as minimal downtime replacement should the inevitable happen.
After install of OS 5.0.7 and restore of cpiobackup I get this message:
-: Syntax error: Hostname= $inexpected
The SCO licence policy... (4 Replies)
Discussion started by: moondogi
4 Replies
8. SCO
Hi.
I have this old server onto which i needed to list the content of a tape. This is a SCO box (SCO_SV 3.2 5.0.6 i386) and backup was done using cpio.
#tape status
status : ready beginning-of-tape
soft errors : 0
hard errors : 0
underruns : 0
#dtype /dev/rct0
/dev/rct0 ... (5 Replies)
Discussion started by: Stephan
5 Replies
9. UNIX for Dummies Questions & Answers
Hi all,
I've got two HP machines running HP-UX 11.31 and would like to remotely backup one server onto another server's tape unit using the cpio command.
The two servers use a secured communication channel, i.e ssh.
Kindly help,
Koketso (1 Reply)
Discussion started by: Koketso
1 Replies
10. UNIX for Advanced & Expert Users
Due to budget constraints I have to reinvent an Enterprise backup system in a SPARC (sun4v) Solaris estate (10 & 11). (yep - reinvent wheel, fun but time consuming. Is this wise?! :confused: )
For each filesystem of interest, to try to capture a 'catalog' at the front of each cpio archive (for... (1 Reply)
Discussion started by: am115998
1 Replies
cpio.h(3HEAD) Headers cpio.h(3HEAD)
NAME
cpio.h, cpio - cpio archive values
SYNOPSIS
#include <cpio.h>
DESCRIPTION
Values needed by the c_mode field of the cpio archive format are described as follows:
Name Description
C_IRUSR Read by owner
C_IWUSR Write by owner
C_IXUSR Execute by owner
C_IRGRP Read by group
C_IWGRP Write by group
C_IXGRP Execute by group
C_IROTH Read by others
C_IWOTH Write by others
C_IXOTH Execute by others
C_ISUID Set user ID
C_ISGID Set group ID
C_ISVTX On directories, restricted deletion flag
C_ISDIR Directory
C_ISFIFO FIFO
C_ISREG Regular file
C_ISBLK Block special
C_ISCHR Character special
C_ISCTG Reserved
C_ISLNK Symbolic link
C_ISSOCK Socket
The header defines the symbolic constant:
MAGIC "070707"
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
SEE ALSO
pax(1), attributes(5), standards(5)
SunOS 5.10 10 Sep 2004 cpio.h(3HEAD)