Unix Technical Forum

RMAN BACKUP Script used by Macro

This is a discussion on RMAN BACKUP Script used by Macro within the Oracle Database forums, part of the Database Server Software category; --> Hi Rogers I checked the www.dizwell.com,its a very good web site. I found a backup script there, but it ...


Go Back   Unix Technical Forum > Database Server Software > Oracle Database

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-23-2008, 08:50 AM
Chuck Lee
 
Posts: n/a
Default RMAN BACKUP Script used by Macro

Hi Rogers

I checked the www.dizwell.com,its a very good web site.
I found a backup script there, but it performs a non RMAN backup.
Could some one inform , where should I find a RMAN BACKUP Script which
can be used by Macro as we see in www.dizwell.com.

Thnaks

Lee
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-23-2008, 08:50 AM
Volker Hetzer
 
Posts: n/a
Default Re: RMAN BACKUP Script used by Macro


"Chuck Lee" <pklalee@hotmail.com> schrieb im Newsbeitrag news:45b3fd33.0404270845.18cf1247@posting.google.c om...
> Hi Rogers
>
> I checked the www.dizwell.com,its a very good web site.
> I found a backup script there, but it performs a non RMAN backup.
> Could some one inform , where should I find a RMAN BACKUP Script which
> can be used by Macro as we see in www.dizwell.com.


If this is not just spam and you really want help, could you perhaps
post the link to the backup script?

Volker
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-23-2008, 08:51 AM
Howard J. Rogers
 
Posts: n/a
Default Re: RMAN BACKUP Script used by Macro

Chuck Lee wrote:

> Hi Rogers
>
> I checked the www.dizwell.com,its a very good web site.
> I found a backup script there, but it performs a non RMAN backup.
> Could some one inform , where should I find a RMAN BACKUP Script which
> can be used by Macro as we see in www.dizwell.com.
>
> Thnaks
>
> Lee



Oh please.

First, the name is Howard, not Rogers.

Second, you asked for suggestions regarding VB scripting, and I
suggested this to show you one. In particular, you wanted to know how to
output text files from within a VB script. You didn't ask to see backup
scripts, or RMAN scripts, but for help with VB scripting in general.

Third, the script at dizwell has enough examples of coding that anyone
with even a modicum of effort could knock up their own variants to do
all sorts of things.

Fourth, this is an Oracle newsgroup, not a VB scripting one.

Five, what's on the website is on the website. What isn't, isn't. Live
with it.

Six. How complicated do you think an RMAN backup would get? "Backup
database;" is the only command that really needs issuing in 9i. You
really want a VB script macro to issue that... or do you think typing 16
characters on your keyboard might be more efficient?

Seven, I give up. Here's the script you want:

strFileOut="beginbackup.txt"
set objFS=CreateObject("Scripting.FileSystemObject")
set objOutFile=objFS.OpenTextFile(strFileOut,2,1)
strOutput="backup database;"
objOutFile.WriteLine strOutPut

set WShShell=CreateObject("WScript.Shell")
WShShell.Run "rman target / @beginbackup.txt"

....which you could have deduced from the very first subroutine of the
script at www.dizwell.com.

HJR
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-23-2008, 08:51 AM
Gordon
 
Posts: n/a
Default Re: RMAN BACKUP Script used by Macro

This is an Oracle group, not VB group

"Chuck Lee" <pklalee@hotmail.com> wrote in message
news:45b3fd33.0404270845.18cf1247@posting.google.c om...
> Hi Rogers
>
> I checked the www.dizwell.com,its a very good web site.
> I found a backup script there, but it performs a non RMAN backup.
> Could some one inform , where should I find a RMAN BACKUP Script which
> can be used by Macro as we see in www.dizwell.com.
>
> Thnaks
>
> Lee



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:13 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com