Keeping CMS database and FRS backups in synch
I am in the process of upgrading to BOE XI R3.1 from CE 10 and am looking at our backup and recover plan.
We are planning on implementing 2 BOE Xi R3.1 servers with a clustered CMS. Our CMS database will be running on a remote SQL Server (2005) farm that will be immediately replicated to our secondary site using SRDF.
The FRS will be local to each BOE XI R3.1 server. We are thinking of immediately replicating the FRS from the primary location to the secondary location using DFS but I worry about the FRS and the CMS possibly being out of synch when we try to restore.
By trying to have backups up to the latest instant am I looking for trouble? if this is manageable, am I going about it the right way?
In our CE 10 deployment we have a CMS database backup at midnight and the FRS is Robocopied at 12:15. I'm just looking to improve upon this.
Thanks
Right both BOE servers will point to the FRS on the primary BOE server and the primary CMS database on the SQL server farm. Then we replicate the primary FRS to the secondary FRS located on the secondary BOE server and the primary CMS database to the secondary CMS database both on the SQL Server farm.
If we need to we'll switch the primary and secondary BOE servers to the secondary FRS (located on the secondary BOE server) and the secondary CMS database on the farm.
I guess what I'm looking for is the best practice for the backup. I think what I'm hearing is the best route to go is to have the backups as often as you want but the best way to ensure that the backups are in synch is to do them when the CMS and FRS servers are down. Otherwise they could be out of synch with report requests being executed at the same time.
Right?
Thanks again
Similar Messages
-
10g rman database and archivelogs backup with multipled archlog destination
I would like to use the 10g database and archivelogs backup statetement
backup database plus archivelog;
I would like to restrict the location of the archivelogs backed out as I am multiplexing the
archivelogs
I did not find a LIKE statement and the backup database plus archivelog
Did i miss something
patrick boulayI meant backup
I just want to restrict rman form backing up the two location using the 'one shot' 10g syntax
I used to backup using two steps
1) datafile
2) archlogs with a LIKE expression to tell Rman where to find the archlogs
1+2 with autobackup of control+spfile
the 'backup database plus archivelog ' syntax does accept a 'LIKE' expression
patrick -
Duplicate database and incremental backups
Hello,
I'm currently investigating options to maintain a test server that is "relatively" up-to date compared to the production server.
This is my first contact with RMAN and I went through the manuals but as I did not have a chance to play with it I might have missed something.
This is an Oracle 11.2 (not sure about the full version number) on a Redhat Enterprise Linux.
The test server needs to be writeable and need to be re-synced with the production server approx. once or twice a month. Due to the size of the database (~600GB) we are looking into solutions that could make use of the incremental backups that are already taken on the production database.
While initiating the test server using RMAN DUPLICATE seems to be straight forward, I'm unsure on how the "syncing" can be done in the most efficient way - especially because we are changing the data on the test server.
From the description of the RMAN RECOVER command it's not clear to me if this could be used to "recover" the test database based on the incremental backups to the "current state" of the production database even if the test database has been changed. After reading some posts here, this does not seem to be the case.
Would a restore point make such an incremental restore possible? Creating a (named?) restore point right after the duplication, then once the tests are finished do a flashback to the restore point and then apply the incremental backups that have accumulated since then.
Another options seems to be to create a Standby Database. Then when performing the tests we turn the Standby Database into a Snapshot Standby Database open it in read/write and run the tests. Once we are done, we switch it back to a physical standby. That switchback will rewind the changes and the accumulated redo logs are applied thus "incrementally" catching up with production - which is essentially what we want.
Is there any other solution to this? Or is using a snapshot standby the most efficient solution? If at all possible we would like to avoid transferring the 600GB each time we want to re-sync the test database.
Thanks in advance
ThomasThomas;
RMAN Incremental Backups to Roll Forward a Physical Standby Database might offer some help.
There's a great example of it here :
http://www.oracle-ckpt.com/?s=standby+scn&op.x=0&op.y=0
If you go the Snapshot route make sure you have the space for the Archive on both databases. Also double check you flash recovery area, again on both databases. If you have an issue you may have to use the roll forward.
Best Regards
mseberg -
A problem to drop database and its backups.
HI,
database: 10.2.0.4.0
OS: AIX
SQL> startup mount exclusive;
ORACLE instance started.
Total System Global Area 1610612736 bytes
Fixed Size 2084336 bytes
Variable Size 385876496 bytes
Database Buffers 1174405120 bytes
Redo Buffers 48246784 bytes
Database mounted.
SQL> alter system enable restricted session;
sql> exit
rman target / catalog rman@rmancatalog
RMAN> drop database including backups;
starting full resync of recovery catalog
full resync complete
database name is "xxxx" and DBID is xxxxx
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of drop db & bck command at 09/28/2012 15:40:12
RMAN-06941: Database must be closed and mounted EXCLUSIVE and RESTRICTED.
RMAN> sql 'alter system enable restricted session';
sql statement: alter system enable restricted session
RMAN>
RMAN> drop database including backups;
database name is "xxxxx" and DBID is xxxxx
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of drop db & bck command at 09/28/2012 15:41:37
RMAN-06941: Database must be closed and mounted EXCLUSIVE and RESTRICTED.
what is wrong?
thank you
Edited by: 951932 on Sep 28, 2012 1:49 PMHello,
this is what I did, anyway, still failed. thank you very much.
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup restrict mount
ORACLE instance started.
Total System Global Area 1610612736 bytes
Fixed Size 2084336 bytes
Variable Size 385876496 bytes
Database Buffers 1174405120 bytes
Redo Buffers 48246784 bytes
Database mounted.
SQL> drop database;
drop database
ERROR at line 1:
ORA-01586: database must be mounted EXCLUSIVE and not open for this operation
SQL> alter system enable restricted session;
System altered.
SQL> drop database;
drop database
ERROR at line 1:
ORA-01586: database must be mounted EXCLUSIVE and not open for this operation
### try another way.
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup nomount;
ORACLE instance started.
Total System Global Area 1610612736 bytes
Fixed Size 2084336 bytes
Variable Size 385876496 bytes
Database Buffers 1174405120 bytes
Redo Buffers 48246784 bytes
SQL> alter database mount exclusive;
Database altered.
SQL> SQL> alter system enable restricted session;
System altered.
SQL> SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
[oracle][gamfcs]/home/oracle>rman target /
Recovery Manager: Release 10.2.0.4.0 - Production on Mon Oct 8 09:29:36 2012
Copyright (c) 1982, 2007, Oracle. All rights reserved.
connected to target database: GAMFCS (DBID=2082941597)
RMAN>
RMAN> drop database including backups;
database name is "GAMFCS" and DBID is 2082941597
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of drop db & bck command at 10/08/2012 09:29:57
RMAN-06941: Database must be closed and mounted EXCLUSIVE and RESTRICTED.
Edited by: 951932 on Oct 8, 2012 7:33 AM -
Does restoring CMS Database restore AD Groups?
using BO Edge X1 3.0
I add users/groups through AD authentication. If I have a backup of the CMS database and restore on another server will the AD groups/users get restored as well?Hi Dennis,
Yes, if you restore the CMS database, the configuration for AD, users and groups will be restored.
However, AD also requires other settings to work: SIA service account, Kerberos if you use Java Web Application server, etc.
Regards,
Julian -
What else does database and mail merge?
I’m a small non-profit with a small database, using Appleworks. I record contributions and send monthly mail merge acknowledgements. Appleworks does it all, including printing the address labels for those who contribute each month. I understand Lion won’t support Appleworks...and the only answer I can find is Filemaker which costs a fortune and is way overkill for what I need. Aren’t there countless organizations who keep a database and send monthly acknowledgements? How can it be there’s no other application that will do this?
Don't upgrade to Lion. It's a pretty box of tricks but it's hardly essential, and certainly not the indispensable "next step" that OS X, Tiger, Snow Leopard were. Stay where you are and run AW happily.
If you HAVE to get a new machine, demand that they install Snow Leopard on it. -
Backup database and external files
We have a web application that stores files in a separate folder outside the database, we want to do real time backup (while the users are connected to the application). If we run a scheduled task to backup the database and then the files, then the database and files will be out of sync, because if the database backup takes 5 mins for instance, then we will be backing up the files that are related to some records that were not added to backup.
What is the best way to do real time backup for database and external files so that we have them both in synch?user11738458 wrote:
We have a web application that stores files in a separate folder outside the database, we want to do real time backup (while the users are connected to the application). If we run a scheduled task to backup the database and then the files, then the database and files will be out of sync, because if the database backup takes 5 mins for instance, then we will be backing up the files that are related to some records that were not added to backup.
What is the best way to do real time backup for database and external files so that we have them both in synch?Then why not backup only those files that match up to a certain point in time.
Exclude all newer files. -
Create server role for backups (BACKUP DATABASE and RESTORE HEADERONLY)
Hello-
I wish to create a server role that will allow any users assigned to it to be able to issue a BACKUP DATABASE and RESTORE HEADERONLY for any database on the server. I've been searching Google and MSDN but haven't had much luck. I can create the
user (CREATE SERVER ROLE backupuser;) but don't really know how to assign the permissions to it that I want. I wish to keep the permissions as narrow as possible for good practice; I could just assign the user to the sysadmin group but that shouldn't
be necessary.
If anyone can help, I would much appreciate it.Whenever you need to find out the required permissions for a command, the best way is to look up these commands in Books Online, and to the Permissions/Securities section. This is what I always do when people asks these questions, because I rarely knows
the answer by heart.
So, let's see what the topic for BACKUP has to say:
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
The permission section for RESTORE HEADERONLY says:
Beginning in SQL Server 2008, obtaining information about a backup set or
backup device requires CREATE DATABASE permission. For more information,
see GRANT Database Permissions (Transact-SQL).
So it seems that if you want a user that has server-level rights to back up databases, this must be sysadmin, which is a little disappointing. One possibility is to package the BACKUP command in a stored procedure, which you sign with a certificate. Then
you create a login from the certiticate, and add that login to sysadmin. BACKUP accepts parameters for many of its arguments, so you don't have to build dynamic SQL. Still it is not really a satisfactory solution, since this user will have to work with
BACKUP "commands" that will be procedure calls.
Erland Sommarskog, SQL Server MVP, [email protected] -
Restore log and differential backups on a Publication database.
Hi, i have the following issue, i have to restore a log backup and a differential backup in a publication database, the problem is that i want to keep the publications and the subscriptions without recreate the subscriptions.
So how can i perform this goal :/ is somebody know how can i do that please let me know :D !!! thanks in advance.
In my case is a merge replication....For merge replication you do not need to worry about the log reader agent - in fact there should not be one. Ensure that you use the keep_replication switch when doing the restore.
Note that for merge replication the subscriber will backfill the publisher with changes in the publisher which are not in the subscriber. After this is done you might want to do a tablediff, but it should not be necessary, depending on how recent your full
and differential backups were done.
looking for a book on SQL Server 2008 Administration?
http://www.amazon.com/Microsoft-Server-2008-Management-Administration/dp/067233044X looking for a book on SQL Server 2008 Full-Text Search?
http://www.amazon.com/Pro-Full-Text-Search-Server-2008/dp/1430215941 -
Unable to restore and recover my Database from RMAN Backup
Dear All,
Iam practicing RMAN in Windows environment.
My configurations are
CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
CONFIGURE BACKUP OPTIMIZATION ON; # default
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP ON; # default
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO 'F:\Backup\%F'; # default
CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO 'E:\ORACLE\DATABASE\SNCFORCL.ORA';
CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT 'F:\Backup\%U.bak';
Then i took the RMAN backup, now iam shutdown my DB and removed one logfile..
then i tried to startup the DB but it is saying
ORA-00313: open failed for members of log group 3 of thread 1
ORA-00312: online log 3 thread 1: 'E:\ORADATA\ORCL\REDO03.LOG'
So i tried to restore the Database with my rman backup
RMAN> restore database;
But i am unable to restore my logfile in the Datafiles location where as all other datafiles are restored but redo logfiles are not restored.
So, i am unable to recover my DB
Please tell me whether i am doing any mistake, what is the solution for my problem.
Thanks in advance
MahiAll you restored was your datafiles.
Now issue recover database and that will apply the archive logs.
This is in the oracle documentation.
"You must restore backups of these archived logs for recovery to proceed. You can restore either to the default or nondefault location. If you do not have backups, then you must performing incomplete recovery up to an SCN before the first missing redo log and open RESETLOGS."
http://download.oracle.com/docs/cd/B28359_01/backup.111/b28270/osrecvry.htm
In this case after issuing restore database in RMAN, then issue this.
"Recover database"
It will then be an incomplete recovery. They should have been multiplexed. Did you restore your controlfile with this backup? You may have to issue an "Alter database open resetlogs;" -
My iTunes keeps crashing. I have uninstalled and reinstalled, including recreating the entire database, and it is still doing it. I recently upgraded to 10.5. Any ideas? I am running Windows 7 on a new, decent, laptop. The music is on the laptop's hard drive. There is plenty of hard drive space left.
iTunes starts fine, and I can do stuff, then within a minute or two or three it gives me an error message pop-up.The error message says:
iTunes has stopped working.
Windows can check nline for a solution to the problem.
-> Check online for a solution and close the program
-> Close the program
Problem Event Name: APPCRASH
Application Name: iTunes.exe
Application Version: 10.5.0.142
Application Timestamp: 4e9243f2
Fault Module Name: MSVCR80.dll
Fault Module Version: 8.0.50727.6195
Fault Module Timestamp: 4dcddbf3
Exception Code: c0000005
Exception Offset: 0001500a
OS Version: 6.1.7601.2.1.0.768.3
Locale ID: 1033
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
I've chosen both items, neither does anything but close the program. This problem is new with iTunes 10.5; I did not have it before. -
Stop and start database for cold backup
Hi,
Database :Oracle 10g R1
OS : Red hat 3
I have a RAC database with 2 nodes.
I build this script to make a cold backup of the database. (I will put it in the cron tab).
My question is the SRVCTL will work in this scripts??
# ***** COLDBACKUP ORACLE DATABASE ON LINUX *****
DIRECTORY=/u02/backup/script/; export DIRECTORY
cd ${DIRECTORY}
# ***** SHUTDOWN THE DATABASE *******
export oracle_sid=RCDB
srvctl stop database -d RCDB
# *****cold backup for "RCDB" database on 13-FEB-07 ... *****
# ***** COPY FILES *****
# Redo logs
cp /u02/oradata/RCDB/redo01.log ${DIRECTORY}
cp /u02/oradata/RCDB/redo07.log ${DIRECTORY}
cp /u02/oradata/RCDB/redo03.log ${DIRECTORY}
cp /u02/oradata/RCDB/redo08.log ${DIRECTORY}
# Datafiles
#*********START UP DATABASE AND SERVICES********
srvctl start database -d RCDB
exit
Message was edited by:
ASkika
Message was edited by:
ASkikaI need to put a quick policy backup ... and cold
backup it's what I use and it works.And reduces the availability of your cluster.
The problem about RMAN is that we never use it. I
have to learn about it to make scripts to test....
and this will tack me 2 or 3 days...I'd assume that installing RAC didn't go overnight, so why underfund the crucial part of any database system, the backup?
There's even a step by step guide for backup on the Getting Started: DBAs page.
Samples (and changes) on the latest version of RMAN can be found for example in RMAN Enhancements.
Or take a look at this Oracle Magazine article:Faster Backup, Faster Recovery
Backup and Recovery Basics in the user documentation may also be a good starting point.
C. -
How create new database and table in java db and how get java db backup
hi master
sir i use stuido creator
sir please give me idea how i create new database
and how create new table and view in this new database
and how get this database backup
how i give this databae backup to isp for deployment
please give me idea with step
thank
aamirCreate your own Value Object (Data Transfer Object) in Java with a structure similar to this and map the fields returned from the database to the fields of that object (preferably using SEtT methods).
Hope this helps. -
Recover database from cold backup and add ol archivelogs....
Hello!
Scenarion : I have create in 1 january cold backup of my database. I have from 1 to 4 January all archive logs generated by my database. My database gone in 4 January.
Solution question : How can i restore database using cold backup a than add info from archivelogs to recovered database to do database consist from disaster day.
Regards... Marcin1. Kill current instance with SHUTDOWN ABORT.
2. Copy all control files and data files from your cold backup to original destination.
3. Make sure all archived redo logs from 01-JAN to 04-JAN are available in the database archive destination (LOG_ARCHIVE_DEST or LOG_ARCHIVE_DEST_x).
4. Run as SYSDBA:
startup mount
recover database using backup controlfile until cancel;When prompted for something like
ORA-00279: change 864868 generated at 01/14/2010 09:30:10 needed for thread 1
ORA-00289: suggestion :
C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2010_01_15\O1_MF_1_22_%
U_.ARC
ORA-00280: change 864868 for thread 1 is in sequence #22enter:
AUTOWhen you get something like:
ORA-00308: cannot open archived log
'C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ARCHIVELOG\2010_01_15\O1_MF_1_29_
%U_.ARC'
ORA-27041: unable to open file
OSD-04002: ouverture impossible du fichier
O/S-Error: (OS 2) Le fichier spécifié est introuvable.run
alter database open resetlogs; -
Backup few partitions from a database and restore them on different server
I have a Database called Datamart. Datamart database has multiple partitioned tables and the database has different filegroups and partitions. I would split the database on to three servers with one-third of the database on each.
If the database has 1500 partitions, then 0-499 on server1 Datamart database, 500-999 on server2 Datamart database and 1000-500 on server3 Datamart database.
See
http://aboutsqlserver.com/2014/06/24/partial-database-backup-and-piecemeal-restore-in-microsoft-sql-server/
http://msdn.microsoft.com/en-us/library/ms177425.aspx
http://msdn.microsoft.com/en-us/library/ms190984.aspx
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs
Maybe you are looking for
-
HT3775 I have videos on my camera and want them on my mac & learn to edit, help
I took videos off my camera and put on dvd discs and they won't go on my mac. I need help. I have videos on my video camera and want them on my mac and then I want to edit them and need help.
-
Hello everyone! I am rather new to the concept of Collections in Java (I have used extensively collections in VB). I am trying to find how collections in java work, so I used a CASE tool that automatically generates code. I am trying to model the sim
-
HELP: Problem when programmatically creating a proxy portlet
All, I am programmatically creating a proxy portlet from a registerd WSRP Producer portlet. The problem is that when I create the proxy portlet, and then add the portlet to the page I don't get any mode icons in the portlet (i.e. maximize/minimize ic
-
Hi I want to create 4 roles for access to: 1.SLD 2.Integration Repository 3.Integration Directory 4.Runtime Workbench What should be the approach.This is different from normal R/3 roles.Infact I could not see su53 dump for missing authorizations when
-
List Column Dropdown Filter Missing Choices
I have a list with 1768 items. When i try to use the list column dropdown filter menu it does not give any options. This is what I see when I click on the Client Name list column When i click on another list column I get this. I there anything I can