View to check backup
Hi
All,
I have 10g on AIX. We are taking RMAN hot backup every night and log replaced every night.
How can i check RMAN backup went successfully or not before three days? Is there any system view or table available for that?
Thanks,
Vishal
There's only like 7,498 possible list commands/options you could use to view backup sets and pieces. Otherwise, script/spool the RMAN session. If you are using a MML such as Veritas, use the canned/provided script and generate a log file from that. That's what I use, plus a cron to scrape the last line of the log to check success or failure and email the results. If the job fails, you can use the email (even sending it as a text message so you get it as an alert on a cell phone) as a check mechanism.
Similar Messages
-
Views to check the catalog database name from target database.
Hi,
Please help me to find view to check the catalog database name which is connected to my target database because I am new to the current environment where I am working now and the previous DBA have done the set up having 2 catalog database. I want view to check from target database, which can show the catalog database name to which it is connected to.
We can check the catalog database name from the following ways but I want views to check it from target database.
1.TNSnames.ora
2.Any backup script connecting to catalog database.
3.From catalog database we can use rc_database view to check the databases registered with the catalog database.Please help me to find view to check the catalog database name which is connected to my target databaseYou can check for any RMAN backup jobs that been scheduled on the server.
In the scheduled script check rman command.
You can then identify the database alias (of the catalog db) that is used in the rman backup script.
Once you have found the database alias, check for the database alias entry in tnsnames.ora file present in your target database server.
Once the entry is found, you can find the IP address and catalog db name from the tns entry.
Edited by: st. osh on Nov 22, 2012 11:38 PM -
Which views have RMAN backup jobs information?
Hi there,
I use EM to schedule the db backup using RMAN.
I can view the jobs in the EM.
But I can not find out which views have RMAN backup jobs information in sqlplus.
like dba_scheduler_jobs.
Your advice will be appreciated.
Thanks,
SZHi,
V$RMAN_STATUS - Shows the success/failure status of all recently completed RMAN jobs.
V$RMAN_OUTPUT
Displays messages reported by an RMAN job in progress
If you want to monitor then go the following :-
Monitoring RMAN Job Progress :- view V$SESSION_LONGOPS.
first Step :-
Before starting the job, create a script file (called, for this example, longops) containing the following SQL statement:
SELECT SID, SERIAL#, CONTEXT, SOFAR, TOTALWORK,
ROUND(SOFAR/TOTALWORK*100,2) "%_COMPLETE"
FROM V$SESSION_LONGOPS
WHERE OPNAME LIKE 'RMAN%'
AND OPNAME NOT LIKE '%aggregate%'
AND TOTALWORK != 0
AND SOFAR <> TOTALWORK
After connecting to the target database and, if desired, the recovery catalog database, start an RMAN job. For example, enter:
RESTORE DATABASE;
While the job is running, start SQL*Plus connected to the target database, and execute the longops script to check the progress of the RMAN job. If you repeat the query while the restore progresses, then you see output such as the following:
SQL> @longops
SID SERIAL# CONTEXT SOFAR TOTALWORK %_COMPLETE
8 19 1 10377 36617 28.34
SQL> @longops
SID SERIAL# CONTEXT SOFAR TOTALWORK % COMPLETE
8 19 1 21513 36617 58.75
Cheers
Pavan Kumar N -
This has never occurred before. I have never had a problem with Firefox. I use my bookmarks toolbar all the time, so I noticed immediately when I sat down that it was gone. I tried going the check mark route and it did nothing. I also tried right clicking the toolbar area to see what I could do, but again with the check marks. Whenever I check the bookmarks toolbar nothing happens except the bookmarks button disappears from beside the homepage button. Please help me resolve this before I get too frustrated.
Thank You,
JMCheck that you still have the "Bookmarks Toolbar items" placed on the Bookmarks Toolbar
* Make sure that you have the "Bookmarks Toolbar" visible: "View > Toolbars"
* Check in "View > Toolbars > Customize" that the "Bookmarks Toolbar items" is on the Bookmarks Toolbar
* If the "Bookmarks Toolbar items" is not on the Bookmarks Toolbar then drag it back from the Customize window onto the Bookmarks Toolbar
* If you do not see the "Bookmarks Toolbar items" then click the "Restore Default Set" button
See also:
* http://kb.mozillazine.org/Toolbar_customization -
How to Get Most Current User View Before Checking In.
Hi,
We have several custom workflows which users can start from end-user menu and have some resource accounts created/modified after approvals.
User view is checked out once at the beginning of each workflow, then some user attributes are modified through forms and user view is checked in with new attributes at the end.
If any user starts a workflow (say W2) before completion of another workflow (say W1) he started before, and W1 is completed when W2 is waiting for approvals or etc., W2 completely discards changes made to user view through W1 since it has already checked out the user view before.
If I checkout the user once more just before checkin, I'm able to get a current user view but this time changes made through forms used in the current workflow are lost.
What's the best way, to get an updated user view of the user without overwriting any changes made out of the running workflow and losing form data?
Regards,
Mehtap.In a situation like this, you should probably change the front end to store the changes in workflow variables instead of using the view directly. Then, post approval, you checkout the view and apply the changes. I've used this approach to perform changes on large numbers of users (kind of like a bulk action, only more reliable).
Alternatively, you can checkout the user object at the beginning of the workflow, and this will prevent your race condition by putting a lock on it. This will obviously cause problems (for you) if your users expect to be able to do multiple changes simultaneously. Don't try this approach if an angry mob will storm your cubicle -- IDM coders are hard to come by.
Jason -
Maintenance view field check.
Hi,
I want to insert new record into maintenance view and check some field that must be inserted.
If i make them required so when i press "New Entries" all the redcord are ready for new entries and all the fields in each record are required so if the user insert only one record so he get msg that there are still required fields to enter.
Other problem is that i can save blank record in the maintenance view.
Hope there is any good solution for those problem.
I've tried coding abap in the flow logic of the screen but still it run on all the records.
Thanks in advance.HI it very simple.
Generate table maintanance generator screen for you maintanance view and wirte your validation in table maintance generator event. create event new entry(05).
*first create 05 event and give suroutine name as new_entry.
form new_entry.
*----here you have to put your validtion
if ztable-f1 is not initial and
ztable-f2 is initial and
ztable-f3 is initial.
message 'Enter value in all the fields' type 'E".
endif.
endform.
for creating events in TMG refer below link
To change top of page in Block ALV list display
Regards,
Peranandam
Edited by: peranandam chinnathambi on Apr 2, 2009 11:18 AM
Edited by: peranandam chinnathambi on Apr 2, 2009 11:19 AM -
What is the use for CREATING VIEW WITH CHECK OPTION?
Dear Legends,
I have a doubt
What is the use for creating view?
A: First Data Integrity, Selecting Particular Columns..
What is the use for creating a view with check option?
A: As per oracle manual I read that its a referential integrity check through views.
A: Enforcing constraints at DB level.
A: using CHECK OPTION we can do INSERTS UPDATES for a view for those columns who have no constraints... is it right??
A: If we do a INSERT OR UPDATE for columns who have constraints it will show error... is it right???
Please clear my doubt's Legends
Lots of Thanks....
Regards,
KarthikHi, Karthick,
karthiksingh_dba wrote:
... What is the use for creating view?
A: First Data Integrity, Selecting Particular Columns..Most views are created and used for convenience. A view is a saved query. If the same operations are often done, then it can be very convenient to code those operations once, in a view, and refer to the view rather than explicitly doing those operations.
Sometimes, views are created and used for security reasons. For example, you many want to allow some users to see only certain rows or certain columns of a table.
Views are necessary for INSTEAD OF triggers.
What is the use for creating a view with check option?
A: As per oracle manual I read that its a referential integrity check through views.The reason is integrity, not necessarily referential integrity. The CHECK option applies only when DML is done through the view. It prohibits certain changes. For example, if a user can't see certain rows through a view, the CHECK option keeps the user from creating such rows.
A: Enforcing constraints at DB level.I'm not sure what you mean. Please give an example.
A: using CHECK OPTION we can do INSERTS UPDATES for a view for those columns who have no constraints... is it right??No. Using CHECK OPTION, you can do some inserts and updates, but not others. The columns involved may or may not have constraints in either case.
A: If we do a INSERT OR UPDATE for columns who have constraints it will show error... is it right???If you try to violate a constraint, you'll get an error. That happens in views with or without the CHECK OPTION, and also in tables. -
Unable to view the Check Number in the Vendor payment Clearing Document
Hi
I am involved in Technical Upgrade. It is from 4.6 to ECC6 EHP4.
I have executed the Automatic Payment Program, and cleared (inter company )Vendor Open Items.
At the time of providing the required parameters, I have also maintained the variant in which I have given the Check Lot number abd the Bank Id.
But still when i am trying to view the check information in the claring document, system gives out message no vales exist.
Can any one through some light on this issue.>
vicky sai wrote:
> Hi Experts,
>
> We are maintaining PAN Number in 0185 IT with subtype 02.
>
> We have the maintained singlefield PANID as table field ,output length:12, and Table p0185.
>
> What modifications should we do get the PAN Number in the payslip.
>
>
>
> Please advice,
> Vi Sai.
just check this note 1370082 it will solve ur problem.. -
Is thre any view to check the date & time of switch ovr frm prim to standby
Hi All,
Is there any view to check the date and time of switch over from primary to standby.
Thanks,784786 wrote:
Which parameter of v$database can give us the switchover date and time. Please let me know?
SQL> desc v$database
Name Null? Type
DBID NUMBER
NAME VARCHAR2(9)
CREATED DATE
RESETLOGS_CHANGE# NUMBER
RESETLOGS_TIME DATE
PRIOR_RESETLOGS_CHANGE# NUMBER
PRIOR_RESETLOGS_TIME DATE
LOG_MODE VARCHAR2(12)
CHECKPOINT_CHANGE# NUMBER
ARCHIVE_CHANGE# NUMBER
CONTROLFILE_TYPE VARCHAR2(7)
CONTROLFILE_CREATED DATE
CONTROLFILE_SEQUENCE# NUMBER
CONTROLFILE_CHANGE# NUMBER
CONTROLFILE_TIME DATE
OPEN_RESETLOGS VARCHAR2(11)
VERSION_TIME DATE
OPEN_MODE VARCHAR2(20)
PROTECTION_MODE VARCHAR2(20)
PROTECTION_LEVEL VARCHAR2(20)
REMOTE_ARCHIVE VARCHAR2(8)
ACTIVATION# NUMBER
SWITCHOVER# NUMBER
DATABASE_ROLE VARCHAR2(16)
ARCHIVELOG_CHANGE# NUMBER
ARCHIVELOG_COMPRESSION VARCHAR2(8)
SWITCHOVER_STATUS VARCHAR2(20)
DATAGUARD_BROKER VARCHAR2(8)
GUARD_STATUS VARCHAR2(7)
SUPPLEMENTAL_LOG_DATA_MIN VARCHAR2(8)
SUPPLEMENTAL_LOG_DATA_PK VARCHAR2(3)
SUPPLEMENTAL_LOG_DATA_UI VARCHAR2(3)
FORCE_LOGGING VARCHAR2(3)
PLATFORM_ID NUMBER
PLATFORM_NAME VARCHAR2(101)
RECOVERY_TARGET_INCARNATION# NUMBER
LAST_OPEN_INCARNATION# NUMBER
CURRENT_SCN NUMBER
FLASHBACK_ON VARCHAR2(18)
SUPPLEMENTAL_LOG_DATA_FK VARCHAR2(3)
SUPPLEMENTAL_LOG_DATA_ALL VARCHAR2(3)
DB_UNIQUE_NAME VARCHAR2(30)
STANDBY_BECAME_PRIMARY_SCN NUMBER
FS_FAILOVER_STATUS VARCHAR2(22)
FS_FAILOVER_CURRENT_TARGET VARCHAR2(30)
FS_FAILOVER_THRESHOLD NUMBER
FS_FAILOVER_OBSERVER_PRESENT VARCHAR2(7)
FS_FAILOVER_OBSERVER_HOST VARCHAR2(512)
CONTROLFILE_CONVERTED VARCHAR2(3)
PRIMARY_DB_UNIQUE_NAME VARCHAR2(30)
SUPPLEMENTAL_LOG_DATA_PL VARCHAR2(3)
MIN_REQUIRED_CAPTURE_CHANGE# NUMBERAre you admitting that after reviewing the content of this VIEW, that you see nothing that might contain the detail you desire?
The switch over is also logged to alert_SID.log on both Primary & Standby -
How to view ipassword app backup files in XP?
How can I view ipassword app backup files in XP?
Ask the app developer if it's even possible. That's not an Apple product.
-
Using public views to check function implementation
Hi All,
I'm trying to use some public views to check whether the repositories of Development, Acceptance and Production are in sync.
In order to check the functions and procedures, I came up with the following query to have a simple comparison mechanism:
SELECT f.function_type
, f.schema_name
, f.function_name
, LENGTH(i.SCRIPT) script_length
FROM all_iv_functions f
, all_iv_function_impls i
WHERE f.FUNCTION_ID = i.FUNCTION_ID
Unfortunatly I get an error message:
ORA-06502: PL/SQL: numeric or value error: character string buffer too small
ORA-06512: at "OWB_OWNER.OWM_VIEW_UTILITIES", line 572
ORA-06502: PL/SQL: numeric or value error: character string buffer too small
The same error occurs when I try to view data of all_iv_function_impls in TOAD.
Checked the viewdef, it selects (among others) the following:
OWM_VIEW_UTILITIES.FUNCTION_SCRIPT(im.elementid) AS script.
Of course the package body is wrapped so no way to see what's happening in there.
I tried a search on this problem, no result.
I did a general search on OWM_VIEW_UTILITIES, but no results.
Checked Metalink, only Note 237082.1 mentions this package but doesn't clarify the situation.
Any suggestions?
Cheers, PatrickHi,
You may try powershell, here are two PowerShell scripts that use
SMLets to reveal interesting information about user roles in SCSM, please refer to it:
https://gallery.technet.microsoft.com/Service-Manager-SCSM-User-ebcdfcd6
Regards,
Yan Li
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] -
View all checked out projects in PWA
Hello,
We're in the process of setting up our first Project Web App site. We're running into an issue where Project Managers are leaving their projects checked out. I was wondering if there's an easy way to view the checked out status of all projects
on the PWA site and subsites.
I noticed that in Microsoft Project when you select open file from Project Web App it gives you the option to select browse, 'Show me the list of all projects'. From there you can view all of the project files, whether they're checked out, and who
has them checked out.
Is there a way to get that information into a page view on our PWA site?
Thanks for any advice,
JoeHi Joe,
One of the things you can do is to configure a report (using Reporting Services) displaying the checkout projects and the report can be configured on the home page. Also, if needed the report can be filtered based on the user accessing the home page.
Another option would be to create/customize a webpart to display this information
Paul -
V$view or any other view to check the backup info
Hello,
Is there any v$view or dba_ views which gives the information on RMAN backups that has happened (Incremental or complete) if incremental what level (0, 1, 2) etc.?
JekHi,
Hello,
Is there any v$view or dba_ views which gives the information on RMAN backups that has happened (Incremental or complete) if incremental what level (0, 1, 2) etc.?
Jek1) V$RMAN_OUTPUT - This is an in-memory view of the messages reported by RMAN holding a maximum of 32767 rows. Since this information is not recorded in the controlfile it is lost on instance restart.
2) V$RMAN_STATUS - This view displays progress and status information for in-progress and complete RMAN jobs. The information for the in-progress jobs is memory only, while the complete job information comes from the controlfile.
3) V$BACKUP_FILES - This view display information about RMAN image copies, backupsets and archived logs, similar to the information listed by the RMAN commands LIST BACKUP and LIST COPY. This view relies on the DBMS_RCVMAN.SETDATABASE procedure being run to set the database. -
View to check We Can Open Database with Resetlog Option
Hi Experts,
i need to know the view name that can tell us we can open the database in resetlog option during recovery process.
regards,
rizwanHi Rizwan;
i need to know the view name that can tell us we can open the database in resetlog option during recovery process.What is DB version?
Pelase check below link:
Troubleshooting Backups - V$ Recovery Views
http://www.toadworld.com/KNOWLEDGE/KnowledgeXpertforOracle/tabid/648/TopicID/TBT3/Default.aspx
Regard
Helios -
Hi,
At this moment our backups does not work. We have two error on the event viewer;
Exchange 2010 sp3 version 14.03.0158.001
We have only one server Exchange 2010 with two databases for users...
Event id 401;
Instance 1: The physical consistency check has completed, but one or more errors were detected. The consistency check has terminated with error code of -106 (0xffffff96).
Event id 403;
Instance 1: The physical consistency check successfully validated 629126 out of 1110272 pages of database '\\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy33\exchangedb\global\global.edb'. Because some database pages were either not validated or failed validation,
the consistency check has been considered unsuccessful.Hi Javier,
From your error description, I recommend you do the following steps for troubleshooting:
1. Please run CHKDSK and restart server.
2. Run a Database level Mailbox repair request.
What's more, here are some useful threads for your reference.
Create a Mailbox Repair Request
http://technet.microsoft.com/en-us/library/ff625221(v=exchg.141).aspx
Database Backup Failing with Event ID 2007, 9782, 401, 403, 254
http://social.technet.microsoft.com/Forums/en-US/4c8eccbf-435a-43ef-b3f6-0de5096413ee/database-backup-failing-with-event-id-2007-9782-401-403-254?forum=exchangesvravailabilityandisasterrecoverylegacy
Hope it helps.
If you need further assistance, please feel free to let me know.
Best regards,
Amy
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place.
Maybe you are looking for
-
Is there a way to search for skipped songs in my iTunes library?
I'd like to know whether there's a quicker way to find songs that are being skipped in my iTunes library, than simply manually checking each one. I've been rearranging and deleting music files in Windows Explorer recently, so I know that there is a
-
Web Service Proxy in OAF project
Hi I am trying to create a Web Service proxy class that I can use to call a web service from a custom OAF page. I am doing this by right clicking on the OAF project (12i project using 10.1.3.3.0.3 of JDev with OAF ext) and choosing New -> Web Service
-
How can I get my LT display to sleep when I am using another external display, right now if I close the lid both of them go to sleep?
-
Modified system report not working which report have dataset
Hello, I have modified (removed unnecessary fields) system report "Collection Report - CR (GB) ". But when ever i run the report it was asking connection for ADO.NET XML file after click on Ok buttion of referesh data. Collection Report - CR (GB) hav
-
Downloading Sap Office Document in Webdypro
Hello All, I have to provide a link to a document that is present in SAP Office Folder. I am able to read the document using SO_OBJECT_GET_CONTENT. But the contents are in the form of a table of character type. The File download UI Component of Webdy