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
IPTABLES-RESTORE(8)						  iptables 1.4.21					       IPTABLES-RESTORE(8)

NAME
iptables-restore -- Restore IP Tables ip6tables-restore -- Restore IPv6 Tables SYNOPSIS
iptables-restore [-chntv] [-M modprobe] ip6tables-restore [-chntv] [-M modprobe] [-T name] DESCRIPTION
iptables-restore and ip6tables-restore are used to restore IP and IPv6 Tables from data specified on STDIN. Use I/O redirection provided by your shell to read from a file -c, --counters restore the values of all packet and byte counters -h, --help Print a short option summary. -n, --noflush don't flush the previous contents of the table. If not specified, both commands flush (delete) all previous contents of the respec- tive table. -t, --test Only parse and construct the ruleset, but do not commit it. -v, --verbose Print additional debug info during ruleset processing. -M, --modprobe modprobe_program Specify the path to the modprobe program. By default, iptables-restore will inspect /proc/sys/kernel/modprobe to determine the exe- cutable's path. -T, --table name Restore only the named table even if the input stream contains other ones. BUGS
None known as of iptables-1.2.1 release AUTHORS
Harald Welte <laforge@gnumonks.org> wrote iptables-restore based on code from Rusty Russell. Andras Kis-Szabo <kisza@sch.bme.hu> contributed ip6tables-restore. SEE ALSO
iptables-save(8), iptables(8) The iptables-HOWTO, which details more iptables usage, the NAT-HOWTO, which details NAT, and the netfilter-hacking-HOWTO which details the internals. iptables 1.4.21 IPTABLES-RESTORE(8)
All times are GMT -4. The time now is 07:57 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy