I'm trying to automate my Oracle backups. I'm using Oracle 8.1.7 and Windows 2000.
I can issue both hot and cold backups fine. When I issue the command:
alter database backup controlfile to trace
it is created a textural copy of the database's control file in the USER_DUMP_DEST location. I want to then take the trace file I've just generated and move it to a directory that is being backed up to tape (I cannot use a directory under ORACLE_BASE as backing this up in windows causes my databases to crash and hence the need to move the backed up control file.) I'm automating my backups through windows command batch programs and wondered if there was a way I could get the latest trace file from the command line within a batch and then copy it to another location? This is tricky because I do not know the name of the file generated so would have to do it based on a timestamp.
Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.
This post first appeared at Oracleinaction (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself).
I will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…