Sponsored Content
Operating Systems HP-UX HP-UX 10.20 fbackup? restore help/guidance needed Post 302223772 by jastuart on Monday 11th of August 2008 10:39:27 AM
Old 08-11-2008
HP-UX 10.20 fbackup? restore help/guidance needed

Hello,

We've recently had a multiple hardrive failure in our legacy HP9000. Now the drives are repaired and the filesystems are recreated, I went to restore the last of the database tables from our dds3 backup, but cannot. Here's what's going on: BTW, I'm an absolute novice w/ HP-UX

The Backup Script:

/usr/sbin/fbackup -f /dev/rmt/0m -g /file.list -y -v > backup.log 2>&1&
cd /new/
find . -mtime +15 -name '*.log' -exec rm {} \;
find . -mtime +10 -name '*.rrr' -exec rm {} \;
cd /home/programs/ingres/files
cat /dev/null > errlog.log

The rmt directory:


# ls /dev/rmt/
0m 0mn c2t0d0BEST c2t0d0BESTn stape_config
0mb 0mnb c2t0d0BESTb c2t0d0BESTnb


The results of frecover: (I put the third tape of 3 in the drive) tried the others as well . . .

# frecover -f /dev/rmt/0m -xov -i /new
frecover(5409): unable to read volume header
frecover(5418): not an fbackup volume; unable to read volume header
frecover(2105): did not find expected file marker
frecover(5412): Do you wish to try to salvage this volume? [yes no] no
frecover(5411): Do you wish to try a different volume? [yes no] no
frecover(5414): abort selected
frecover(4301): /new not recovered from backup media



I am trying to recover the directories /new and /new1 but it appears that either my syntax is wrong, all three of my backup up tapes are bad, or . . ?

I've cleaned the drive numerous times and tried a different DDS3 drive with same results. I even tried to restore it using the SAM . . . with the same results as above for frecover.

I have tried to list the contents of the tape:

# tar -tvf /dev/rmt/0mn new
# tar -tvf /dev/rmt/0m
Tar: tape read error
# tar -tvf /dev/rmt/0m new
# mt -t /dev/rmt/0mn fsf 1
# mt -t /dev/rmt/0mn fsf 1
fsf 1 failed: I/O error

Any guidance/advice for Sysadmin with little experience in the RISCier field? Thanks in advance.
 

10 More Discussions You Might Find Interesting

1. HP-UX

Backup using fbackup

Dear All, We have Universe database on HP-UX Servers, when we take back on DDS3 it completes around 48 Gb data on just one tape. As per DDS media specs it can hold upto 24 GB compressed data. How it is managing more than double data..? (3 Replies)
Discussion started by: Kashif Raees
3 Replies

2. HP-UX

fbackup endind with wraning how to check on a script fbackup is good

Hi, I am writing a script that is doing a fbackup during the night and before it shutdown the database then run the fbackup then at the end before restarted the data base, I would like to check the status that the fbackup is fine but I always have warning (about socket: fbackup(1102): WARNING:... (2 Replies)
Discussion started by: touny
2 Replies

3. Shell Programming and Scripting

A little guidance needed :)

Hi guys, I'm learning the ropes of BASH and am doing a few exercises to see if its sinking in but have gotten stuck on something I KNOW is looking at me right in the face but just isn't registering. I'm creating a script that needs to get specific strings from a line. So using the "ls -l... (9 Replies)
Discussion started by: shadow0001
9 Replies

4. UNIX for Advanced & Expert Users

Guidance needed for quick script

Hi all, I am trying to get the exception count daily from a log file which is more than 1 GB in size. I am using loops which get the count of the exception and transaction. But i need to take this exception count for a time frame from 5.00 am to 5:00 pm. I Think I can use to exact the... (4 Replies)
Discussion started by: senthilkumar_ak
4 Replies

5. HP-UX

fbackup

Hey guys im trying fbackup, what kind of device should be used for the output. i tried to put the output into a disk that i LVM and to /tmp but it wont work, theres an error saying that its not a valid device for backup. (14 Replies)
Discussion started by: sbn
14 Replies

6. HP-UX

Backup Script using fbackup command Help Needed.

Hi Friends, I'm new to unix, I have the below script which takes regular backup. Now if fbackup fails I get the below messages in my log as fbackup(3047): could not open output file /dev/rmt/0m fbackup(3019): would you like to enter a new output file? fbackup(3004): writer aborting... (4 Replies)
Discussion started by: avik.nandi
4 Replies

7. HP-UX

fbackup problem

Hi, I have a fbackup step as below in HP-UX /bin/nice /etc/fbackup -f /dev/rmt/0m -i / -I /opt/monitrol/tmp/Index.full Now the errors that i will get in case of the fbackup step, I want to redirect them to a file. Please help me how to redirect to a file. Thanks, Avik. (4 Replies)
Discussion started by: avik.nandi
4 Replies

8. Shell Programming and Scripting

Guidance needed for a typical shell script with sql query

Hi , I have a txt file with contents like: 1234 2345 3456 7891 I need to write a script which takes input file as txt file..run a sql query for that number and place the output of query in another file.. select * from bus_event where acct_nbr='1234'( from input txt file) the query... (20 Replies)
Discussion started by: Rajesh Putnala
20 Replies

9. HP-UX

Fbackup aborts exactly at 2 GB

i tried to take a backup by using fbackup command. But it exactly aborted after taking backup of 2GB data. pleasse guide me how should i proceed to overcome this problem. The command i used is: fbackup -0 -y -f /dir1 \ -g fbackup_graph \ -c fbackup_config ... (6 Replies)
Discussion started by: siva3492
6 Replies

10. HP-UX

Fbackup to multiple files

I suffered a fault on a tape drive and would like to redirect my fbackup from /dev/rmt/0m to a NFS Share. I have mounted a NFS share in /mnt/NFSShare. When I run the following command: /etc/fbackup -0 -uv -i /backup2/BEM/BEML1 -c /usr/local/scripts/backup/fbackup_config -f... (2 Replies)
Discussion started by: Iceman_Pol
2 Replies
device_maps(4)                                                     File Formats                                                     device_maps(4)

NAME
device_maps - device_maps file SYNOPSIS
/etc/security/device_maps DESCRIPTION
The device_maps file contains access control information about each physical device. Each device is represented by a one line entry of the form: device-name : device-type : device-list : where device-name This is an arbitrary ASCII string naming the physical device. This field contains no embedded white space or non- printable characters. device-type This is an arbitrary ASCII string naming the generic device type. This field identifies and groups together devices of like type. This field contains no embedded white space or non-printable characters. device-list This is a list of the device special files associated with the physical device. This field contains valid device special file path names separated by white space. The device_maps file is an ASCII file that resides in the /etc/security directory. Lines in device_maps can end with a `' to continue an entry on the next line. Comments may also be included. A `#' makes a comment of all further text until the next NEWLINE not immediately preceded by a `'. Leading and trailing blanks are allowed in any of the fields. The device_maps file must be created by the system administrator before device allocation is enabled. This file is owned by root, with a group of sys, and a mode of 0644. EXAMPLES
Example 1: A sample device_maps file # scsi tape st1: rmt: /dev/rst21 /dev/nrst21 /dev/rst5 /dev/nrst5 /dev/rst13 /dev/nrst13 /dev/rst29 /dev/nrst29 /dev/rmt/1l /dev/rmt/1m /dev/rmt/1 /dev/rmt/1h /dev/rmt/1u /dev/rmt/1ln /dev/rmt/1mn /dev/rmt/1n /dev/rmt/1hn /dev/rmt/1un /dev/rmt/1b /dev/rmt/1bn: FILES
/etc/security/device_maps SEE ALSO
allocate(1), bsmconv(1M), deallocate(1), dminfo(1M), list_devices(1) NOTES
The functionality described in this man page is available only if the Basic Security Module (BSM) has been enabled. See bsmconv(1M) for more information. SunOS 5.10 16 Jan 2001 device_maps(4)
All times are GMT -4. The time now is 10:50 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy