CPIO Backup End of Media


 
Thread Tools Search this Thread
Operating Systems SCO CPIO Backup End of Media
# 1  
Old 09-04-2008
Tools CPIO Backup End of Media

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 press RETURN key. [q] q

The tape device is DDS4 (20Gb) and there is only 3Gb of data on the machine so there should be plenty of room on a single tape.

I've tried a different tape drive with the same issue so I don't think it's a hardware problem.

Any help would be appreciated.
# 2  
Old 02-24-2009
I think you have to put a new tape in.
That's what we do.
Thanks,
TT
# 3  
Old 04-20-2009
CPIO Backup End of Media

I dont recommend multi tapes with CPIO.

To fit more onto a tape, I would suggest you use 'compress -H' to compress the data. Your initial find command is piped to compress -H which in turn is piped to the destination device

To read the contents of the tape you will need to use 'uncompress' which is piped from 'dd if' command and uncompress is piped to cpio
# 4  
Old 04-21-2009
2Gb limit in cpio?

May be better to look at "dump" and "restore".
# 5  
Old 04-21-2009
For individual files there is possibly a 2GB limit (I havent tested that limit myself), however the cpio archive itself can go to multiple GB's.
# 6  
Old 04-21-2009
How you back up is your choice..of course. The test of any backup type is your ability to successfully restore it, both on the source system and on a replacement system if the source system ever fails.
# 7  
Old 06-02-2009
Our problem was that the tape was finished (full) and we had to switch to another tape.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Cpio - input files (from list) are stored in different order inside cpio archive - why?

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

2. UNIX for Beginners Questions & Answers

Need to end Backup Process SCO Openserver 5

I was attempting to run a backup at our business last Friday evening when I apparently locked up our whole mainframe. Rather than observing the current time and adding a minute or two to that for the backup start time (like I typically would), I accidentally entered the actual current time to the... (11 Replies)
Discussion started by: hometrics
11 Replies

3. AIX

CPIO restoration from LTO2 tape media on AIX 4.3.3

Hi, AIXers :) Recently i'm playing around with cpio command, when i try to list out content from LTO2 Tape media using command: #cpio -itvc < /dev/rmt1 it's stopped at particular path 100777 root 1042591 Mar 24 10:09:05 2012 /home/uv/bin/usd and there was an error thrown out: ... (2 Replies)
Discussion started by: polar
2 Replies

4. UNIX for Dummies Questions & Answers

Remote Tape Backup Using cpio

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

5. Shell Programming and Scripting

rsync backup mode(--backup) Are there any options to remove backup folders on successful deployment?

Hi Everyone, we are running rsync with --backup mode, Are there any rsync options to remove backup folders on successful deployment? Thanks in adv. (0 Replies)
Discussion started by: MVEERA
0 Replies

6. SCO

cpio Backup and restore to spare server fails

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

7. UNIX for Advanced & Expert Users

extract cpio backup on tape

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

8. UNIX for Dummies Questions & Answers

backup with CPIO

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

9. UNIX for Dummies Questions & Answers

cpio backup to a remote device..

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

10. UNIX for Dummies Questions & Answers

backup listing(cpio)

Hi i am using HPUX and i want to know wht is the command to see the listing from the tape device.. i have taken the backup using cpio -ocvB>/dev/rmt/0m while seeing the listing using cpio -itvB</dev/rmt/0m it is not showing the listing giving message -c option sd be there if i put -c... (1 Reply)
Discussion started by: Prafulla
1 Replies
Login or Register to Ask a Question