ASM based backup
If i enable flash recovery area as an ASM file system , but these backup files will not be accesible by OS , then how can i copy those ASM based backup files move to tape cartrdge, ulimately i have to use os copy command , OS cannot read ASM based backup piece.
Do you want to backup "flashback file" on ASM?
I have no idea too,
But ... if you use asm on version 11g, you can backup from ASM to local disk before and then backup to TAPE.
Example:
$ asmcmd
ASMCMD> cp file01.txt /tmp/
copying +Vol1/db/file01.txt -> /tmp//file01.txt
;)
Similar Messages
-
ASM instance backup on 10.2.0.1.0
Hi all
Is there any way to backup and restore asm instance on 10g(10.2.0.1.0).I am using OS linux 5. like in 11g we have md_backup and md_restore.taimur wrote:
Hi all
Is there any way to backup and restore asm instance on 10g(10.2.0.1.0).I am using OS linux 5. like in 11g we have md_backup and md_restore.The purpose of "md_backup/md_restore" of 11.1 and onwards is backup/restore only the metadata of a diskgroup. There is no backup/restore ASM Instance, also there is no Backup/Restore Data of ASM Diskgroup.
The ASM Diskgroup of versions 10.2 and earlier are simple and have fewer resources and parameters, then I see no reason to perform backup of diskgroup metadata.
If your ASM Diskgroup fail. Just Recreate Diskgroup and Perform Restore with RMAN. (i.e you don't need ASM metadata backup).
Levi Pereira -
OSB and server-less SAN based backup.
Hi All,
This is my first question in this forum. Is SAN based backup possible in OSB. If so how can I configure this. Thank you very much.
Regards
AminulThanks Donna. Since we are planning to implement OSB in our environment, hopefully we will get more support from this forum. could please put some lights on"OSB supports SAN environments dynamically sharing tape drives between SAN attached media servers".Thanks once again.
Regards
Aminul
Edited by: user12203512 on Oct 19, 2011 8:55 PM -
I was just told that Carbonite is useless for macs. I don't use Time maching because you need an external drive and I use a laptop becuase I am all over the place and can't lug an external drive all around with me. Any suggestions on cloud based backups?
Check here for comparisons.
http://mac-online-backup-services-review.toptenreviews.com/ -
ASM RMAN backup to File System
Hi all,
I have a rman backup (datafile and controlfile) which was took in an ASM instance (not a RAC) ORACLE 11.2.0.2 in a Linux server, now I want restore the backup in a new database in windows/Linux OS using general File System storage (single instance rdbms) instead of ASM.
Is this possible?
Can I restrore an ASM rman backup in a file system storage mechanisim in a new server?
Kindly clarify my question.
Thanks in Advance..
NonudayNonuday wrote:
Hi Levi,
Thanks for your invaluable script and blog.
can you clarify me on this query:
I have a RMAN backup taken from ASM and the backup is database and controlf file backup which contains datafiles and controlfiles.
Now I need to restore this on my system and here I dont use ASM or archive log, I use single instance in no archive log mode database.
I have restored the control file from the RMAN controfile backup.
Before restoring the control file I have checked the orginal pfile of the backup database which had parameters like
'db_create_file_dest',
'db_create_online_log_dest',
'db_recovery_file_dest_size',
'db_recovery_dest',
'log_archive_dest'.
Since I am not gng to create a DB in no archive log mode, I didnt use any of the above parameters and created a database.
Now my question is:
If i restore the database and the datafile will get restored and after renaming all the logfiles, database will be opened.
I want to know whether this method is correct or wrong and will the database work as it was working previously. Or do i need create the db_file_recovery and other parameters also for this database.About Parameter:
All these parameters should reflect your current environment any reference to the old environment must be modified.
About Filesystem used:
Does not matter what Filesystem you are using the File (datafile/redolog/controlfile/archivelog/backuppiece) are created on Binary Format which depend on Platform only. So, The same binary file ( e.g datafile) have same format and content on raw device, ASM, ext3, ext2, and so on. So, to database it's only a location where file are stored, but the file are the same. ASM has a different architecture from Regular Filesystem and need be managed in a different manner (i.e using RMAN).
About Database:
Since your database files are the same even using different filesystem what you need is rename your datafiles/redofiles on controlfile during restore, the redo files will be recreated.
So, does not matter if you database are noarchivelog or archivelog, the same way which you will do a restore on ASM is the same way to restore on Regular Filesystem. (it's only about renaming database file on controlfile during restore)
On blog the post "How Migrate All Files on ASM to Non-ASM (Unix/Linux)" is about move the file from filesystem to another. But you can modify the script used to restore purposes;
## set newname tell to RMAN where file will be restored and keep this files location on memory buffer
RMAN> set newname for datafile 1 to <location>;
### swich get list of files from memory buffer (rman) and rename on controlfile the files already restored.
RMAN>switch datafile/tempfile all ;With database mounted use this script below:
I just commented three lines that are unnecessary in your case.
SET serveroutput ON;
DECLARE
vcount NUMBER:=0;
vfname VARCHAR2(1024);
CURSOR df
IS
SELECT file#,
rtrim(REPLACE(name,'+DG_DATA/drop/datafile/','/u01/app/oracle/oradata/drop/'),'.0123456789') AS name
FROM v$datafile;
CURSOR tp
IS
SELECT file#,
rtrim(REPLACE(name,'+DG_DATA/drop/tempfile/','/u01/app/oracle/oradata/drop/'),'.0123456789') AS name
FROM v$tempfile;
BEGIN
-- dbms_output.put_line('CONFIGURE CONTROLFILE AUTOBACKUP ON;'); ### commented
FOR dfrec IN df
LOOP
IF dfrec.name != vfname THEN
vcount :=1;
vfname := dfrec.name;
ELSE
vcount := vcount+1;
vfname:= dfrec.name;
END IF;
-- dbms_output.put_line('backup as copy datafile ' || dfrec.file# ||' format "'||dfrec.name ||vcount||'.dbf";'); ### commented
END LOOP;
dbms_output.put_line('run');
dbms_output.put_line('{');
FOR dfrec IN df
LOOP
IF dfrec.name != vfname THEN
vcount :=1;
vfname := dfrec.name;
ELSE
vcount := vcount+1;
vfname:= dfrec.name;
END IF;
dbms_output.put_line('set newname for datafile ' || dfrec.file# ||' to '''||dfrec.name ||vcount||'.dbf'' ;');
END LOOP;
FOR tprec IN tp
LOOP
IF tprec.name != vfname THEN
vcount :=1;
vfname := tprec.name;
ELSE
vcount := vcount+1;
vfname:= tprec.name;
END IF;
dbms_output.put_line('set newname for tempfile ' || tprec.file# ||' to '''||tprec.name ||vcount||'.dbf'' ;');
END LOOP;
dbms_output.put_line('restore database;');
dbms_output.put_line('switch tempfile all;');
dbms_output.put_line('switch datafile all;');
dbms_output.put_line('recover database;');
dbms_output.put_line('}');
--- dbms_output.put_line('alter database open;'); ### comented because you need rename your redologs on controlfile before open database
dbms_output.put_line('exit');
END;
/After restore you must rename your redologs on controlfile from old location to new location:
e.g
## use this query to get current location of redolog
SQL> select group#,member from v$logfile order by 1;
## and change from <old_location> to <new_location>
SQL > ALTER DATABASE
RENAME FILE '+DG_TSM_DATA/tsm/onlinelog/group_3.263.720532229'
TO '/u01/app/oracle/oradata/logs/log3a.rdo' When you change all redolog on controlfile issue command below:
SQL> alter database open resetlogs;PS: Always track database in real time using alert log file of database.
HTH,
Levi Pereira -
How to restore ASM based OCR after complete loss of the CRS diskgroup (Doc
Hello, I'm testing Metalink doc id 1062983.1.
I have rac 11.2.0 with asm on Hp-Ux. I have an CRS diskgroup with external redundancy. The Unix System administrator dropped crs disk:
GRID user: oradb
GRID home: /oracle/product/11.2.0/grid ($CRS_HOME)
ASM disk group name for OCR: CRS
ASM/ASMLIB disk name: CRS_0000
Linux device name for ASM disk: /dev/rdisk/disk27
Cluster name: crs_desa
Nodes: rx2
I've checked backups
rx2:/oracle/product/11.2.0/grid/cdata/crs_desa $ ls -ltr
total 89384
-rw------- 1 root sys 6537216 Dec 7 20:34 week.ocr
-rw------- 1 root sys 6537216 Dec 8 00:34 day.ocr
-rw------- 1 root sys 6537216 Dec 9 00:35 backup02.ocr
-rw------- 1 root sys 6537216 Dec 9 00:35 day_.ocr
-rw------- 1 root sys 6537216 Dec 9 04:35 backup01.ocr
-rw------- 1 root sys 6537216 Dec 9 08:35 backup00.ocr
But I can't start CRS stack in exclusive mode. I've tried crsctl start crs -excl as root but I've got
rx2:/oracle/product/11.2.0/grid/bin # crsctl start crs -excl
CRS-4640: Oracle High Availability Services is already active
CRS-4000: Command Start failed, or completed with errors.
can anyone help me please?
Thanks in advance!
Edited by: user13398689 on 09-dic-2010 10:02You need to first stop the crs stack on all the nodes and then start the CRS stack on one node in exclusive mode.
-
Disappointed with the server based backup ...
I have had a palm pilot from the beginning (some time around 1995) and have been quite happy with the improvements over the years.
I was very happy when sprint introduced the palm centrino, as I could now incorporate my palm data with my cell phone, and manage everything on my computer and my cell phone.
I recently upgraded to the Palm Pre, and I am very disappointed.
I can no longer use my data on my computer & my cell phone.
I can only backup my cell phone data using a web based server, instead on my local computer.
(I am not happy with my data floating around cyber space, out of my control.)
If palm continues with this trend, my next cell phone will not be a palm pilot based phone.
I am sure many feel the same way I do.
Palm... WAKE UP... check with your base users before making such a radical change.
Post relates to: Pre 2 p102una (Rogers)Hello joelynn and welcome to the Palm forums.
You'll want to check out Chapura Echo or CompaionLink. I think both of those apps allow you to sync your Pre 2 with Palm Desktop on your PC over a Wi-Fi connection.
The days of connecting your phone/PDA to your computer to HotSync ended when Palm sold the Palm Desktop software to ACCESS of Japan a few years ago.
Going forward, webOS devices will not sync like the old Palm OS Centro phones and PalmPilot PDAs did.
That's the price of progress, I'm afraid.
Alan G -
Hello All,
I am using Oracle RAC 11g R2 + ASM.
I have basic below 2 questions concerning ASM and OCR and voting disks data
1. Is there any way to backup the ASM instance? Is that needed in a production environment? What is the best way to do that ? is it through RMAN ?
2. My OCR and Voting disks info are stored on ASM diskgroup +OCR, should I backup that? I am seeing md_backup command in asmcmd help
Regards,>
I have basic below 2 questions concerning ASM and OCR and voting disks data
1. Is there any way to backup the ASM instance? Is that needed in a production environment? What is the best way to do that ? is it through RMAN ?with the help of md_backup you can backup the metadata of the ASM instance .
Nice articles from arup on this
http://www.oracle.com/technetwork/articles/sql/11g-asm-083478.html
2. My OCR and Voting disks info are stored on ASM diskgroup +OCR, should I backup that? I am seeing md_backup command in asmcmd help
OCR backup detail -http://docs.oracle.com/cd/E11882_01/rac.112/e16794/votocr.htm#i1012456
The voting disk data is automatically backed up in OCR as part of any configuration change. -
Moving ASM-based RAC to new storage device
We recently installed Oracle 11gR2 RAC on a REH 5.3 cluster. CRS, Voting Disk, and database files are all sitting on an ASM disk group (on a Clarion storage device). A decision is made to move everything to a new storage device (DMX). We are using EMC powerpath.
Is there an easy way to move this Oracle cluster from one storage device to another.
We can rsync the grid and RDBMS binaries which are installed on a linux filesystem on each node but I would like to know how to go about moving the shared storage which is hosted on the ASM.
We used asmlib 2.0 to create the ASM disk and then relied on the clusterware installer and DBCA to create the disk group, the cluster components, and the oracle database.
Do I need to backup the ASM database as well as our RAC database (using RMAN) into a flat filesystem first and restore them once the new ASM disk is created in the new storage device?
A step by step procedure will be greatly appreciated.
Thanks,
OmerYes its possible without backup/restore.. good to take full back in case of any mishappening.
Please read metalink note for step by step process..
Exact Steps To Migrate ASM Diskgroups To Another SAN Without Downtime. [ID 837308.1]
Regards
Rajesh -
Network Based Backup of OS X Server
This tech doc:
Restoring OS X Server from a Time Machine backup
states
"Important: When restoring, restore from a local Time Machine backup. If you try to restore from a network-based Time Machine backup, not all settings will be restored correctly."
Does anyone have information regarding which settings will not be restored correctly?How to Make a Non-Commercial DVD copy of MAC OS X Leopard
Making a DVD Image
Step1. Insert the retail Mac OS X Install DVD into your drive.
Step 2. Launch Disk Utility (Applications > Utilities).
Step 3. In Disk Utility, you will notice a white pane on the left hand side. In the pane, select the Mac OS X Install DVD by clicking on it once.
Step 4. Click New Image on the Disk Utility toolbar.
Step 5. A dialog box will appear. Give the new image a name. I used 'Mac OS X Install DVD'. Select the destination where you wish to save it. Leave Image Format at Compressed (default) and Encryption at None (default).
Step 6. Click Save to begin creating the image.
Step 7. Once your image has been created DO NOT mount it. Leave the image alone and proceed to the next section. Burning the Image
Step 1. Launch Disk Utility (Applications > Utilities).
Step 2. Click Burn on the Disk Utility toolbar (upper left).
Step 3. Navigate to where you saved the DVD image created in the previous section. Click on the image file, then click the Burn button. Do not drag and drop the image file into Disk Utility during this step.
Step4. Insert a DVD when prompted and proceed to Burn it. (use good quality media) Using these exact steps I was successfully able to create a personal backup copy of Mac OS X Leopard. I hope this helps. -
Hi all,
Has anyone discovered a way to backup the contents of a ASM DG.
For example If I were to hot backup the database and place the pieces and sets to the virtual file-system within ASM DG would it be possible to configure netbackup to then backup those pieces to tape?
TIA
EddyAs long as you have a running ASM instance,you have access to the FRA,independent of the database status itself. So in case of a corrupt SYSTEM tablespace,you would - as usual - mount the database and then restore/recover out of the FRA. If necessary (backups no longer in the FRA), you would have first to restore back from tape to the FRA. All these tasks don't require an up and running database. Of course and already said, when working with ASM, you need ASM up und running.
Werner -
Does the following scenario work??? :-
A Windows PC is connected to Airport TimeCapsule (ATC) wifi.
A Mac is connected to the ATC wifi.
The Mac's Time Machine software is set up and automatically backs up to the internal HDD.
The Mac can browse files on the internal HDD, and drag and drop files to and from.
The PC can easily see the internal HDD as a device on the network. The PC can drag and drop files to the internal HDD. The PC can read and write to the files that the MAC has placed on it. The PC has some automated backup software installed, which recognises the ATC internal HDD as a backup storage device.You are right.. you cannot partition a TC.
Nor can you use NTFS..
And you can corrupt the TM backup but you can do that from Mac just as well.. the TC is better with one disk used for data or TM and another disk.. a USB plugged in for the other.
Windows compatible means.. all names are short, no spaces and pure alphanumeric.
You used to be able to set workgroup but Apple haven't bothered with that of late.. there is no upgrade to the airport utility for windows.. although one should be coming. Windows can have issues.. it was no problem on the older 5.6 utility and that still partly works but I have no idea if it will work on the AC model. -
How to I restore iPhone from tape-based backup?
Accidentally wrote over the wife's old iPhone 4S with nothing before checking the transfer to new iPhone 6.
Can I restore her old iPhone from my tape backup system through iTunes?
Thanks!Try this link http://www.notebooksapp.com/retrieve-older-itunes-backups-from-a-backup-disk/
tt2 -
11.2.0.3.2 GI PSU 2 on ASM Based Standalone DB
Applying the GI PSU 2 on a vanilla database is fairly easy. However, patching a standalone database in an Oracle Restart and ASM configuration, which uses Role Separation, and running OPatch in auto mode is a little more challenging. At some point the OPatch auto mode will be clear sailing, but given this configuration there were bumps in the road.
The notes provided in the following link may save you from a sleepless night if your database does not come up after applying the patch.
Good luck, and let me know if you have comments.
http://www.oem-dba.com/GIpsuApply.pdf
Edited by: 846807 on Apr 23, 2012 8:18 AMLet me suggest something:
Use a response file for applying a PSU on any Grid construction. It's sounds litte bit like voodoo, but given you did the usual preparation and checking, it's usually just three steps:
* Apply p6880880 for the most recent OPatch utility (you have to do this anyway as a prereq of the PSU)
* Create the response file (execute $ORACLE_HOME/OPatch/ocm/bin/emocmrsp - this binary comes with recent p6880880's) and move it to any convenient directory for the next step
* Do "opatch auto ./install/11203psu5 -ocmrf ./ocm.rsp"
I did it this way seven times now, and can't see a reason not to make it my common for the future.
Regards
Martin Klier -
I am currently looking for a solution to backup my growing iphoto libary on the web. It would be nice to be able to view the photos on the web as well.
So far I have considered using:
-flickr to upload all of my iphotos events
-google picasa with and app called Phoshare to export symlinks to the photos which would then be uploaded to picasa. http://productforums.google.com/forum/#!msg/picasa/QE1hlVBMNqE/Mta22IEITAcJ
Has anyone had any experience with these soliutions or know of any other solutions?
Thanks,
-MattThanks Leonie, I agree purchasing external hardrives is the way to go to have a backup. My problem now is I currently have a new macbook and the solid state hard drive is only 250gb. So I am looking for a way to "archive" my older iphoto events but still have them accessable via the web.
I will check out Roger Wilmut's site as well!
Thanks,
-Matt
Maybe you are looking for
-
How can I keep my iPhone 4 Mail from freezing & losing drafts?
I often send email from my iPhone (4 with iOS 5.0.1) only to find that the phone doesn't have a connection. Often once it has a connection again, the mail program will never load -- instead freezing, the "load wheel" forever circling, "Checking for M
-
I cannot fill in fillable forms.
When I click on the field, I get an error message that says window cannot acces path and I might noto have permissions. This has never happened before and I am really stuck. Anyone have any ideas?
-
I have made a swirl, but the allign stroke inside, and allign stroke outside are greyed out. Why? And how can I fix it?
-
TS3212 Installed itune on my pc,when I click on icon it will not open
Installed itunes on my pc,when I click on icon it will not open.
-
I want the document amount coloumn in layout for the T.Codes FB03 and FBV0. I am not able to find in the layout. How to get.