06-09-2003
You can use the mt command (check the man page) and the fsf option to "file skip forward" to get to the last backup.
Make sure your device is one with the norewind
# /usr/bin/mt -f /dev/rmt/0n fsf 2
This would skip the first two ufsdumps and go to the begining of the third. If you don't know how many dumps are on it, then you will have to do this and start counting. It may take you awhile and you will have to find the number and then rewind and do a fsf to the number you found (since you would go beyond the end of the one you wanted while searching for how many are actually on the tape).
10 More Discussions You Might Find Interesting
1. Solaris
on sparc solaris 2.8 hosts, HOSTB, after changing to /dir1 need to:
connect to tape drive on HostA. change directory to /dir0/dir1 on tape and
restore everything under that path to /dir1 directory.
could i get help?. (1 Reply)
Discussion started by: S26+
1 Replies
2. Solaris
I'm trying to restore a server from a backup tape. I've partitioned my drive, and I've run into a problem; After extracting everything from the tape, It seems as if only the directory structure is intact. Here are my steps:
1. booted from cdrom to single user mode boot cdrom -s
2. used... (3 Replies)
Discussion started by: ECBROWN
3 Replies
3. Solaris
HI Gurus,
I have a sunfire V445 server running SAP ECC 6.0 with an Oracle database on Solaris 9 (SunOS 5.9). I recently completed a ufsdump to tape of the following files:-
/,
/usr,
/oracle,
/export,
/sapr3,
I want to restore these files from tape onto a different server of the same... (5 Replies)
Discussion started by: charleywasharo
5 Replies
4. Solaris
Hi , I accidentally deleted crontab entries and I need to restore back urgently ! we use a ufsdump with 0cfu option. I like to know how to restrore / retrieve to different location for crontab file only from the backup. Thanks. (4 Replies)
Discussion started by: skully
4 Replies
5. Solaris
Hi Gurus,
Can you guys please explain what is volume in ufsrestore?
Thanks (2 Replies)
Discussion started by: kumarmani
2 Replies
6. Solaris
hey all,
i did a ufsdump/restore from a mirrored system and i'm not able to get the new system to boot off of the dump.
system 1 is a v245 mirrored with disk suite. metadb's are in place
d3 -m d23 d13 d33 1
d23 1 1 c1t1d0s3
d13 1 1 c1t0d0s3
d33 1 1 c1t2d0s3
d0 -m d20 d10 d30 1
d20 1... (3 Replies)
Discussion started by: em23
3 Replies
7. Solaris
hi, on my sol9 box i create my backup using the below command:
/usr/sbin/ufsdump 0uf /dev/rmt/0n /u1
/usr/sbin/ufsdump 0uf /dev/rmt/0n /u2
/usr/sbin/ufsdump 0uf /dev/rmt/0n /u3
/usr/sbin/ufsdump 0uf /dev/rmt/0n /u4
now on the new sol10 box, to restore i use this commands:
cd /u1... (3 Replies)
Discussion started by: pinoy43v3r
3 Replies
8. Solaris
Hi Friends
we have sun T5240 server, we have taken ufsdump of this server remotely with scsi tapedrive, If we need to do ufsrestore means what we have to do, since T5240 has not having scsi port, any procedure is there?
Regards
Rajasekar (5 Replies)
Discussion started by: rajasekg
5 Replies
9. Shell Programming and Scripting
Good Afternoon,
I'm going to attempt a ufsrestore of a Solaris 9 machine from a connected NAS containing the ufsdumps. The idea is to be able to take ufsdumps of a failed machine (machine 1), and use them to set up a backup machine (machine 2). (I'm testing for disaster recovery)
Note... (52 Replies)
Discussion started by: Stellaman1977
52 Replies
10. UNIX for Beginners Questions & Answers
Good Morning,
I'm running through a Solaris 9 ufsrestore process on a Sunblade 2500 that folks here helped me write a year ago. Here: https://www.unix.com/303011447-post11.html
Hicksd8 tells me to # rm restoresymtable. I see this file in the other slices as well. Do I remove it from... (8 Replies)
Discussion started by: Stellaman1977
8 Replies
LEARN ABOUT HPUX
st_ats_enabled
st_ats_enabled(5) OBSOLETED st_ats_enabled(5)
NAME
st_ats_enabled - determine whether to reserve a tape device on open (OBSOLETED)
VALUES
Default
Allowed values
or
Recommended values
DESCRIPTION
Note: this tunable is obsoleted and has been renamed to beginning with release HP-UX 11i v3.
This tunable notifies the stape or estape driver whether it needs to reserve a tape device on open and subsequently release it on close.
When this tunable is on the stape or estape driver will attempt to reserve any tape device on open. The driver has a few tape devices
flagged as suitable devices for this functionality including DLT 8000, DLT 7000, STK 9840, HP Ultrium, and others. DDS drives are not
flagged for this functionality.
The tunable allows the safe sharing of tape devices in multinode configurations like MC/ServiceGuard's Advanced Tape Sharing. The auto-
matic reserve and release protects the tape device from being accessed from multiple nodes which would corrupt a backup. If the reserve
portion of the stape or estape driver's open routine fails, a status of is returned.
Who Is Expected to Change This Tunable?
Anyone.
Restrictions on Changing
Changes to this tunable take effect immediately and are used during the next open or close.
When Should the Tunable Be Turned On?
This tunable should be turned on if the system will be used in an MC/ServiceGuard Advanced Tape Sharing configuration or the user wants the
stape or estape driver to use automatic reserve or release on open and close for multinode manageability.
What Are the Side Effects of Turning the Tunable On?
A reserve is sent to the tape device by the stape or estape driver on open and a release is sent on close. No other initiator or HBA will
be able to access the tape device while it is opened on another initiator or HBA.
When Should the Tunable Be Turned Off?
This tunable should be turned off for any SAN tape sharing solution configuration other than ATS. Most multinode backup applications (for
example, Omniback) manage device reservation themselves and any interference by the stape or estape driver may produce problems. This tun-
able should also be turned off for any multiplatform SAN configuration to keep tape access across platforms more uniform.
What Are the Side Effects of Turning the Tunable Off?
Unauthorized access from another initiator might interfere with any current tape operation.
What Other Tunables Should Be Changed at the Same Time?
None.
WARNINGS
All HP-UX kernel tunable parameters are release specific. This parameter may be removed or have its meaning changed in future releases of
HP-UX.
Installation of optional kernel software, from HP or other vendors, may cause changes to tunable parameter values. After installation,
some tunable parameters may no longer be at the default or recommended values. For information about the effects of installation on tun-
able values, consult the documentation for the kernel software being installed. For information about optional kernel software that was
factory installed on your system, see at
AUTHOR
was developed by HP.
SEE ALSO
st_ats_enable(5), scsi_tape(7), scsimgr_estape(7).
Tunable Kernel Parameters st_ats_enabled(5)