Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Online Backup Oracle 7.3

Online Backup Oracle 7.3

From: Henrik Ørsted Hansen <hha_prv_at_post3.tele.dk>
Date: 28 May 1998 10:13:38 GMT
Message-ID: <01bd8a21$4ab6f4e0$4f7befc2@hha-prv>


Hi DBA's

It is not a problem to write a script, which performs online backup. But I want my backup dynamic, so if an ekstra datafile is added, it is automatically added to the backup routine.

The platform is Digital Alpha NT, but thats not important. I had in mind, that the script out of the DBA_TABLESPACES and DBA_DATA_FILES using dynamic SQL should create another SQL script like this:

alter tablespace SYSTEM begin backup;
!ntbackup /a /v c:\orant\database\system01.dbf
!ntbackup /a /v c:\orant\database\system02.dbf
alter tablespace SYSTEM end backup;
alter tablespace TABSPC1 begin backup;
!ntbackup /a /v c:\orant\database\tabspc01.dbf
!ntbackup /a /v c:\orant\database\tabspc02.dbf
alter tablespace TABSPC1 end backup;

and so on for each for each tablespace and datafile..... Unfortunately my PL/SQL is not that good, so I hope that you can help me!

Henrik Ørsted Hansen Received on Thu May 28 1998 - 05:13:38 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US