Cloning Database 10 g mode archive - how to add new files to archive created
DEAT allI want to clone the oracle 10g database using hot backup. archive database mode.
Database is running user data entry contifue, during the hot backup there is about 3 to 5 news archive created log. Please guide me how to add these new created log archiving in the cloning process.
Thank you
Alter system switch logfile;
SQL > select SNA max(first_change#) from v$ archived_log;
SNA
----------
8592924
alter tablespace tablespace1 begin backup;
alter tablespace tablespace2 begin backup;
alter tablespace tablespace3 begin backup;
.........
alter tablespace tablespace1 backup end;
alter tablespace tablespace2 backup end;
alter tablespace tablespace3 backup end;
.........
Select name from v$ archived_log where first_change # > = order by name 8592924
NAME
----------------------------------------
F:\ARCHIVELOGS\ARC00390_0664080689.001
F:\ARCHIVELOGS\ARC00391_0664080689.001
F:\ARCHIVELOGS\ARC00392_0664080689.001
create pfile = "< new sid of the database > init .ora ' of spfile;"
ALTER database backup controlfile to trace as "/ home/oracle/cr_ < new sid > .sql"
STARTUP NOMOUNT
CREATE CONTROLFILE SET DATABASE "ORCL" RESETLOGS NOARCHIVELOG LOGGING FORCE
MAXLOGFILES 50
MAXLOGMEMBERS 5
MAXDATAFILES 100
MAXINSTANCES 1
MAXLOGHISTORY 453
LOGFILE
GROUP 1 'E:\oracle/oradata/dg9a/redo01.log' SIZE 100 M
-------
DATA FILE
Published by: Mohamed najib on November 15, 2008 12:54
When you try to start the database copied to the new server you will find that it must recover - because it was taken in hot backup mode.
This is why you must copy the archivelogs that are generated from the first archivelog after the first "alter tablespace begin backup" to the first after the last archivelog "alter tablespace end backup.
I see that you also include a script CREATE CONTROLFILE.
You that would go to the cloned environment.
Then you type the command RECOVER database using BACKUP CONTROLFILE until CANCEL to standardize the clone.
You can, of course, use the same method to copy these archivelogs that you use to copy the files from database - tar, cpio, Ribbon, etc.
Tags: Database
Similar Questions
-
How to add new files to portable application?
as the topic,.
I have the version portable app using thinapp...
but I have a need to add new files in the portable application with ease (because it must be done by the user who have little knowledge about IT / computer).
is any way to do without re - build the portable application and do it with ease?
PS: I know how to update the existing files with ease, but I need to add new files with ease (as just copy the new files in certain folders) and do not use the cmd built-in (because it would be too difficult to teach users to use cmd)
THX
An explorer.exe is running inside the virtual environment easy enough? There you can copy both in and out of the bubble.
More information on enable this: http://blogs.vmware.com/thinapp/2008/10/running-explore.html
-
How to add new file to Premiere Pro CS3 formats?
Almost all the videos that I've made have been default in .avi format. I want to make some .mp4s or .wmvs or even the .mov files. What can I do to make these options available?
Must be the file > export > Adobe Media Encoder. There you will have drop-down lists for many formats with CODEC changes.
My guess is you just select the default value, which was probably one of the formats AVI and IIRC, the CODEC is probably of Radius CinePak (a very, very old CODEC).
Also, just to clarify, you talk about 'Export' here and not "rendered", which is a process to get smoother playback. It does not create an AVI file, but it is used internally by the program, just for reading.
Good luck
Hunt
-
How to add new fields of contacts and accounts?
How to add new fields of contacts and accounts?
You can use 'Fields' and 'View '.
-
How to add a file in air installed app (not the folder of files/myApp program)
Hello
How to add a file in the "documents and setting / all users / start menu / programs / myApp ' folder where to install an application Adobe AIR for Windows (xp, vista, win7) or Mac.
could you show me sample code, please,
Thank you...
It is not available with the default installation of .air (other than a shortcut to the application). However, I would suggest a look at the options of functioning in captivity and roll your own Installer. This way you can do whatever you want on the unrestricted installation.
http://www.Adobe.com/devnet/air/articles/air3-install-and-deployment-options.html
Thank you
Chris
-
How to add registered files.
Two questions.
I use adobe dvrcast to save my live stream. the problem I have is when I stop the encoding during a live stream, a new file is not created, the existing stream is written above. How I preventive to happen.
Is it possible to have all the VOD files located in a folder to roll over to the next during playback file.
You can check if you all files in the introduction you dvrcast. Can you check whether you Application.xml in your dvrcast_origin folder. If you do not can create you one with the following content and keep the dvrcast_origin folder.
Application.Xml
fake -
How to add new physical columns in the physical layer
Hi gurus,
We had a size and a few new columns are added in these Dimensions, how to define these columns, these columns are available in the database how to add these columns in the tables.
Thanks in advance
Vincent
Make a right-click on the Dimension table-> new item-> physical column-> give the name that you have in DB and data type-> save the RPD and check the number of updated rows.
It will work.
Thank you
prassu
-
How to add new folders in thunderbird for mac 38.2.0 POP3
Switch PC to a macbook pro. Downloaded Thunderbird 38.2.0. I am trying to add new folders, under local folders. Trash and Outbox are in local folders, but I don't see how to add folders to organize my mail.
Right-click
-
How to add new data and delete old data from a custom text file?
Hi guys!
Well, I'm in a bit of trouble.
I need to make a request to some GPS tools. Split data in indicators, generate coordinates (google maps format), and so it goes.
One of the functions of the systems is the calculation of oscillation of coordinates. The formula should be: latitude 1 - latitude 2 = latitude AND longitude 1 - 2 = swing longitude longitude oscillation.
Since I'm on two values, I thought: "Oh, if I connect these data in a file, I just pick up and do all the calculations part." Yes, this idea is adapted to my needs (even if it is not the best, the computer part solved my problem).
BUT I don't see a way to write the current value of the loop and erase the old results.
For example, suppose that loop 1 gave me 1.00000, 2,00000 coordinates and loop 2 gave me the coordinates 3.00000 and 4.00000. Right?
My log file is similar to: 1.00000,2.00000; 3.00000,4.00000;
Well, it works. However, we will look forward to loop 3: coordinates 5.00000,6.00000.
If the program connects to it, I would get the chain: 1.00000,2.00000; 5.00000,6.00000; When I really need 3.00000,4.00000; 5.00000,6.00000;.
For this reason, when I apply the calculation of oscillation, it will always take the most recent value and do all the calculations with the first result (from loop 1).
Well, I wonder that there is a way to add new data to a file and replace the old values, with simple code. If anyone knows how, please respond here!
Considerations:
(1) I want to do it as simple as possible. My code is kind of great, and it is not appropriate to insert structures or library now.
(2) maybe the explanation is not as simple as it is for me. Really, I couldn't find a better way to say what I need.
(3) if someone has doubts as to my doubts, please just comment and I'll try to be as specific as possible.
Thanks in advance!
I guess my question is why write a file just to delete.
If you pass an array of points from one iteration to another, you will have to take extra time to open the file, read the file, delete the old data, writing the new data, save the file, and then close the file. It would be pretty much the same thing, but without having to go through the hard drive.
Just a thought.
-
DVD Maker... How to add other files in an already created DVD
Home Premium SP2
I created a DVD using Windows DVD Maker in a rewritable DVD.
How can I add several files into it?
It was just still images in the DVD.
Thank you.t-4-2
After you create a video DVD you can not change it.
Thank you.
I found a way... save the project as MSDVD after DVD is created.t-4-2
-
How to add new SourceFire to the centre of defence
Hello world
Recently, we got new Sourcefire and need to know how to add it to the centre of defence.
I'm new to environment fire source.
Concerning
Mahesh
Mahesh,
Maybe it's not a matter of license, but my team and I will address your issue. I'll meet you at the end of day today.
Thank you
Merv Reyes -
Hi I created a BB e-mail account via my Storm and it worked like a charm. But when I went to log on the site of BB on my computer at home (http://bis.na.blackberry.com/html?brand=vzw), it would not accept my password... even if I know it's good. Ask for the site to send me a password does not work, as I had never actually received the message on my phone.
So I removed the e-mail account of BB on the thought of my phone that I would like to re - add just to see if that fixed anything... but when I try it tells me the username already exists. If I ask the site to send my account information to my PIN, I get a message that my username and password do not exist. And when I go to create a new account via the BIS Web site, tells me that the username already exists. Is not a common user name, so there is no way someone he recorded in the short time between deleting my account and trying to add new.
How to re - add the service with my previous username without clicking on the button "create a new e-mail account of BB?
Help!
That did not work, unfortunately... so I ended up calling the technical support of Verizon and they managed to re-pair my phone with my BIS account orphan. Sounded as if it was a fairly simple process, but apparently not something I could have fixed on my own.
Anyone having this problem: just call Verizon!
-
In windows 8 How to add new contacts e-mail
I want to add new names to my contacts list, but I can't find a way.
Glance down of all things listed and no contact.
Click on the sign more and it takes you to a list.
All existing names, that you can use.
How can you add more... hotmail, yahoo and gmail.
Hate to date, but it's mind-boggling.
Hi kathysenza,
Thanks for posting your query in Microsoft Community.From your description, it seems that you want to add contacts to the e-mail account.
You cannot add contacts directly from email App Contacts must be added people app.
To solve the problem with the addition of new e-mail contacts, you can follow these steps:
You can check this link:(a) people: frequently asked questions
http://Windows.Microsoft.com/en-us/Windows-8/people-FAQ(b) mail app for Windows: frequently asked questions
http://Windows.Microsoft.com/en-us/Windows-8/mail-app-FAQ(c) set up your PC
http://Windows.Microsoft.com/en-us/Windows-8/move-contacts-mail#1TC=T1For any Windows help in the future, feel free to contact us and we will be happy to help you.
-
How to add the file to the existing catalog
Hello:
How to add a new file already existing catalogue? If I using the regular method "-> import library", the old files will disappear.
Thank you
Images to be imported into Lightroom. When you go through the import process, when it has finished, it will seek you images of the previous import (import you just made). It's normal. If you look at the different sections on the left side of the library module, you'll see that "Previous import" is one of the sections. You will also notice that there is another section called "files". If you choose this section, you will be able to see the other folders that you have imported.
-
How to add new type of device ID?
How to add the new type identifier to a device?Adding to your scheme would be as follows:
You must also add the value specified in the
in DVC_ID_TYPE_FLG research.
You must add DMNEW in there.
Maybe you are looking for
-
Bought an Apple MacBook 13 July Air and today tea spilled on it... Rushed to the Apple store and they said the PC was ruined... bought a new MacBook Pro 13 with the intension to have the old hard disk installed as there are documents that have been a
-
redirection to other websites seems to be stuck how to fix?
initial queries, such as compact cars produced a page of web addresses. When you click on those, not found Web page are posted. It works in internet explore.Fred
-
"GRADIENT ARRAY" message on my Qosmio G20
Hello world I have a qosmio g20 and for some reason when I start the following message is displayed:DEGRADES in TABLE-1. I have all tried allmost, uninstall the raid utility, formatting the discs, but I still get the same message.Also, I get the same
-
Satellite P300 - 18 M Touchpad stopped working
My P300 works wonderfully, but suddenly the touchpad has completely stopped working - including the buttons left and right. I can't find the touchpad in Device Manager, and it is at the limit of my (in) skills! Where should I look? Any help would be
-
Installed the update offered several times to install it again
Original title: windows update icon does not disappear after installation I have installed the update, restart the computer, and the icon is still in the status bar to install the update again.