8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello all,
I am facing a weird issue while executing a code below -
#!/bin/bash
cd /wload/baot/home/baotasa0/sandboxes_finance/ext_ukba_bde/pset
sh UKBA_publish.sh UKBA 28082015 3
if
then
echo "Param file conversion for all the areas are completed, please check in your home directory"... (2 Replies)
Discussion started by: ektubbe
2 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I need some advise on how to print 'sections' of the attached file. I am searching for some that says Marked Corrupt and print some lines after it.
At the moment I am running the command below:
sed -n -e '/Marked Corrupt/{N;N;p;}' rman_list_validate.txtThis gives me the following... (1 Reply)
Discussion started by: newbie_01
1 Replies
3. Shell Programming and Scripting
Hi guys, i need a small help. I was writing an automation script for import utility of oracle datapump. I am getting stuck in one part of the shell script where i am doing a grep on one of the filesystem and if it is above threshold then it would kick off an oracle RMAN backup. Fyi. i am grepping... (3 Replies)
Discussion started by: sub
3 Replies
4. Shell Programming and Scripting
Hi,
I have the following RMAN incremental shell script:
# !/bin/bash
export ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
export ORACLE_SID=ORCL
export PATH=$PATH:${ORACLE_HOME}/bin
rman target=/ << EOF
run {
allocate channel d1 type disk FORMAT... (3 Replies)
Discussion started by: royalibrahim
3 Replies
5. Shell Programming and Scripting
I am using blow script :--
#!/bin/bash
FIND=$(ps -elf | grep "snmp_trap.sh" | grep -v grep) #check snmp_trap.sh is running or not
if
then
# echo "process found"
exit 0;
else
echo "process not found"
exec /home/Ketan_r /snmp_trap.sh 2>&1 & disown -h ... (1 Reply)
Discussion started by: ketanraut
1 Replies
6. Shell Programming and Scripting
Hello
I'm trying to write simple script to delete archive logs for RMAN, unfortunately it's not working, I tried two way to do that:
#!/bin/ksh
echo "Start ....."
rman target=/ << EOF
RUN {
delete force noprompt archivelog until time 'sysdate-10';
}
EXIT;
EOF
echo "END ..."
echo... (6 Replies)
Discussion started by: samer.odeh
6 Replies
7. UNIX and Linux Applications
I'm a sysadmin trying to help out one of our DBA's setup the RMAN backups (Oracle 11g on rhel5 ) so they can schedule and control them from the OEM grid control. But we want the oracle user to use ssh keys instead of a password. I have the working rsa keys in place for the user but the GUI seems to... (0 Replies)
Discussion started by: samael00
0 Replies
8. Shell Programming and Scripting
Hi Experts,
Can anyone help me to write shell script for taking backup with RMAN in oracle 9i or suggests me any site which has this kind of scripts
Thanks
shaan (1 Reply)
Discussion started by: shaan_dmp
1 Replies
AMRMTAPE(8) System Manager's Manual AMRMTAPE(8)
NAME
amrmtape - remove a tape from the Amanda database
SYNOPSIS
amrmtape [ -n ] [ -v ] [ -q ] [ -d ] config label
DESCRIPTION
Amrmtape invalidates the contents of an existing backup tape in the configuration database. This is meant as a recovery mechanism when a
good backup is damaged either by faulty hardware or user error, e.g. the tape is eaten by the drive or is overwritten.
See the amanda(8) man page for more details about Amanda.
OPTIONS
-n Generate new tapelist and database files with label removed, but leave them in /tmp and do not update the original copies.
-v List backups of hosts and disks that are being discarded. Enabled by default.
-q Opposite of -v.
-d Run in debugging mode so all executed commands are shown.
EXAMPLE
Remove tape labeled DAILY034 from the DailySet1 configuration.
# amrmtape DailySet1 DAILY034
AUTHOR
Adrian T. Filipi-Martin <atf3r@cs.virginia.edu>
SEE ALSO
amadmin(8), amanda(8)
AMRMTAPE(8)