![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Accessing variables of one shell script in another shell script | looza | Shell Programming and Scripting | 2 | 06-30-2008 04:13 PM |
| To call/execute a shell script from a shell script | konark | UNIX for Dummies Questions & Answers | 1 | 10-26-2007 02:16 PM |
| How to pass a parameter from one Shell-script to another Shell-script | subodhbansal | Shell Programming and Scripting | 2 | 09-22-2007 02:19 AM |
| Accessing variables of one shell script in another shell script | rsendhilmani | Shell Programming and Scripting | 1 | 04-30-2007 05:43 AM |
| Have a shell script call another shell script and exit | heprox | Shell Programming and Scripting | 2 | 11-20-2006 05:17 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
regarding shell script
helo I m porting my code from HP ux to linux RHEL 4
In one of my shell script for taking backup and to List archive volume information I m using folliowing code if [ "$MODE" != "DVD" ] then /etc/frecover -V $BKPINCLUDE -v -f $DEVICE else $DD if=$DEVICE bs=16k | $GUNZIP | \ /etc/frecover -V $BKPINCLUDE -v -f - umount_dvd where MODE=TPH DEVICE=/tmp/amit/pudslx04.sb.10-07-08.1934PDT.gz BKPINCLUDE=/tmp/bkp_include.vi now can u tell me in linux what i use instread of frecover. Amit Last edited by amitpansuria; 10-07-2008 at 02:45 AM. Reason: more clearance of problem statement |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
tar, cpio, dsm if you have it(IBM Tivoli TSM...), or pax...
Is it a server you are talking of? in which case you should have a true backup software you can rely on... |
|
#3
|
|||
|
|||
|
Regarding backup
Quote:
Thanks for your reply. Now I want to list volume information using ( Display the creation information of the backup media) using tar In my HP ux system when I say Display List voulme information using frecover it give me following information Listing tape volume information on /dev/rmt/0m Magic Field:FBACKUP_LABEL Machine Identification:9000/785 System Identification:HP-UX Release Identification:B.11.11 Node Identification:c8004 User Identification:root Record size:16384 Time:Wed oct 8 12:11:21 2008 Media Used: 0 volume Number: 1 Checkpoint frequency:256 Fast Search mark Frequency:200 Index Size:423764 Backup Identification Tag: 7160 1223493081 Language: Now I want to display same above information in Linux(RHEL 4). How do I do it.? or in linux is there any utility like frecover? Regards, Amit Last edited by amitpansuria; 10-07-2008 at 11:50 PM. Reason: to give more input |
|
#4
|
|||
|
|||
|
Thats why I mentionned the usage of a true backup software...
fbackup/frecover included with HPUX has no equivalent command under unix excep perhaps AIX's mksysb... fbackup creates a header on each tape for this information, includung how many times the tape has been used... and also a catalogue... and has include/exclude option file etc... You would have to write a script to put the info you want in a file with the catalogue of what you are going to archive then you have the choice of saving the lot to tape, or to save the first part to tape using a norewind device and append the backup after... |
|||
| Google The UNIX and Linux Forums |