Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Hotbackup under VMS
"Peter J. Holzer" <hjp-usenet_at_hjp.at> wrote in message
news:slrn98do7h.pns.hjp-usenet_at_teal.h.hjp.at...
> On 2001-02-11 13:23, WCK <abramswee_at_yahoo.com> wrote:
> >just do on the svrmgrl first and do this;
> >
> >svrmgrl> alter tablespace xxxxx begin backup;
> >svrmgrl> ! cp /oradata/prod/proddatafile1.dbf /dev/rmt0 (or whichever u
do ^^^^^ This doesn't look like VMS to me.> >
> >in vms to do file backup);
> >svrmgrl> alter tablespace xxxxx end backup;
It won't be consistent. It's guaranteed NOT to be consistent. Even internally within a single datafile, it won't be consistent.
But who cares? Because applying redo MAKES things consistent.
Provided you have ALL the redo (archived and online) since the time that you START your backup cycle, you can guarantee to be able to make consistent any part of your backup set, however long it takes to generate. And the business of putting tablespaces into hot backup mode before you start copying? Since that locks the timestamp in the header of each datafile within the tablespace, we know what the 'time' of the database was BEFORE you started copying files -and that means it's guaranteed to be able to make the internal mess which is your copied datafile consistent by the application of redo since that time.
Regards
HJR
> hp
>
>
> --
> _ | Peter J. Holzer | All Linux applications run on Solaris,
> |_|_) | Sysadmin WSR | which is our implementation of Linux.
> | | | hjp_at_wsr.ac.at |
> __/ | http://www.hjp.at/ | -- Scott McNealy, Dec. 2000
Received on Sun Feb 11 2001 - 15:17:20 CST
![]() |
![]() |