Logical backup?
Hi Guru's
i confused with terms ,can any body tell me what is logical backup ......or is it same as cold backup and hot backup??? please help me
Chetan ....
CHETAN YADAV wrote:
Hi Guru's
i confused with terms ,can any body tell me what is logical backup ......or is it same as cold backup and hot backup??? please help me
Chetan ....Logical backup is taking using exp/expdp utilities.
Cold backup can be take user managed so,you can shutdown immediate database and copy all control/data/online logs to other backup location,this is cold backup,also you can take this rman.
Hot backup can be take if database running in archivelog mode.You can use RMAN or user managed.from rman you can try just BACKUP DATABASE and that is enough.Or user managed you can use ALTER DATABASE BEGIN BACKUP or ALTER TABLESPACE BEGIN BACKUP then using OS commands you can copy datafiles to other backup location.
Finally these are different.
Similar Messages
-
Logical backup and recovery using export/import
Hi,
Anyone provide me the clear steps and command to take logical backup and recovery using the import and export method...??.
im using oracle 9i database and redhat linux server version 4.0.........???.
thanks,
vasanth.......user12864080 wrote:
Hi,
Anyone provide me the clear steps and command to take logical backup and recovery using the import and export method...??.
im using oracle 9i database and redhat linux server version 4.0.........???.
thanks,
vasanth.......Vasant,
Though you have got links already for using the exp/imp , I would strongly suggest that when you mention backup/recovery, RMAN is the tool that you should be using. Exp/imp is/was never considered as a backup tool. You should read this paper to get the answer of "why rman" ?
http://www.evdbt.com/TD_Rman.pdf
Aman.... -
Logical backup of a schema without taking the data of particular table
How can I take the logical backup of a schema without taking the backup of data of a one particular table?? I need to give the dump to the client but I do not want to give them data of one particular table.
@Werner:
Requirement is to have a "logical backup of a schema without taking the backup of data of a one particular table".
I presume the requirement to have all tables with data and one table without data in a single dump file.
ROWS=N will not export any data for any table
:) -
Export dump(logical backup) runing since yesterday
Hi to All,
We are taking full export dump(logical backup) of database.till last week its fine on sunday we change the password of administrator and we forgot to change to password in this scheduled scripts.and yesterday i run this backup manullay in morning and i saw its affecting our performance I cancel this task in middle only I haven't deleted that files from backup location and I had given the password in that scirpts and that scripts runing and that scripts started runing at there aproprite time but the incomplete backup is existed at backup location and the backup which started at scheduled time is runing since yesterday before its fininsh in 2 or 3 hours but know its runing since yesterday.Please give me some solution.
Thanks and Regards
Mohd KhajaOn windows it gets a bit hairy as there really is no clean and nice way of doing it.There are a couple of options.
1. If you can rely on dateformat not changing, you can use a static substring expression. For example, the following might work w/ finnish locale echo %date:~3,2%%date:~6,2%%date:~9,4%Similarly, when you know the dateformat you can tokenize the output of 'date /t' and discard the tokens you don't want.
2. You can set dateformat to your liking and then just use %date% in your script
3. You can run a "SELECT to_char(sysdate,..." into a file and then read that file in your script.
4. Simon Sheppard also has a solution you could use as a basis. I have a slight issue with the approach, but that could just be me.
5. Use gnuwin32 or similar ;)
Also note that %date% env var is set automatically from w2k onwards, so some of the solutions might not work w/ older versions. -
Regarding RMAN n Logical Backup
Hi All,
Will Select query affect the RMAN n logical Backup????hi yingkuan..
VERSION
10.1.0.5.0
Its a select query which contain lots of conditions....
please find below the query
select distinct cci.consmr_no ,vin
from lead_info li,
lead_std_address lsa,
cdr_consmr_info cci,
cdr_address ca,
cdr_product_info cpi
where li.household_id=lsa.household_id and
cci.consmr_no=ca.consmr_no and
cci.consmr_no=cpi.consmr_no and
cpi.extract_dt between '22-DEC-2005' and '31-DEC-2006' and
li.last_name=cci.last_name and
lsa.address_1=ca.address and
lsa.city_name=ca.city_name and
lsa.state=ca.state and
lsa.zip=ca.zip and
li.family_id is not null and
cpi.family_id is null -
Complete logical backup separte of every schema
i want to take complete logical backup of all the schemas running on database separtely by a script which then replace the last 2 days backupp
any script in this regard
thanks a lot@echo off
CLS
REM ********************************
SET V_USER=riyadh
SET V_PASSWORD=riyadh
SET V_DB=vis
SET V_DMP_PATH=D:\dump\
REM ********************************
ECHO.
SET EXP_PATH=D:\oracle\visdb\9.2.0\bin\
SET MONTH=%DATE:~4,2%
SET YEAR=%DATE:~10,4%
SET DATED=%DATE:~-7,2%
ECHO ------------------------------------------------
ECHO CONNECT AS : %V_USER%/%V_PASSWORD%@%V_DB%
ECHO Backup on : %DATED%/%MONTH%/%YEAR% (DD/MM/YYYY)
ECHO SAVE AS : %V_DMP_PATH%%V_USER%_%DATED%%MONTH%%YEAR%.dmp
ECHO ------------------------------------------------
TITLE BACKUP ...%V_USER%_%DATED%%MONTH%%YEAR%
echo.
%EXP_PATH%EXP.exe %V_USER%/%V_PASSWORD%@%V_DB% file=%V_DMP_PATH%%V_USER%_%DATED%%MONTH%%YEAR%.dmp log=%V_DMP_PATH%%V_USER%_%DATED%%MONTH%%YEAR%.log
i am using this script for daily backup but i want to replace then the first dump after 3 days but the date should be of today meanz i want to replace the dump of 3 days earlier suppose i take backup on 27 so when i take dump on 31 again it replace the dump of 27 but the dump file name should be 31 so i can understand easily this is dump of 31 -
Is it possible to use ASM diskgroup as a destination
for logical backups? For example I have ASM diskgroup
for Flash Recovery Area and want to use its space for dumps too.No,
only datafiles,
datafile copies,
controlfiles,
online redo log files,
archived online redo log files,
rman backup sets
ar possible as far as I know.
Not possible are:
alertlogs,
trace files,
password files,
binaries.
Regards,
Lutz -
Hi, DBA Professionals,
If i take logical backup of full database, what else in the database to take backup.
is this logical backup will take only logical data or physical data?
if it takes logical only then what about row=y
and what is difference between isqlplus and oem
could you please clarify my doubts.
thanks a lot in advance.805547 wrote:
thanks a lot for guided me,
i am using 10g R2 database.
if i take complete, incremental, cumulative backups of my database, if i loss whole database is it possible to recover it with logical backups. if it is yes, what is the method.
A "complete, incremental, cumulative backups" would be physical backups using rman. a "logical" backup would be an export (exp or expdp) dump. The logical backup can only be imported back into a working database, and would be a point-in-time snapshot of the data. With use of proper backup options, a proper physical backup can recover a database from a total loss, and to any point in time covered by the backups.
if i loss system datafile only what is the method to recover it using logical backups.There is none. That's why "logical" backups are only one part - and the least important part - of a complete backup/recovery strategy. -
RMAN logical backup containing unused blocks
Dear Experts
When i taking logical backup of datafile from RMAN utility i notify that it will also backed up all unused blocks from datafile, so what i need to do, how to avoid that unused block from being backed up while taking logical backup of datafiles.
System details as follows
HP Itanium server
OS - Redhet Linux 5
DB - Oracle10g
Suggest me urgent.Here i am gonna show you the backup statistics for only those problematic datafiles
DFNAME DATAFILE_BLCKS BLOCKS DIFF
/san_index/oradata/orcl/rajemitra_index1.dbf 1695744 9818 1685926
/san_index/oradata/orcl/rajemitra_index2.dbf 1716224 8527 1707697
/san_index/oradata/orcl/rajemitra_index3.dbf 1622016 9727 1612289
/san_index/oradata/orcl/rajemitra_index4.dbf 1622016 9808 1612208
/san_index/oradata/orcl/rajemitra_index1.dbf 1695744 24823 1670921
/san_index/oradata/orcl/rajemitra_index2.dbf 1716224 19891 1696333
/san_index/oradata/orcl/rajemitra_index3.dbf 1622016 20591 1601425
/san_index/oradata/orcl/rajemitra_index4.dbf 1622016 17026 1604990
/san_index/oradata/orcl/rajemitra_index1.dbf 1695744 21239 1674505
/san_index/oradata/orcl/rajemitra_index2.dbf 1716224 17843 1698381
/san_index/oradata/orcl/rajemitra_index3.dbf 1622016 19820 1602196
/san_index/oradata/orcl/rajemitra_index4.dbf 1622016 14429 1607587
/san_index/oradata/orcl/rajemitra_index1.dbf 1695744 33885 1661859
/san_index/oradata/orcl/rajemitra_index2.dbf 1716224 41480 1674744
/san_index/oradata/orcl/rajemitra_index3.dbf 1622016 32338 1589678
/san_index/oradata/orcl/rajemitra_index4.dbf 1622016 26288 1595728
/san_index/oradata/orcl/rajemitra_index1.dbf 1695744 10504 1685240
/san_index/oradata/orcl/rajemitra_index2.dbf 1716224 18169 1698055
/san_index/oradata/orcl/rajemitra_index3.dbf 1622016 16195 1605821
/san_index/oradata/orcl/rajemitra_index4.dbf 1622016 11974 1610042
/san_index/oradata/orcl/rajemitra_index1.dbf 1695744 16938 1678806
/san_index/oradata/orcl/rajemitra_index2.dbf 1716224 25688 1690536
/san_index/oradata/orcl/rajemitra_index3.dbf 1622016 30653 1591363
/san_index/oradata/orcl/rajemitra_index4.dbf 1622016 20611 1601405
/san_index/oradata/orcl/rajemitra_index1.dbf 1695744 965385 730359
/san_index/oradata/orcl/rajemitra_index2.dbf 1716224 1010354 705870
/san_index/oradata/orcl/rajemitra_index4.dbf 1622016 1004034 617982
/san_index/oradata/orcl/rajemitra_index1.dbf 1695744 1695397 347
/san_index/oradata/orcl/rajemitra_index2.dbf 1716224 1713435 2789
/san_index/oradata/orcl/rajemitra_index3.dbf 1622016 1621255 761
/san_index/oradata/orcl/rajemitra_index4.dbf 1622016 1620287 1729
/san_index/oradata/orcl/rajemitra_index1.dbf 1695744 1695397 347
/san_index/oradata/orcl/rajemitra_index5.dbf 1171456 1170831 625
/san_index/oradata/orcl/rajemitra_index1.dbf 1695744 1695397 347
/san_index/oradata/orcl/rajemitra_index2.dbf 1716224 1713470 2754
/san_index/oradata/orcl/rajemitra_index3.dbf 1622016 1621261 755
/san_index/oradata/orcl/rajemitra_index4.dbf 1622016 1620364 1652
/san_index/oradata/orcl/rajemitra_index5.dbf 1171456 48547 1122909
/san_index/oradata/orcl/rajemitra_index1.dbf 1695744 47875 1647869
/san_index/oradata/orcl/rajemitra_index2.dbf 1716224 19725 1696499
/san_index/oradata/orcl/rajemitra_index3.dbf 1622016 26205 1595811
/san_index/oradata/orcl/rajemitra_index4.dbf 1622016 56040 1565976
/san_index/oradata/orcl/rajemitra_index5.dbf 1171456 31859 1139597
/san_index/oradata/orcl/rajemitra_index1.dbf 1695744 29509 1666235
/san_index/oradata/orcl/rajemitra_index2.dbf 1716224 20767 1695457
/san_index/oradata/orcl/rajemitra_index3.dbf 1622016 13210 1608806
/san_index/oradata/orcl/rajemitra_index4.dbf 1622016 31411 1590605 -
win nt,Oracle 8.1.5
Hii,
its taking long time ,
When trying to take logical backup using EXP utility, even i use DIRECT=Y option.
Please advice how to solve this.Syed, Placing the database in restricted mode is usually not an option and assuming the applicaion ID's do not have restricted session privilege if you restrict the database specifying consistent=y should be unnecessary as no updates would be taking place.
Being that Oracle only exports index definitions and not actual index rows specifying indexes=n would also not help much.
I would suggest that first Jayam verify that the export file is not being written to the same disk the db files are on. This would obviously lead to disk contention, but is a pretty common problem on MS platforms.
Second a conventional export with a large buffer= parameter could be tried if disk contention is not an issue or cannot be avoided. exp file=mydmp buffer=1048576 compress=n etc...
HTH -- Mark D Powell -- -
Full DB logical backup Vs required scehams backup
Hi,
In my database i am using only 2 schemas and have the grants on one schemas tables to another schema.
So, which is the better way to take the logical backup i.e. full db backup or only the required schemas backup.
Please advice me.
Thanks in advance,
MahiHi,
>>If we take full backups, while import there will be a chances to db crash or improper behavior."
Why?
>>IS it right, but i am saying that if we take the full backup we will not miss any grants etc..
Keep in mind that "grants" commands are also exported in a schema level ...
>>So, please let me know which backup i have to take either full backup or only required schemas backup?
If you are so worry about it, I don't see any problem in take a full database export ...
Cheers
Legatti -
Tracking the logical backups' success
DB version:10.2.0.4
OS : Solaris 5.10
We have 45 schemas in one of our critical production DBs.
Apart from the RMAN backups, we take logical backups of all the business related 45 schemas.
A shell script is dynamically generated and executed every day to take EXP backups of all these 45 schemas
I need to create a PL/SQL code or Shell script which will notify us through email if any of the EXP commands have failed.
What is the 'professional' way to do this? We already have the Email sending PL/SQL procedure ready.Y.Ramlet wrote:
Will Enterprise Manager send mails when individual schemas's backups have failed ?EM would send mail when the requested job is failed and you have configured another , backup job which would run and send an email. So the answer would be IMO, it depends .
HTH
Aman.... -
Is it possible to take incremental logical backups via EXPDP in Oracle 10g
Guys,
I am curious that can EXPDP be used to take the incremental logical backups. If so then please let me know how it is possible.
Regards
AsifThere is no incremental specification clause like the one in the export command (INCTYPE). If you ever used the export incremental option, IMO it was not actually an incremental export, it was just enough for a table to change one row to consider the complete Table to be exported on the next exp execution. Not quite a practical approach, overall considering that regularly the more sized tables are those that frequently change.
~ Madrid -
Logic Backup / System Upgrade
Hi,
I have been helping a friend today upgrading his mac pro with new memory and an SSD to replace the default hitachi hard drive.
He is currently running Logic 8 on Leopard 10.5.8 and would like to upgrade to Mountain Lion / Mavericks.
I gave him two options to either do a clean install or to upgrade which would mean firstly upgrading to Snow Leopard and then upgrading to Mountain Lion or Mavericks.
He needs to keep all his audio units / plugins and custom presets, settings for plugins.
What would be the best way to backup all the audio software settings and then restore after a clean install?
We tried upgrading to Snow Leopard after cloning his system drive to the new SSD and it said that Mac OS X cannot be installed onto this drive.
Any help / advice would be awesome!
Thanks.Note:
Firstly, Logic Pro 8 cannot easily be installed from scratch on a Mountain Lion/Mavericks System..... It is possible using Pacifist but it is not for the non-technical minded.
Second...Trying to 'move' Logic Pro 8 (or 9) and it's content over to a new System drive with a new OS, manually or via any OS X utility.. is very tricky as often this causes all kinds of weird behaviour...errors etc.. relating to permissions/account issues... and is not recopmmended. It is recommended that one starts again from scratch but in this instance see #1
Thirdly, some older plugins/Interface drivers and so on etc.. are not fully compatible with ML/Mavericks...so one needs to check beforehand if there are updates to provide full compatibility first before attempting this...
Personally, if one is needing to upgrade to Mavericks.. for whatever reason.. then I would recommend creating a second boot disk... and then install Mav and if wanted.. Logic Pro X on that drive.... to ensure full future compatibility.... and keep the original Hitachi Drive for Leopard and LP8 for backwards compatibility.. with older projects/plugins etc.. and just boot between the two when needed. -
Hellow friends,
I am writing a script TO RECOVER MY DATABASE FROM EXPORT BACKUPS IN PL/SQL, which are stored in my folder
F:\ORACLE\ORADATA\BACKUPS.
There are many export backups in this folder comprising of some COMPLETE, CUMULATIVE and INCREMENTAL exports with timestamp embedded in the names.
I want to choose from these files, which file to apply.
can anybody tell me that is there any method available in PL/SQL to handle file.Refer to any pl/sql 2.3 and higher manual . There is a package called utl.file.
Maybe you are looking for
-
OKAY SO ITUNES ISNT RECOGNIZING MY IPOD SO I FOLLOWED THE STEPS THAT APPLE OUTLINED FOR ME. THEY TOLD ME TO RIGHT CLICKMY "TEMP" FOLDER AND HIT DELETE. WHEN I DID THAT, A MESSAGE CAME UP AND STATED. "CANNOT DELETE: ERROR 3632. ACCESS DENIED. MAKE SUR
-
Help library installation in SAP R/3 4.7
Hi All, I have installed Help library in my server and added the path in SR13- under new entries and given the path of EN. But when I open the SAP Library it is showing the following error Could not find file "10.121.4.36\EN\e18e5134\1a06084d\e100000
-
How can I add a whole paragraph of text to an IPad Numbers row?
I can add the text just fine, and the text wraps to the next line as I type it, but when I'm done only one row of text appears. If I change the row height, it creates a nice high row, but again only the first line appears at the bottom of the row.
-
We are trying to use Adobe Connect Professional to teach others at a different site and they can't read text on some of the screens. We are using a live site via the web so we can't change font size like you can in a slide or document. Any ideas? Th
-
Hi Friends. i use below command based on oracle document Start the Management Repository database instance: ORACLE_HOME/bin/sqlplus /nolog SQL> connect SYS as SYSDBA SQL> startup However, it always ask me to enter a password. But when my sr. dba type