Rman backup and restore noarchive log
Hi,
We are changing our backup tools from exp to rman. For this I am trying to do
restoration in test server of oracle db running on 9.2 noarchive log.
Step 1. Taken complete backup with rman with nocatalog and include controlfile
nput datafile fno=00008 name=D:\ORACLE\ORADATA\TOTO\TOOLS01.DBF
channel ORA_DISK_1: starting piece 1 at 09-MAR-06
channel ORA_DISK_1: finished piece 1 at 09-MAR-06
piece handle=D:\DBBACKUPS\T1.BKP comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:01:15
Finished backup at 09-MAR-06
Step 2. Deleted database files and control files from database directory.
Step 3. Restore controlfiles
RMAN> restore controlfile from 'd:\dbbackups\t1.bkp';
Starting restore at 09-MAR-06
using channel ORA_DISK_1
channel ORA_DISK_1: restoring controlfile
channel ORA_DISK_1: restore complete
replicating controlfile
input filename=D:\ORACLE\ORADATA\TOTO\CONTROL01.CTL
output filename=D:\ORACLE\ORADATA\TOTO\CONTROL02.CTL
output filename=D:\ORACLE\ORADATA\TOTO\CONTROL03.CTL
Finished restore at 09-MAR-06
Step 3. after database mount, try to restore datafiles, which is failed
restoring datafile 00024 to D:\ORACLE\ORADATA\TOTO\DIN36\TESTUNV1.ORA
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 03/09/2006 17:24:25
ORA-19505: failed to identify file "D:\DBBACKUPS\TOTOBKP.RMAN"
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
Why it is looking old backup totobkp.rman which is not existing on disk ? My
backup name is t1.bkp.
Will you pl tell me where I have gone wrong ? Secondly what are the correct
steps to be followed for taking cold backup and restoration.
thanks & regards
pjp
Okay let us ponder this for a moment:-
DB NOARCHIVELOG
It does not matter when you take the backup of controlfile because the database is in mount state and no changes are allowed to the db ( Checkpoints etc. )
DB ARCHIVELOG
It does not matter when you take the backup of controlfile because the database is continuously writing to the archivelog's.
End result should not be significantly different as to worry about whether to take backup of control file before or after backup.
Thanks
Gopal
Similar Messages
-
RMAN backup and restore for Disaster Recovery
Hi Guys,
I am very new to Oracle and have a question about RMAN backup and restore feature. I am simulating a disaster recovery scenario by having two VMs running oracle 11g, say hosta and hostb, hosta is sort of production db and the other a disaster recovery db (one that will be made primary when disaster occurs). My goal is to backup production db using RMAN and restore it on the other machine. For some reason when I restore the db on hostb, the command restores the previous backup but not the most recent one e.g. I took a backup yesterday (09/20) and applied it to the hostb that worked fine, but when I try to apply a fresh backup from today (09/21) it always picks up the old backup. Here's a dump of the screen:
Starting restore at 21-SEP-11
using channel ORA_DISK_1
channel ORA_DISK_1: starting datafile backup set restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
channel ORA_DISK_1: restoring datafile 00001 to /oracle/app/dev/oradata/forums/s
ystem01.dbf
channel ORA_DISK_1: restoring datafile 00002 to /oracle/app/dev/oradata/forums/s
ysaux01.dbf
channel ORA_DISK_1: restoring datafile 00003 to /oracle/app/dev/oradata/forums/u
ndotbs01.dbf
channel ORA_DISK_1: restoring datafile 00004 to /oracle/app/dev/oradata/forums/u
sers01.dbf
channel ORA_DISK_1: reading from backup piece /oracle/app/dev/flash_recovery_are
a/FORUMS/backupset/o1_mf_nnnd0_TAG20110920T040950_77jx3zk7_.bkp
channel ORA_DISK_1: piece handle=/oracle/app/dev/flash_recovery_area/FORUMS/back
upset/o1_mf_nnnd0_TAG20110920T040950_77jx3zk7_.bkp tag=TAG20110920T040950
channel ORA_DISK_1: restored backup piece 1
channel ORA_DISK_1: restore complete, elapsed time: 00:01:05
Finished restore at 21-SEP-11
Notice that it reads the backup piece from this location /oracle/app/dev/flash_recovery_are
a/FORUMS/backupset/
whereas my latest backups are stored at a different location.
I am executing following steps at the RMAN prompt on hosta and hostb:
hosta (production site)
backup as compressed backupset database plus archivelog
backup current controlfile format'/oracle/oracle_bkup/ctl_%U'
backup spfile
hostb (Disaster site)
set dbid=13732232063
startup force nomount
restore spfile to '/oracle/app/dev/product/11.2.0/dbhome_1/dbs/spfileforums.ora' from '/export/home/dev/restore_db/backupset/2011_09_21/o1_mf_nnsnf_TAG20110921T114945_77ndg9ys_.bkp'
shutdown immediate
/* create a init<db_name>.ora file with SPFILE= /oracle/app/dev/product/11.2.0/dbhome_1/dbs/spfileforums.ora */
startup force pfile='/export/home/dev/restore_db/initforums.ora' nomount
restore controlfile from '/export/home/dev/restore_db/backupset/2011_09_21/ctl_1hmn3mic_1_1'
/* restart rman here */
quit
alter database mount;
catalog start with '/export/home/dev/restore_db/backupset/2011_09_21' noprompt;
/* call the next two commands on run */
restore database;
recover database;
alter database open resetlogs
quit
Any help will be greatly appreciated.
Thanks,
RajeshThanks guys, I really appreciate all your help here. I redid everything all over again to get all the information you guys wanted. Since I noticed that more eyes are looking into this I am going to reiterate my steps one more time followed by specific answers to questions. My first backup on Host B is located under ..../restore_db/backupset whereas the subsequent one is under .../restore_db/backupset/backupset2.
I take backup on Host A using:
rman target /
backup as compressed backupset database plus archivelog;
backup spfile;
quit;
I restore the backup on Host B using:
set dbid=13732232063;
startup force nomount;
restore spfile to '/oracle/app/dev/product/11.2.0/dbhome_1/dbs/spfileforums.ora' from '/export/home/dev/restore_db/backupset/o1_mf_nnsnf_TAG20110928T171830_787gbpxh_.bkp'
shutdown immediate;
startup force nomount;
restore controlfile from '/export/home/dev/restore_db/backupset/o1_mf_ncsnf_TAG20110928T171638_787gbkxn_.bkp'
quit;
/* restart rman here */
alter database mount;
catalog start with '/export/home/dev/restore_db/backupset' noprompt;
restore database;
recover database;
alter database open resetlogs;
quit;
I take another backup on Host A using (notice no spfile backup this time):
backup as compressed backupset database plus archivelog;
quit;
I restore the database on Host B using:
alter database mount;
catalog start with '/export/home/dev/restore_db/backupset/backupset2' noprompt;
recover database;
alter database open;
quit;
Output of List Backup of database (I have done this after I recovered the second time, also note that it is referring to backupset2 which is were my second backup is stored)
RMAN> list backup of database;
using target database control file instead of recovery catalog
List of Backup Sets
===================
BS Key Type LV Size Device Type Elapsed Time Completion Time
89 Full 261.87M DISK 00:01:37 28-SEP-11
BP Key: 91 Status: AVAILABLE Compressed: YES Tag: TAG20110928T171638
Piece Name: /export/home/dev/restore_db/backupset/o1_mf_nnndf_TAG2011092
8T171638_787g77rx_.bkp
List of Datafiles in backup set 89
File LV Type Ckp SCN Ckp Time Name
1 Full 1813849 28-SEP-11 /oracle/app/dev/oradata/forums/system01.dbf
2 Full 1813849 28-SEP-11 /oracle/app/dev/oradata/forums/sysaux01.dbf
3 Full 1813849 28-SEP-11 /oracle/app/dev/oradata/forums/undotbs01.dbf
4 Full 1813849 28-SEP-11 /oracle/app/dev/oradata/forums/users01.dbf
BS Key Type LV Size Device Type Elapsed Time Completion Time
97 Full 259.16M DISK 00:00:00 28-SEP-11
BP Key: 100 Status: AVAILABLE Compressed: YES Tag: TAG20110928T18352
7
Piece Name: /export/home/dev/restore_db/backupset/backupset2/o1_mf_nnndf
TAG20110928T183527787lv0nb_.bkp
List of Datafiles in backup set 97
File LV Type Ckp SCN Ckp Time Name
1 Full 1816853 28-SEP-11 /oracle/app/dev/oradata/forums/system01.dbf
2 Full 1816853 28-SEP-11 /oracle/app/dev/oradata/forums/sysaux01.dbf
3 Full 1816853 28-SEP-11 /oracle/app/dev/oradata/forums/undotbs01.dbf
4 Full 1816853 28-SEP-11 /oracle/app/dev/oradata/forums/users01.dbf
Output of list backup (done after restoring the control file)
RMAN> list backup;
BS Key Size Device Type Elapsed Time Completion Time
87 89.20M DISK 00:00:26 28-SEP-11
BP Key: 87 Status: AVAILABLE Compressed: YES Tag: TAG20110928T171526
Piece Name: /oracle/app/dev/flash_recovery_area/FORUMS/backupset/2011_09
_28/o1_mf_annnn_TAG20110928T171526_787g50bm_.bkp
List of Archived Logs in backup set 87
Thrd Seq Low SCN Low Time Next SCN Next Time
1 34 1302253 20-SEP-11 1306439 20-SEP-11
1 35 1306439 20-SEP-11 1307647 20-SEP-11
1 36 1307647 20-SEP-11 1307701 20-SEP-11
1 37 1307701 20-SEP-11 1311393 20-SEP-11
1 38 1311393 20-SEP-11 1311511 20-SEP-11
1 39 1311511 20-SEP-11 1332479 20-SEP-11
1 40 1332479 20-SEP-11 1344418 20-SEP-11
1 41 1344418 20-SEP-11 1350409 20-SEP-11
1 42 1350409 20-SEP-11 1350449 20-SEP-11
1 43 1350449 20-SEP-11 1350854 21-SEP-11
1 44 1350854 21-SEP-11 1350895 21-SEP-11
1 45 1350895 21-SEP-11 1353114 21-SEP-11
1 46 1353114 21-SEP-11 1353254 21-SEP-11
1 47 1353254 21-SEP-11 1353865 21-SEP-11
1 48 1353865 21-SEP-11 1353988 21-SEP-11
1 49 1353988 21-SEP-11 1375403 21-SEP-11
1 50 1375403 21-SEP-11 1376149 21-SEP-11
1 51 1376149 21-SEP-11 1376206 21-SEP-11
1 52 1376206 21-SEP-11 1376246 21-SEP-11
1 53 1376246 21-SEP-11 1379990 21-SEP-11
1 54 1379990 21-SEP-11 1380229 21-SEP-11
1 55 1380229 21-SEP-11 1380266 21-SEP-11
1 56 1380266 21-SEP-11 1380528 21-SEP-11
1 57 1380528 21-SEP-11 1380724 21-SEP-11
1 58 1380724 21-SEP-11 1380861 21-SEP-11
1 59 1380861 21-SEP-11 1381033 21-SEP-11
1 60 1381033 21-SEP-11 1381077 21-SEP-11
1 61 1381077 21-SEP-11 1402243 22-SEP-11
1 62 1402243 22-SEP-11 1423341 22-SEP-11
1 63 1423341 22-SEP-11 1435456 22-SEP-11
1 64 1435456 22-SEP-11 1454415 23-SEP-11
1 65 1454415 23-SEP-11 1490903 23-SEP-11
1 66 1490903 23-SEP-11 1491266 23-SEP-11
1 67 1491266 23-SEP-11 1491347 23-SEP-11
1 68 1491347 23-SEP-11 1492761 23-SEP-11
1 69 1492761 23-SEP-11 1492891 23-SEP-11
1 70 1492891 23-SEP-11 1493678 23-SEP-11
1 71 1493678 23-SEP-11 1493704 23-SEP-11
1 72 1493704 23-SEP-11 1494741 23-SEP-11
1 73 1494741 23-SEP-11 1494790 23-SEP-11
1 74 1494790 23-SEP-11 1510154 23-SEP-11
1 75 1510154 23-SEP-11 1514286 23-SEP-11
1 76 1514286 23-SEP-11 1531967 24-SEP-11
1 77 1531967 24-SEP-11 1543266 24-SEP-11
1 78 1543266 24-SEP-11 1558427 24-SEP-11
1 79 1558427 24-SEP-11 1566924 24-SEP-11
1 80 1566924 24-SEP-11 1578292 24-SEP-11
1 81 1578292 24-SEP-11 1596894 25-SEP-11
BS Key Size Device Type Elapsed Time Completion Time
88 84.03M DISK 00:00:30 28-SEP-11
BP Key: 88 Status: AVAILABLE Compressed: YES Tag: TAG20110928T171526
Piece Name: /oracle/app/dev/flash_recovery_area/FORUMS/backupset/2011_09
_28/o1_mf_annnn_TAG20110928T171526_787g63s9_.bkp
List of Archived Logs in backup set 88
Thrd Seq Low SCN Low Time Next SCN Next Time
1 82 1596894 25-SEP-11 1609028 25-SEP-11
1 83 1609028 25-SEP-11 1622303 25-SEP-11
1 84 1622303 25-SEP-11 1626430 25-SEP-11
1 85 1626430 25-SEP-11 1634486 25-SEP-11
1 86 1634486 25-SEP-11 1648398 25-SEP-11
1 87 1648398 25-SEP-11 1669259 26-SEP-11
1 88 1669259 26-SEP-11 1686820 26-SEP-11
1 89 1686820 26-SEP-11 1686959 26-SEP-11
1 90 1686959 26-SEP-11 1689168 26-SEP-11
1 91 1689168 26-SEP-11 1704759 26-SEP-11
1 92 1704759 26-SEP-11 1719597 27-SEP-11
1 93 1719597 27-SEP-11 1740407 27-SEP-11
1 94 1740407 27-SEP-11 1750125 27-SEP-11
1 95 1750125 27-SEP-11 1765592 27-SEP-11
1 96 1765592 27-SEP-11 1781498 28-SEP-11
1 97 1781498 28-SEP-11 1802311 28-SEP-11
1 98 1802311 28-SEP-11 1811009 28-SEP-11
1 99 1811009 28-SEP-11 1813811 28-SEP-11
BS Key Type LV Size Device Type Elapsed Time Completion Time
89 Full 261.87M DISK 00:01:37 28-SEP-11
BP Key: 89 Status: AVAILABLE Compressed: YES Tag: TAG20110928T171638
Piece Name: /oracle/app/dev/flash_recovery_area/FORUMS/backupset/2011_09
_28/o1_mf_nnndf_TAG20110928T171638_787g77rx_.bkp
List of Datafiles in backup set 89
File LV Type Ckp SCN Ckp Time Name
1 Full 1813849 28-SEP-11 /oracle/app/dev/oradata/forums/system01.dbf
2 Full 1813849 28-SEP-11 /oracle/app/dev/oradata/forums/sysaux01.dbf
3 Full 1813849 28-SEP-11 /oracle/app/dev/oradata/forums/undotbs01.dbf
4 Full 1813849 28-SEP-11 /oracle/app/dev/oradata/forums/users01.dbf -
Rman backup and restore from ASM env to Non ASM Environment
Hi,
I got a situation where i need to take RMAN Backup from ASM RAC environment and Restore that back to Non ASM standalone database.
Please let me know the procedure.
would appreciate your quick response874152 wrote:
Hi,
I got a situation where i need to take RMAN Backup from ASM RAC environment and Restore that back to Non ASM standalone database.
Please let me know the procedure.
would appreciate your quick response
Hi,
You can follow this procedure
1. take the backup to destination host
2. restore spfile and controlfile
3. catalog the backup with command 'catalog start with <location of backup>'
4. use "set newname for datafile" to restore the datafile to non asm disk
5. restore database
6. recover database until point in time
7. rename redolog and tempfile
8. open database with resetlogs
9. remove redolog group from another instance
10. you might want to drop undo tablespace from another instance too
11. task complete
Cheers -
RMAN Backup and Restore - From AIX to Linux
Hi All,
I want to take RMAN Backup from AIX (Oracle 11.2.0.3) and restore it to RHE Linux . Both of them are 64-bit.
Can someone please, let me know the steps ?
Thanks,airmax012 wrote:
hello can i restore an RMAN backup from AIX to LINUX?
thanksI give up.
Can you.
post Oracle version to 4 decimal places -
RMAN backup and restore in network
Hi,
I have already did cold backup of database using RMAN in the same disk on a linux OS. It was successful.
Now i want to do the same backup in a different disk on a another system. Both the systems are in same network.
Please help meYou can name the NFS mount point anything meaningful.
In your RMAN Backup script, you would use the FORMAT clause to specify the location where the backups are to go to.
For example, if the filesystem from linux2 is NFS-mounted on linux as as /NFS_backup your RMAN command would be
BACKUP DATABASE FORMAT '/NFS_backup/%U';
BACKUP ARCHIVELOG ALL FORMAT '/NFS_backup%U' DELETE INPUT ;Look up the syntax of the formatSpec in the Backup and Recovery Reference for formats other than %U. %U generates a Unique File Name.
Hemant K Chitale
http://hemantoracledba.blogspot.com -
Rman backup and restore on another box with the same database name
Hi,
I am using the following script to backup the database, I want to restore the backup on another server with same database name but different datafile locations , Can some one help me in the restoration please.
#set oracle_sid=LIVE
run {
allocate channel t1 type disk;
backup database plus archivelog delete input format 'D:\Backup\ORACLE\LIVE\df_t%t_s%s_p%p';
backup current controlfile;
release channel t1;
ThanksYou need to use "set newname" before you restore your database.
You can refer this http://docs.oracle.com/cd/E11882_01/backup.112/e10642/rcmdupad.htm
RMAN> connect target /
connected to target database: TEST (DBID=2033933270)
RMAN> run
2> {
3> startup nomount;
4> restore controlfile from 'location/DF_T770331608_S104_P1';
5> alter database mount;
6> restore database;
7> recover database;
8> alter database open resetlogs;
9> }Also, you have connected to the database TEST, so is the TEST database the new database that you want to create using restore method ?
If yes, then how the status of the database is OPEN ? The database status should be nomount before you restore the controlfile.
If the database is not started, then:
RMAN shows as "connected to target database: TEST (not started)
If the database is in nomount stage, then
RMAN shows as "connected to target database: TEST (not mounted)
If the database is in mount stage, then
RMAN shows as "connected to target database: TEST (DBID=xxxxxxxx, not open)
If the database is open mode, then
RMAN shows as "connected to target database: TEST (DBID=xxxxxx)
In the output you mentioned, RMAN is showing the status of the database as opened. So if TEST is the database you are creating, then it has to be in nomount stage. In your case, it looks like TEST is the primary database from which you have taken the backup. -
Backup and restore logs, quarantines cisco ironport c170
Hello,
Is there anyway to backup and restore logs and quarantine to another ironport c170?
Thanks in advance.
AlexandreHello Alexandre,
logs can easily be downloaded via FTP or SCP, there is a folder per logs subscription, i.e.
/mail_logs
/system_logs
/error_logs
Each folder contains multiple logs, thos e are with extention .s are the ones that have rolled over, while .c and .current are the ones currently written to. I would not recommend to upload them to another appliance, as this may cause problems or at least confusion. Quarantines cannot be backed up, that functionality is limited to SMAs (M-series).
Hope that helps,
Andreas -
Is RMAN only way to take backup and delete Archive Logs?
On primary db:
===============
OS: Windows 2003 server 32-bit
Oracle: Oracle 10g (10.2.0.1.0) R2 32-bit
On Physical standby db:
===============
OS: Windows 2003 server 32-bit
Oracle: Oracle 10g (10.2.0.1.0) R2 32-bit
Data Guard just configured. Archive Logs are properly being shipped to standby db. Is RMAN only way to take backup and delete Archive Logs from both primary and standby db? What other command can be used?
ThanksNo, but anything else is way more work. Without using RMAN you would have to find another way to keep track of applied logs.
RMAN make this very simple :
RMAN> CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY;Using another method would be like using the handle of your screwdriver as a hammer.
See "RMAN Recipes for Oracle Database 11g" ISBN 978-1-5959-851-1
Best Regards
mseberg -
RMAN BACKUPS AND ARCHIVED LOG ISSUES
제품 : RMAN
작성날짜 : 2004-02-17
RMAN BACKUPS AND ARCHIVED LOG ISSUES
=====================================
Scenario #1:
1)RMAN이 모든 archived log들을 삭제할 때 실패하는 경우.
database는 두 개의 archive destination에 archive file을 생성한다.
다음과 같은 스크립트를 수행하여 백업후에 archived redo logfile을 삭제한다.
run {
allocate channel c1 type 'sbt_tape';
backup database;
backup archivelog all delete input;
Archived redo logfile 삭제 유무를 확인하기 위해 CROSSCHECK 수행시 다음과
같은 메시지가 발생함.
RMAN> change archivelog all crosscheck;
RMAN-03022: compiling command: change
RMAN-06158: validation succeeded for archived log
RMAN-08514: archivelog filename=
/oracle/arch/dest2/arcr_1_964.arc recid=19 stamp=368726072
2) 원인분석
이 문제는 에러가 아니다. RMAN은 여러 개의 arhive directory중 하나의
directoy안에 있는 archived file들만 삭제한다. 그래서 나머지 directory안의
archived log file들은 삭제되지 않고 남게 되는 것이다.
3) 해결책
RMAN이 강제로 모든 directory안의 archived log file들을 삭제하게 하기 위해서는
여러 개의 채널을 할당하여 각 채널이 각 archive destination안의 archived file을
백업하고 삭제하도록 해야 한다.
이것은 아래와 같이 구현될 수 있다.
run {
allocate channel t1 type 'sbt_tape';
allocate channel t2 type 'sbt_tape';
backup
archivelog like '/oracle/arch/dest1/%' channel t1 delete input
archivelog like '/oracle/arch/dest2/%' channel t2 delete input;
Scenario #2:
1)RMAN이 archived log를 찾을 수 없어 백업이 실패하는 경우.
이 시나리오에서 database를 incremental backup한다고 가정한다.
이 경우 RMAN은 recover시 archived redo log대신에 incremental backup을 사용할
수 있기 때문에 백업 후 모든 archived redo log를 삭제하기 위해 OS utility를 사용한다.
그러나 다음 번 backup시 다음과 같은 Error를 만나게 된다.
RMAN-6089: archive log NAME not found or out of sync with catalog
2) 원인분석
이 문제는 OS 명령을 사용하여 archived log를 삭제하였을 경우 발생한다. 이때 RMAN은
archived log가 삭제되었다는 것을 알지 못한다. RMAN-6089는 RMAN이 OS 명령에 의해
삭제된 archived log가 여전히 존재하다고 생각하고 백업하려고 시도하였을 때 발생하게 된다.
3) 해결책
가장 쉬운 해결책은 archived log를 백업할 때 DELETE INPUT option을 사용하는 것이다.
예를 들면
run {
allocate channel c1 type 'sbt_tape';
backup archivelog all delete input;
두 번째로 가장 쉬운 해결책은 OS utility를 사용하여 archived log를 삭제한 후에
다음과 같은 명령어를 RMAN prompt상에서 수행하는 것이다.
RMAN>allocate channel for maintenance type disk;
RMAN>change archivelog all crosscheck;
Oracle 8.0:
RMAN> change archivelog '/disk/path/archivelog_name' validate;
Oracle 8i:
RMAN> change archivelog all crosscheck ;
Oracle 9i:
RMAN> crosscheck archivelog all ;
catalog의 COMPATIBLE 파라미터가 8.1.5이하로 설정되어 있으면 RMAN은 찾을 수 없는
모든 archived log의 status를 "DELETED" 로 셋팅한다. 만약에 COMPATIBLE이 8.1.6이상으로
설정되어 있으면 RMAN은 Repository에서 record를 삭제한다.Very strange, I issue following command in RMAN on both primary and standby machine, but it they don't delete the 1_55_758646076.dbf, I find in v$archived_log, this "/home/oracle/app/oracle/dataguard/1_55_758646076.dbf" had already been applied.
RMAN> connect target /
RMAN> CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY;
old RMAN configuration parameters:
CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY;
new RMAN configuration parameters:
CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY;
new RMAN configuration parameters are successfully stored
RMAN>
---------------------------------------------------------------------------------- -
Hi All,
What are the commands using in SAP ECC 6.0 ehp on SYBASE Database? Backup and restore commands?Hi Jayachander,
Have a look at these sap notes:
For taking backup: Schedule from DB13 and get the exact command from Logs
1841993 - SYB: How to schedule backups in DBA Cockpit
1887068 - SYB: Using external backup and restore with SAP Sybase ASE
How to restore DB
1611715 - SYB: How to restore a Sybase ASE database server (Windows)
Divyanshu -
Full database backup and restore
I have a doubt on the syntax for a full database backup and restore. For a single schema, the syntax for backup & restore is :-
exp JISPREPCORBILLINGPRD501/JISPREPCORBILLINGPRD501 owner=JISPREPCORBILLINGPRD501 STATISTICS=none
log=JISPREPCORBILLINGPRD501_exp.log grants=y constraints=Y rows=y compress=N
file=JISPREPCORBILLINGPRD501
imp <userid/password> file=<export dump file location> fromuser=<export user name> touser=<import user name>
grants=y constraints=Y rows=y log=<import log file location>
I hope, my question is clear.
Please, help in solving the doubt.
regardshi,
thanks, for your answer. I took a export of one schema of the database. But, when I tried to import the schema to the destination database, it showed
imported with errors with the existence of functions showing. The commands used by me for export and import are as follows:-
exp JISPREPCORBILLINGPRD501/JISPREPCORBILLINGPRD501 owner=JISPREPCORBILLINGPRD501 STATISTICS=none log=JISPREPCORBILLINGPRD501_exp.log grants=y constraints=Y rows=y compress=N file=JISPREPCORBILLINGPRD501
imp JISPREPCORBILLINGPRD501/JISPREPCORBILLINGPRD501 file=JISPREPCORBILLINGPRD501 fromuser=JISPREPCORBILLINGPRD501 touser=JISPREPCORBILLINGPRD501 grants=y constraints=Y rows=y log=JISPREPCORBILLINGPRD501_imp.log
Do, we need to drop the existing schema before importing or somethinig else. Please, help.
regards -
Best way to backup and restore multiple iPhones??
hi everyone,
I am a pretty computer savvy person and I have a friend with an iPhone and a contact list who is having some problems with it... he wants me to backup and restore his phone on my mac as he has no computer of his own (his son set up his iPhone with music etc before and is back at school now)
so I wonder what is the easiest way to create the backup of the contacts SMS etc?
I have my mac with the latest iTunes running os x 10.5.6
can iTunes create multiple backups of phones? should I look into a third part solution?
thanks for any insight.You can sync multiple iPods and/or iPhones with iTunes on the same computer. iTunes will create a separate backup for each iPhone as long as each iPhone has a different name.
In regards to iTunes content, an iPhone can be synced with an iTunes library on a single computer only. If you sync his iPhone with your iTunes content, the iTunes account logged in to with iTunes when syncing will be transferred to his iPhone - but not the password for the account. If he tries to access your iTunes account too many times with the incorrect password, your iTunes account will be placed on hold.
You can create a backup of his iPhone when the iPhone is connected to iTunes. Control-click on the name of his iPhone in the iTunes source list under devices and select Back Up.
You can restore the iPhone with iTunes on your computer from his iPhone's backup, but do not sync his iPhone with iTunes on your computer. This should restore the contact info from the backup. The backup includes data such as most iPhone settings, email account settings, contact info, SMS messages, recent calls, call favorites, photos available in the iPhone's Camera Roll, and 3rd party app settings and data created and stored by a 3rd party app.
The backup does not includes iTunes content including apps, photos transferred from a computer to the iPhone, and calendar events. -
I have a host server that has a C: drive and a D: drive. Right now I only have one VM running and it is located on the D: drive. I need to reformat the disk that the D: drive is on. For some reason it was created as a MBR type disk and I
need to delete it and recreate it as a GPT disk so that I can extend the D: partition beyond 2TB. So, what is the best way to backup and restore the existing VM in this case?I'm not really sure what you are referring to as an import/export but I'm going to assume its something along the lines of copying the data to 1 drive, then copying the data back to another drive. Doing a file based backup and recovery would do the same
thing. I don't particularly like doing stuff like copy and pastes to move data (especially important data) bc there is no guarantee copy and paste actually copied everything (no logging of what it actually did) and there are alot of things that can happen
during the copy (disk latency, network latency) that may cause data to be lost (delayed write failures). With any good backup program you should be able to run a report for what files it actually backed up and what files failed to backup and the reason
they failed to back up. Same applies to restores. Also I have seen issues where a simple copy and paste strips certain special attributes from the file.
If file based backup/restore is not an option, then maybe a robocopy of the data would be the best solution. I'm pretty sure using /b /copyall api should get everything as well. And you can add a /v switch to it to get some logging. -
Grant permission - backup and restore
Hello Everyone,
Please help. I would like to give permission for the domain user to a particular database in SQL Server 2014 so that it can perform backup and restore it. User should take SQL Management Studio (local) to perform backup and restore.
My user is granted the following roles: dbcreator, public, sysadmin (I know it is weak), and has privileges on the SQL Server backup directory. What should be improved?
Thank you for your help.>> I would like to give permission for the domain user to a particular database
You can't control the permission level once the user granted higher permission in security hierarchy.
Backup
BACKUP DATABASE and BACKUP LOG permissions default to members of the sysadmin fixed
server role and the db_owner and db_backupoperator fixed
database roles.
https://msdn.microsoft.com/en-us/library/ms186865.aspx
Restore
https://msdn.microsoft.com/en-us/library/ms186858.aspx
If the database being restored does not exist, the user must have CREATE DATABASE permissions to be able to execute RESTORE.
If the database exists, RESTORE permissions default to members of the sysadmin and dbcreator fixed
server roles and the owner (dbo)
of the database (for the FROM DATABASE_SNAPSHOT option, the database always exists).
--Prashanth -
Router's Configurations - Backup and Restore
Hi, anyone tried Router's Backup and Restore Configurations (after logging on to 192.168.1.1 - it is under Administration tab)
i have WRT350N - firmware=1.03.2 running WinXP
i tried "backup" then "restore" - as a results, i lost all configurations (SSID, WEP NW key, Router password, Storage users and share) from what i can tell, "Restore" wipes out all user settings and restore Linksys default ...
would appreciate any comments please...
/vI had this exact same problem today. Tried restoring it and nothing. What's worse is that it isn't a text file so it can't be read. ANy help pls?
Maybe you are looking for
-
I am trying to retrive the serial number for installation and I keep getting error codes.
I am using theredemption code but its not working
-
Paid job: convert .stl file into .xml to import into FCP. Anyone?
I need someone to convert my two .stl files (subtitles) exported from DVD SP and convert them into files (.xml?) compatible with Final Cut Pro. I need to Import these files into FCP and burn a Quicktime file with subtitles. I can pay someone (not mil
-
SOA EDG E12036.pdf : Sharing WL_HOME and ORACLE_HOME
I am facing a weird problem and need help. I have 7 physical servers and 2 sets of binaries in shared storage. The 7 servers are : 1 admin server, 2 SOA servers, 2 OSB Servers and 2 BAM servers. Since the node manager is under $WL_HOME/common/nodeman
-
C4C - Binding of Sales Quote Price Details in Output form
We have designed a Sales Quote Output Form using ADLC for SAP Cloud for Customer (C4C). The requirement is to print both header and item level price details like Unit Price, Tax%, Tax Amount, Discount %, Discount value etc on the output form. We are
-
Undo Remove Disk in Time Machine
Hi, I used the Remove Drive button in Time Machine. When I go back into Time Machine and hit the Select Backup Disk button the drive I want to use in not listed. I can connect to the drive in Finder so connectivity is not the issue. I cannot find