Usage of disc group to kick off Oracle RMAN backup
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 the percent.
Below is the snippet from the code which i am trying to achive.
file system structure:
------------------------
Every time i am running it i get an error too many arguments:
If someone can point me out the fix for the error , it will be helpful. thanks.
Last edited by Don Cragun; 04-14-2015 at 05:23 PM..
Reason: Add CODE tags.
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)
I have installed Solaris 11 Express on my machine and now I am wondering what is the best way to backup (to another hard disc) and restore the system hard disc content.
The backup should to be done every night using a script launched by cron and all previously done backups should be available to... (8 Replies)
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)
Hello,
Could someone tell me if I have this correct.
If I have 2 volume groups rootvg and datavg and wish to back these up to 21 tape how do I accomplish this.
I am currently using
mksysb /dev/rmt0.1 -V
savevg -f /dev/rmt0 datavg
I think this may be overwriting the rootvg however as... (3 Replies)
Hello,
I'm still learning unix and I have what is probably a simple question but I can't seem to find the question to. I have an Ultra 10 Sparc Server running solaris 8 and the drive may have crashed (I hope not). Currently, it appears some files in the /etc folder are missing. I have a backup... (1 Reply)
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)
Hi All,
I Downloaded Oracle 9.2.0.4.0 for Linux AS 4 and the file format is
Directions to extract the files
1. Run "gunzip <filename>" on all the files. Eg. ship_9204_linux_disk1.cpio.gz
2. Extract the cpio archives with the command "cpio -idmv < <filename>" Eg. cpio -idmv... (0 Replies)