08-15-2002
First - look to insure you can 'go both ways'
On system everest (the one with the tape drive) do a
% rsh systemX uptime
as the user who will be running the script. Then go from systemX (the one to be backed up) to system Everest.
% rsh everest_backup uptime
If you get a response both ways of the output of the uptime command (or one of your favorites) then the next problem is permissions on the tape drive. If you get permission denied, then there is still a problem with trust between the servers. That is usually the problem - check your /etc/hosts.equiv files or appropriate rhost files for the user and servers.
It's possible that a regular user can't backup to the tape drive. Sign in as the user that will be running the job on the client. See if you can manually cpio to the tape drive on everest.
If this all works, then run the script manually. If it works - run in cron.
Post back results for all test.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
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. 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
4. 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
5. 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
6. 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
7. Shell Programming and Scripting
HI all, im new to shell scripting. need your guidence for my script. i wrote one script and is attached here
Im explaining the requirement of script.
AIM: Shell script to run automatically as per scheduled and backup few network devices configurations. Script will contain a set of commands... (4 Replies)
Discussion started by: saichand1985
4 Replies
8. AIX
Hi all
The situation is as follows:
We need to take an mksysb image from an AIX 6.1 server. From some reason (irrelevant to this discussion) this server does not have access to a local CD-ROM or a tape drive. We do have another server with AIX 6.1 (but different technology level) which got access... (1 Reply)
Discussion started by: abohmeed
1 Replies
9. AIX
Hello,
I want to install GCC gcc-4.8.1-2.src.rpm for AIX 6.1
when I lance my command rpm -i gcc-4.8.1-2.src.rpm
I have this error
unpacking of archive failed on file gcc-4.8.1.tar.bz2: cpio: copy failed - No space left on device
I checked the free space and I am surpise becouse I have... (7 Replies)
Discussion started by: tatab355
7 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