How to make hot RMAN backup as consistent in 10g?
Hi,
While cloning database using rman hot backup it asking archivelog files. how to recover easily? How to make hot RMAN backup as consistent in 10g?
Thanks,
user2017273 wrote:
Hi,
While cloning database using rman hot backup it asking archivelog files. how to recover easily? How to make hot RMAN backup as consistent in 10g?
Thanks,Take backup with "plus archivelog" command. This will require archived redo log files and automatically apply them
Similar Messages
-
How to set the Rman backup parameter.
Hi,
Can U guide me how to set the Rman backup path,control file auto backup & others parameter.Hi,
Go through this,
Show all configurable settings:
RMAN>SHOW ALL;
Write disk backups to the /rmanback directory: (%U will be replaced with unique filenames)
RMAN> CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/rmanback/%U';
Backup using a flash recovery area rather than disk
RMAN> CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT CLEAR;
Configure RMAN to back up the control file after each backup
RMAN> CONFIGURE CONTROLFILE AUTOBACKUP ON;
By default, RMAN automatically names control file backups and stores them in the flashrecovery area.
To configure RMAN to write control file backups to the /backup directory:( %F will generate a unique filename)
RMAN> CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/backup/controlfile%F';
Ensure that RMAN retains all backups needed to recover the database to any point in time in the last 7 days:
RMAN> CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS;
Retain three backups of each datafile:
RMAN> CONFIGURE RETENTION POLICY TO REDUNDANCY 3;
Delete backups no longer required by the retention policy:
RMAN> DELETE OBSOLETE;
To override the configured retention policy for individual backups - use BACKUP.. KEEP (or CHANGE.. KEEP)
Configure backups to run in parallel by assigning two sbt channels:
RMAN> CONFIGURE DEVICE TYPE sbt PARALLELISM 2;
Reset any CONFIGURE setting to its default by running the command with the CLEAR option
RMAN> CONFIGURE CHANNEL DEVICE TYPE sbt CLEAR;
RMAN> CONFIGURE RETENTION POLICY CLEAR;
Regards,
oraclekt
Edited by: oraclekt on Sep 1, 2010 9:58 PM -
HOW TO MAKE A GOOD BACKUP?
Hi !
I'm fresh in oracle technologies and i've got a question for you:
I want to make a backup of my database and i don't know how to do it - i wrote a lot in internet but i still have same problems.
First:
I want to make backup my database everyday in night. - it may be incremental
I want to make one full backup every week
i don't know what files i need to backup. Let take the situation that my machine is down and i need to make a server one more time - install system (win 2003) and oracle 10.2g -
What next ?
How should I recover now my database?This question should be posted on the database forums. This is for Oracle Secure Backup product specific questions.
-
How to make a bootable backup on external hard disk?
Hi guys, I want to ask how can make a backup of entire C(windows) drive on my external hard disk.I tried using backup option in my transcend hard drive
software but it gave me some errors..So I used backup option C:>properties and made a backup on my hard disk.But I am not sure if I can restore from it if my windows crashes coz I don't know if I can use this backup file from boot.So here's what I need
1)To make backup in hdd without having to wipe the it.
2)To make the backup bootable incase my windows crashes, I should be able to restore all my C drive..Hi... I agree with your Number "2". I think that it is much better for you to install a backup tool e.g.aomei backupper (http://www.backup-utility.com/features/) and to forget about any possible troubles at all as the tool will backup everything you need and how you need, creating the whole image of the disk c which you can easily restore in case you have the crash.
-
How to stop a rman backup in progress?
OS: AIX 5.3 L and Oracle 10g R2
I got panic when my scheduled rman backup (incremental level 0 plus archivelog) run too long and I want to stop the process. I could not find the rman doc mentioning how to use any rman command to do that, instead of just shutdowning the database instance.with ps -ef, there were just too many PID of oracle. Is there a way by rman to STOP the process?
Furthermore, I had no idea why it happened. Last week when I did a full copy backup, it only took 23 minutes for 32G database, Today, I changed the scheme to a level 0 incremental, and it is still running after 5 and half hours. But it already created the archivelog, datafile backupset (checked by the DB control). How to find out what went wrong?I did not use any third party application with rman or TSM in my AIX. what is the tdpo? Killing at OS level is probably only thing I can do now. kill -9 PID#
Message was edited by:
user508054
Message was edited by:
user508054 -
HT201401 how to make a contacts backup?
Any idea about how t make a backup of the phone numbers in my conctact list?
just go to settings>icloud and inter your apple id and turn on contacts and then your contacts are backed up
You can also go to www.icloud.com and manage your contacts, add them there if you want to. -
How to ensure the rman backup is successful?
Hi,
we have scheduled rman backup jobs.
1. But how do we ensure all the rman backups are successful?
2. if the rman writes directly to tape, how do we ensure all tape backups are successful?
thanks
andrewBut what is incremental merge, couldn't find in the 10g manual?check it out on http://download.oracle.com/docs/cd/B28359_01/backup.111/b28270/rcmquick.htm#BRADV89354
do you use image backup in real production environment?Of course. We have a standard to to use image copies that way.
what do you suggest to do with rman normal way of backup or go for image backup?Depends on your specific situation. Like anything else, I prefer to provide some rationale on the recommendation.
Image Copies with Incremental Merge
Pros:
(1) one one full backup taken ever; no need to take another full backup
(2) the restore time is the same, regardless of the day of the week the db failed
(3) every day the incremental merge's success means the backup was good - an automatic validation
(4) it allows you to quickly switch to copy, rather than restore
Cons:
(1) Space requirement is more (since it's a bit to bit copy)
(2) can't do a point in time recovery from the disk alone
(3) can't go to the tape directly; must be a disk based backup.
Backupsets with Incremental Backup
Pros:
(1) space requirement is lower (since only never-used blocks are not copied)
(2) point in time recovery is possible
(3) direct backup to tape possible (no need for disk backup)
Cons:
(1) restore time varies depending on the day of the week the db failed
(2) you have to take a full backup regularly, perhaps once a week
(3) no validation unless you use validate backupset (takes resources)
So, as you can see, there are pros and cons to each approach. You have to decide for yourself which one weighs more (or less) to come to a conclusion.
Hope this helps.
Arup Nanda -
Hi,
I'm planning on messing with my system a little (re-partition, install linux) and I want a full-proof recovery plan. This should work in case I *completely* mess up my HD (bad boot records, destroyed partitions, etc.)
I have an external hard drive with plenty of free space. How would I make a completely backup; something that would restore everything (including the hidden partition) to its current state?
Is there any way to do this using free/opensource?
Keep in mind that if there's a linux app that can do this, I can just boot up using a live CD and run the app from there.
Thanks in advance.Vista or XP? What is/was the partition layout? IIRC, w/XP the 2nd partition is the service partition (hd0,1) and with Vista it is the first (hd0,0). I don't know if that is always the case, so how is your drive layed out?
ISTR that with XP the service partition is "hidded' by using an ID of 12 (or something) even though it is a FAT32 partition. Grub might be unhappy with the ID. Changing it to "C" might let it boot. That's just a WAG. My recollection is that the ID only affected where I could install the grub files, not what I could boot.
I've got some old notes here somewhere: www.beezmo.com/ThinkPadT61.htm maybe in "partitioning" or Windows XP.
**** grrr. the insert link thingy isn't working. the link above is literally correct, but the forum is inserting some invisible characters ****
I don't know clonezillla. Will it let you restore only one of the partitions? If so, do a restore to factory (with the recovery media you made immediately on receiving the laptop) and then restore only the Vista or XP partition from clonezilla.
HTH,
Z.
Message Edited by zoltanthegypsy on 01-07-2009 06:47 AM
Message Edited by zoltanthegypsy on 01-07-2009 06:48 AM
Message Edited by zoltanthegypsy on 01-07-2009 06:50 AM
Message Edited by zoltanthegypsy on 01-07-2009 06:53 AM
Message Edited by zoltanthegypsy on 01-07-2009 08:00 AM
The large print: please read the Community Participation Rules before posting. Include as much information as possible: model, machine type, operating system, and a descriptive subject line. Do not include personal information: serial number, telephone number, email address, etc. The fine print: I do not work for, nor do I speak for Lenovo. Unsolicited private messages will be ignored. ... GeezBlog
English Community Deutsche Community Comunidad en Español Русскоязычное Сообщество -
How to make a bootable backup of the operating system
Hi,
I am given the task to make a bootable backup of the OS (Solaris 9). I know I can use ufsdump to backup the system in single user mode. However, to make a backup bootable, shall I backup the file system to a DVD? Any advice will be greatly appreciated!
Cinderellai call it cloning the disk . you can install boot block as mentioned in second solution of cloning disk
e.g
# /usr/sbin/installboot /usr/platform/`uname -i`/lib/fs/ufs/bootblk /dev/rdsk/c1t2d1s0
################## solution 1 ####################################
dd if=/dev/rdsk/c0t1d0s2 of=/dev/rdsk/c0t4d0s2 bs=2048
############### solution 2 #####################3333
Now this is through but if the disk are from the same vendor (I tested also
dd on disks with different vendors and it function well) and if it the disk
are the same size my opinion is to use the dd command because it is easier
to be done. Anyway if the disk are not from the same size or vendor it could
be done also with ufsdump and ufsrestore. Here how it works and what I did
if your would like to clone a disk with ufsdump and ufsrestore:
For testing we have two disks:
c1t2d0 (Source Disk)
c1t2d1 (Destination Disk)
The source disk has the following layout (slice 4 and 5 are for Disksuite
metadb's but are not initialized or configured):
0 root wm 0 - 634 471.29MB (635/0/0)
965200
1 var wm 635 - 2014 1.00GB (1380/0/0)
2097600
2 backup wm 0 - 2732 1.98GB (2733/0/0)
4154160
3 swap wu 2015 - 2704 512.11MB (690/0/0)
1048800
4 unassigned wm 2705 - 2718 10.39MB (14/0/0)
21280
5 unassigned wm 2719 - 2732 10.39MB (14/0/0)
21280
6 unassigned wm 0 0 (0/0/0)
0
7 unassigned wm 0 0 (0/0/0)
0
On our testsystem the disk are the same size. Firstable the layout/label
from the source disk must be copied to the destination disk because with
ufsdump and ufsrestore this information will not be transfered to the
destination disk because this commands are based on filesystem. This is also
a difference between dd and ufsdump because dd copies also the information
from labels and layouts because this command is based on blocks and not on
filesystem. Here it is how it wors to copy the information from
layout/label:
# prtvtoc /dev/rdsk/c1t2d0s0 > /tmp/z
# fmthard -s /tmp/z /dev/rdsk/c1t2d1s0
fmthard: New volume table of contents now in place.
The slice 0 from the destination disk has now the same layout like the
source disk. This could be controlled with the command:
# format
To transfer the information from slice 0 source disk to the slice 0
destination disk the destination disk must be prepared to work on it. It
means at the moment there is no filesystem on this disk. To do this use the
command newfs. No option are neccessary because for default the filesystem
would be ufs. Only the raw device/slice must given to the command that newfs
knows what exactly must be don:
# newfs /dev/rdsk/c1t2d1s0
newfs: /dev/rdsk/c1t2d1s0 last mounted as /
newfs: construct a new file system /dev/rdsk/c1t2d1s0: (y/n)? Y
Now we have a filesystem on slice 0 and we could mount the slice 0. This
would be made with the command mount and option -F for filesystem = ufs and
-o for read or write = rw and at least which slice = 0. At the end of the
command is the device with the slice which must be mounted:
# mount -F ufs -o rw /dev/dsk/c1t2d1s0 /mnt
Now the device is mounted. With the following command ufsdump 0f = slice 0
and / = partition the filesystem / would be dumped. The whole dump would be
piped (I hope this is the correct english word) to the command ufsrestore
which would be executed in the mounted directory ufsresore and extracts the
dump.
# ufsdump 0f - / | ( cd /mnt ;ufsrestore xvf - )
Add links
Set directory mode, owner, and times.
set owner/mode for '.'? [yn] y
Directories already exist, set modes anyway? [yn] y
DUMP: 405886 blocks (198.19MB) on 1 volume at 406 KB/sec
DUMP: DUMP IS DONE
After given the command, the partition / from source disk and / from the
destination disk looks based on files absolutly the same but there is a
information which MUST be changed and it is the information in "/etc/vfstab"
because on the destination disk in this file are the information from the
source disk (it means source disk will be mounted on the device c1t2d0 and
the destination diks on the device c1t2d1). This information must be changed
in "/etc/vfstab" on the destination disk:
# vi /mnt/etc/vfstab
---------- /mnt/etc/vfstab ----------
#device device mount FS fsck
mount mount
#to mount to fsck point type pass at
boot options
#/dev/dsk/c1d0s2 /dev/rdsk/c1d0s2 /usr ufs 1 yes
fd - /dev/fd fd - no -
/proc - /proc proc - no -
/dev/dsk/c1t2d1s3 - - swap - no -
/dev/dsk/c1t2d1s0 /dev/rdsk/c1t2d1s0 / ufs 1
no
/dev/dsk/c1t2d1s1 /dev/rdsk/c1t2d1s1 /var ufs 1
no
swap - /tmp tmpfs - yes -
---------- /mnt/etc/vfstab ----------
Now we changed the information and the work is done on slice 0. We can now
umount the slice 0:
# umount /mnt
Proceed with the other slice similar like explained before. In our example
it would be:
# newfs /dev/rdsk/c1t2d1s1
newfs: /dev/rdsk/c1t2d1s1 last mounted as /var
newfs: construct a new file system /dev/rdsk/c1t2d1s1: (y/n)? y
# mount -F ufs -o rw /dev/dsk/c1t2d1s1 /mnt
# ufsdump 1f - /var | ( cd /mnt ;ufsrestore xvf - )
Set directory mode, owner, and times.
set owner/mode for '.'? [yn] y
Directories already exist, set modes anyway? [yn] y
# umount /mnt
Slice 4 and 5 are in our example not importante because this slice as
explained are for Disksuite metadb's and on the source disk there are at the
moment no information and no filesystem because Disksuite was not
initialized or configured.
It is a good idea to check the slices which where transfered files before.
This could be done with the command fsck:
# fsck /dev/rdsk/c1t0d1s0
# fsck /dev/rdsk/c1t0d1s1
# fsck /dev/rdsk/c1t0d1s2
# fsck /dev/rdsk/c1t0d1s4
# fsck /dev/rdsk/c1t0d1s5
Now it seems that all what done but something is missing!? The destination
disk looks now like the source disk with one exception; there is NO
boot-block on the destination disk. If you don't create a boot-block the
destination disk would never be bootable. To do this the system where it
must be done must be from the same architecture like the source disk it
means if the source disk is based on sun4m and you give now the command from
a architecture like sun4u to the destination disk the boot-block would not
work. This is what by me happens by the test (source disk based system on
sun4m > to install boot-block I tried to give the command from sun4u based
system and after I tried to boot the destination disk > result = destination
disk was not able to boot). Ok we set now the command for boot-block to the
destination disk to create there a boot-block:
# /usr/sbin/installboot /usr/platform/`uname -i`/lib/fs/ufs/bootblk
/dev/rdsk/c1t2d1s0
Now you could boot the destination disk with the correct alias or the
correct device alias. If you don't know what the alias is give on the system
the following command:
# ls -la /dev/dsk/c1t2d1s0
/dev/dsk/c1t2d1s0 ->
../../devices/iommu at 0,10000000/sbus at 0,10001000/SUNW,soc@
1,0/SUNW,pln at a0000000,753a58/ssd at 2,1:a
End the OS with init 6 and stop the system reboot if the banner of OBP
appears with stop + A. After that you are on the ok prompt. To set an alias
give following command:
# nvalias clone1 /iommu at 0,10000000/sbus@
0,10001000/SUNW,soc@,0/SUNW,pln at a0000000,753a58/ssd at 2,1:a
Use the alias with:
ok boot clone1
Have fun with you new clone...! I hope I did not forgett something but I
tested it several times and it worked every time absolutly nice with no
errors. -
How to speed up rman backup?
Hi,
we are taking backup using rman. my database size is increasing.so rman backup time is increasing. so i want to spped up rman bakup performance. how to speed up rman bakup?
Thnaks,My general request whenever you post the question in forum please start your question something like this:
Oracle Version : <4 digit version> select * from v$version;
OS Information with complete version and/or patch whatsoever.
1. http://www.oracle-base.com/articles/10g/RMANEnhancements10g.php
2. Re: RMAN Backup Script
and read the reply of Adith
You can also use set
CONFIGURE BACKUP OPTIMIZATION ON
Additionally review
Restarting and Optimizing RMAN Backups
http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmbackp007.htm#i1006318
Best Regards
Girish Sharma -
How to make a full backup of my iPad without using iTunes
I need to make a full backup of my iPad. I am using the Vudu app and have many movies downloaded to my iPad. I have performed a backup of my iPad from iTunes onto my Macbook Pro. The mobile backup files on my laptop are not nearly big enough for the 20+ movies (at lease 1/2 to1 GB each). Because of this I do not believe iTunes has made a full backup including the movies. I want to avoid having to re-download all the movies if/when the iPad drive fails. I want a complete backup such as Time Machine or using some other external hard drive or app on my MacBook Pro.
I bought a Seagate Wireless Plus 1TB Mobile Cloud Storage with Built-in WiFi Streaming (STCK1000100) external hard drive and installed the Seagate Media App. I can, via the app on the iPad, see the device and copy to and from it. But, it only allows access to music, movies in iTunes (not any movies in Vudu), and things like documents on my iPad. It does not allow access to all the files inclding system files stored on the iPad. I also tried another Seagate non wireless external drive that I connected directly to the iPad but the Seagate Media app does not communicate with or recognize the device from the iPad.
I also bought DiskAid software that supposedly will make a complete backup of an App on a mobile device and installed it on my laptop. I was able to make a complete backup of the Vudu app from the iPad onto my laptop, but in a test could not restore it to my iPad. The backup file, though, was the right size, about 26 GB. The DiskAid techs are looking into that. I was able to use DiskAid to backup another app in a test (Hertz). That app made a backup of the Hertz app onto my laptop, I deleted the app on my iPad, then I was able to restore it. But right now the restore option is not working for Vudu.
Another option would be to copy the movie files off of the iPad onto my Laptop, but the iPad does not appear in the finder window on the Laptop.
I have about decided my MacBook Pro laptop will have to be the main repository for all the downloaded movies, since I can make a Time Machine backup of everything.
It is very frustrating to not be able to make a full backup of everything on my iPad.
Anyone else have any ideas? Apple - when are you going to provide a way to make a full backup of an iPad?I recommend Super Duper as well. I use it batch mode to automatically back up my iMAC every night at 2 am. It's saved my life a couple of times- once my disk crashed (under warranty)and what could have been a disaster (1000's of irreplaceable photos) was a 2 day inconvenience.
Now and then I boot up from my backup on my firewire drive, wipe, check and reformat my internal hard disk, copy back all my files and I'm good to go -
Manually register rman backup with oracle database 10g
Dear All.
I want to restore full backup of database.
I have not configure flash_recovery_area.
how i can manually register full rman backup of database with oracle database 10g.?
Please help me.
Thanks & Regards
Ravi KumarThis is the 10gR2 documentation on the CATALOG command :
http://docs.oracle.com/cd/B19306_01/backup.102/b14194/rcmsynta011.htm#sthref230
You must be specific when stating the version you are running. Commands may be limited or unavailable in older versions versus more recent versions of Oracle.
Hemant K Chitale -
How to restore a Rman backup from Tape
Hi,
We need to restore the database backup taken through RMAN on 24-JUNE-2013 from tape as this backup is not currently available on disk.
Can you please help me on the following,
1) how i can check if the same backup on 24-JUNE-2013 is available on Tape.
2) If yes how i can restore to Disk.
Because we need to create a new Clone instance from the backup taken on 24-JUNE-2013.
We are having 12.1.3 Application on Exalogic and 11.2.0.3 Database on Exadata machine.
Our support is highly appreciated.
Thanksuser11969666 wrote:
Hi,
We need to restore the database backup taken through RMAN on 24-JUNE-2013 from tape as this backup is not currently available on disk.
Can you please help me on the following,
1) how i can check if the same backup on 24-JUNE-2013 is available on Tape.
2) If yes how i can restore to Disk.
Because we need to create a new Clone instance from the backup taken on 24-JUNE-2013.
We are having 12.1.3 Application on Exalogic and 11.2.0.3 Database on Exadata machine.
Our support is highly appreciated.
Thanks
Your questions are answered in the Backup and Recovery User's Guide -- Contents
Thanks,
Hussein -
How to make a bootable backup?
I apologize in advance if a)i am not using the right terminology and b)this question has been answered already (i couldn't find it).
I am about to create a backup in which two computers backup onto a single external hard drive. my understanding is that if i have to restore the entire drive, i have to boot the computer with an install disk and then get it to recover from the backup drive. i can only imagine how long a restore will take with a computer running off the install disk.
is there a way to have the backup drive somehow have an OS so i could boot from it so that it is running my computer AND restoring to it at the same time?
Thank you.yes it's possible but won't speed things up by much. It will mainly speed up the booting time of the backup not the restore process itself. I've done it and I see no difference in time. to do this you can make a clone of the leopard install DVD on your hard drive. create a small partition on one of your internal drives. next insert the install DVD and open Disk Utility. click on "restore" tab. select the DVD as the source (the name not the model) and the partition you've made as the target. click 'restore". Once finished you'll have a bootable copy of the install DVD on your hard drive. You can boot from that and do a full system restore from TM of your main hard drive. Of course this is only needed when doing full system restore. normal restore from TM doesn't require booting from TM and is done simply by activating TM.
P.S. You can also make a bootable clone of your entire hard drive using CCCloner or Superduper! that's a different backup mechanism from TM but is often helpful.
Message was edited by: V.K. -
How to make a precautionary backup of an Adobe application
I have just bought Adobe Photoshop CS6. Very expensive. I want to protect my investment by making a backup of the installation disc in case the original fails (which I think is a reasonsble thing to do).
How can I do that please?I have just bought Adobe Photoshop CS6. Very expensive. I want to protect my investment by making a backup of the installation disc in case the original fails (which I think is a reasonsble thing to do).
How can I do that please?
Maybe you are looking for
-
I have two accounts with iTunes. Can they be merged or somehow combined so that I can have access to everything from both my old iPod Touch and my new iPhone5?
-
Well i am REALLY dissapointed so far, i just purchased the CC full for one year and i have not been able to use it. First it asks for ******* serials, already did all the steps in the guides you provide. Now i try to open Premiere Pro CC and it close
-
UnmarshalException with a difference
Hi all I have been getting rather stressed at this annoying exception: java.rmi.ServerException: Server RemoteException; nested exception is: java.rmi.UnMarshalException: error unmarshalling arguments; nested exception is: java.lang.ClassNotFoundExce
-
Hi I have a large spreadsheet which includes the date of the job in column B and the number of hours completed in a number of different categories from columns K to AD. The most recent job is in row 24 through to the oldest in row 404. I need a formu
-
<p>Hi there,</p><p> </p><p>I have in my accounts dimension a set of global parameters:</p><p> </p><p>Number of Days</p><p>FX Rate</p><p>Constant 1</p><p>Constant 2</p><p> </p><p>All have been set to store data. Accounts is my only densedimension.</p>