Sybase Transcation log backup issue
Hi All,
I am trying to take backup for Sybase database and transcation log as per below link,
http://scn.sap.com/thread/3245201
I was successfully able to take the backup for database without any issues but when I try to take the transcations log backup I end up with below error,
1> sp_dumptrans SBP
2> go
Msg 4208, Level 16, State 1:
Server 'SBP', Line 1:
DUMP TRANsaction to a dump device is not allowed while the trunc. log on chkpt.
option is enabled. Disable the option with sp_dboption, then use DUMP DATABASE,
before trying again. (Return status = 4208)
1>
Later after checking the SAP guide for Sybase database we tried to setup below options,
=====================================================================================
Ensure that a complete sequence of transaction log archives is available at all times
For your SAP database <DBSID> it is mandatory that you ensure that the archived log sequence
remains unbroken.
To ensure a complete log sequence, set the following database options:
trunc log on chkpt, false
full logging for all, true
enforce dump tran sequence, true
You have to set these options after a successful DUMP DATABASE has been performed and before any
Set these options using the stored procedure sp_dboption to change database options. (Syntax:sp_dboption [dbname, optname, {true | false}] ). You must change to the master database to be able to change options for a database
========================================================================
My question is do I need to login to Master database to set this options because when I try to set the below option
sp_dboption 'master', 'trunc. log on chkpt', 'false'
I end up with below error,
When I try to login to master database with sa user I could not,I gave the same password which i gave it during the installation
Pelase advise on how to proceed further
Regards
Uday
change is made to the database,
Hello Selva,
There are two main types of backups that are maintained
in Sybase ASE;
Dump Tran and Dump DB
Quiesce Backup
Dump Tran and Dump DB Backup
The DUMP DATABASE command copies the entire database to an archive device. It does not prune
(truncate) the transaction log (which is itself a table in the database). DUMP DATABASE is typically run on a daily or weekly basis. If the loss tolerance is 24 hours, then a single DUMP DATABASE every 24 hours is a reasonable choice for backup strategy and the transaction log can be kept pruned by either setting
the database option “truncate log on checkpoint” or by regular use of the DUMP TRANSACTION command with the TRUNCATE_ONLY option.
SAP Note 1588316 is a very good point to start in case you are thinking about configuring your SYBASE ASE DB and Transaction Log Backups.
In addition I highly recommend going through the Technical Document stored in the below link;
http://scn.sap.com/docs/DOC-29524
Hope this helps,
Regards
Surajit
Similar Messages
-
Hi,
I am facing the issue with archive log backup with external autoloader tape drive ( HP data protector software).
The archivelog backup is not successfull.
Kindly provide me a suggestion o solve this issue. Please find the log below
BR0002I BRARCHIVE 7.00 (32)
BR0262I Enter database user name[/password]:
BR0169I Value 'util_file_online' of parameter/option 'backup_dev_type/-d' ignored for 'brarchive' - 'util_file' assumed
BR0006I Start of offline redo log processing: adzulphz.sve 2009-01-28 12.12.11
BR0252E Function fopen() failed for '/oracle/SFD/saparch/adzulphz.sve' at location main-6
BR0253E errno 13: Permission denied
BR0121E Processing of log file /oracle/SFD/saparch/adzulphz.sve failed
BR0007I End of offline redo log processing: adzulphz.sve 2009-01-28 12.12.11
BR0280I BRARCHIVE time stamp: 2009-01-28 12.12.11
BR0005I BRARCHIVE terminated with errors
[Major]
From: OB2BAR_OMNISAP@sfwdqs "OMNISAP" Time: 01/28/09 12:12:11
BRARCHIVE /usr/sap/SFD/SYS/exe/run/brarchive -a -c -u system/******** returned 3
[Normal]
From: BSM@sfwsol "Archive" Time: 1/28/2009 12:19:09 PM
OB2BAR application on "sfwdqs" disconnected.
[Normal]
From: BMA@sfwsol "HP:Ultrium 3-SCSI_1_sfwsol" Time: 1/28/2009 12:19:38 PM
Tape0:0:5:0C
Medium header verification completed, 0 errors found
[Normal]
From: BMA@sfwsol "HP:Ultrium 3-SCSI_1_sfwsol" Time: 1/28/2009 12:19:58 PM
By: UMA@sfwsol@Changer0:0:5:1
Unloading medium to slot 4 from device Tape0:0:5:0C
[Normal]
From: BMA@sfwsol "HP:Ultrium 3-SCSI_1_sfwsol" Time: 1/28/2009 12:20:21 PM
ABORTED Media Agent "HP:Ultrium 3-SCSI_1_sfwsol"
[Normal]
From: BSM@sfwsol "Archive" Time: 1/28/2009 12:20:21 PM
Regards,
KumarHi ,
Please check the directory permissions for "/oracle/SFD/saparch".
Please check permissions for <sid>adm and ora<sid> for the above directory.
"Note 17163 - BRARCHIVE/BRBACKUP messages and codes" and also related notes may help you for addtional information.
Regards
Upender Reddy -
Sybase cumulative backup vs traditional log backup
In ASE 15.7 SP100 or higher versions, cumulative backups are supported. My question is, can both cumulative backup and log backup run at the same time for a database?
For example, say, at time t1, we have a completed full backup (full1) of database foo, and
at time t2, we have the first log backup completed, log1.
Now, a cumulative backup is running, and another log backup (log2) starts, and finishes at time t3 while the cumulative backup is still running.
The cumulative backup (cml1) finishes at time t4.
Another log backup (log3) finishes at time t5.
Is it a valid scenario (to let log2 and cml1 run at the same time), or does an application (which performs Sybase backups using 3rd party API) need to prevent such concurrent cumulative and log backups?
If it is valid to run both concurrently (does not result in data corruption), then
to restore the database up to a time between t2 and t3, we will use full1 + log1 + log2 upto the target time.
to restore the database up to a time between t4 and t5, we will use full1 + cml1 + log3 upto the target time.
Please correct me if I am wrong.
Thanks,
AliDear Mr Razib,
full dump and transaction log dump
full, cumulative dump and transaction log dump
Both of these approaches are ok and will allow you to restore a database including rollforward of transaction to the desired point in time. (cumulative dumps only will not work of course, you always need a full dump as a starting point). These backup strategies are suitable for a production system.
Wheras these backup strategies :
full dump and cumulative dump
multiple full dumps
are ok and supported , too, but it will not allow you to restore a database to any desired point in time. The point of recovery will in any case be the time of the last full or cumulative dump.
Taking only database dumps (full or cumulative) is propbaly not suitable for production systems. But this is a decision the system owner has to take.
With kind regards
Tilman Model-Bosch -
Will Log Backup cause issue?
Hi Experts,
we have been getting complaints from application users about slowness on and off. tried all the ways, no clues. finally, one business user is helping me with the exact timings of slowness in the application. the trend is exactly at the time of log backup
happening time. log backups are completing in less 30 sec. even the slowness is only at that time.
Now I didn't understand, will log backups cause slowness to the databases access? I believe, full backups will cause a bit.
please help.
thanks in advance
Vinod Mallolu
Cheers, Vinod MalloluHi Vinod,
It really depends on I/O subsystem and your server configuration. For example:
Poorly performing I/O subsystem can cause poor during log backups.
Poor performance can occur if your database log drive is same as your backup drive. If you are using SAN then make sure that both drives are not commissioned from same LUN.
Transaction Log activity and the size of your log files. If your database is highly transactional database than you should experience some slowness if you are performing Log backups. If you are using SQL Server 2012 or about with Enterprise edition and
have standby server than use Availability Groups to offload your transaction log backups.
Increasing the frequency of log backup also helps.
I hope this information is useful for you to rectify the issue.
Regards,
Basit A. Farooq (MSC Computing, MCITP SQL Server 2005 & 2008, MCDBA SQL Server 2000)
http://basitaalishan.com
Please remember to click "Mark as Answer" on the post that helps you, and to click
"Unmark as Answer" if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. -
IMac 27" Late 2013 Wi Fi Log in Issue
Hello everyone,
I apologize if my questions have been asked in the past. I'm completely new to the Apple Mac OS. I bought a new iMac 27" in the middle of 2014 and use it about once or twice a week and have had no issues to-date. I'm still in the process of learning though so my use of it is limited to basic emailing, web browsing and Skype.
In the last 2 weeks I have had problems logging into my Wifi network at home. It would not log on even after I had reset the modem. After trying and rebooting my iMac 3-4 times it would finally do so without changing anything in the it. I'm not sure what is causing it, but thought I would ask here.
What would be causing the log in issue to my Wi Fi network?
Do I need to be concern with the findings in the Etre check?
Startup after logging in my password would take longer than usual...what would be causing it?
Here is the result from the Etre scan. I guess what concerns me is in red...and also if it shows the Wi Fi log in issue.
Thank you in advance for your help and advice.
EtreCheck version: 2.1.8 (121)
Report generated 9 February 2015 11:23:18 am AEST
Download EtreCheck from http://etresoft.com/etrecheck
Click the [Click for support] links for help with non-Apple products.
Click the [Click for details] links for more information about that line.
Hardware Information: ℹ️
iMac (27-inch, Late 2013) (Technical Specifications)
iMac - model: iMac14,2
1 3.4 GHz Intel Core i5 CPU: 4-core
32 GB RAM Upgradeable
BANK 0/DIMM0
8 GB DDR3 1600 MHz ok
BANK 1/DIMM0
8 GB DDR3 1600 MHz ok
BANK 0/DIMM1
8 GB DDR3 1600 MHz ok
BANK 1/DIMM1
8 GB DDR3 1600 MHz ok
Bluetooth: Good - Handoff/Airdrop2 supported
Wireless: en1: 802.11 a/b/g/n/ac
Video Information: ℹ️
NVIDIA GeForce GTX 780M - VRAM: 4096 MB
iMac 2560 x 1440
System Software: ℹ️
OS X 10.9.5 (13F34) - Time since boot: 0:24:23
Disk Information: ℹ️
APPLE SSD SD0128F disk0 : (121.33 GB)
EFI (disk0s1) <not mounted> : 210 MB
Boot OS X (disk0s3) <not mounted> : 134 MB
Macintosh HD (disk2) / : 1.11 TB (1.04 TB free)
Encrypted AES-XTS Unlocked
Core Storage: disk0s2 120.99 GB Online
Core Storage: disk1s2 999.35 GB Online
APPLE HDD ST1000DM003 disk1 : (1 TB)
EFI (disk1s1) <not mounted> : 210 MB
Recovery HD (disk1s3) <not mounted> [Recovery]: 650 MB
Macintosh HD (disk2) / : 1.11 TB (1.04 TB free)
Encrypted AES-XTS Unlocked
Core Storage: disk0s2 120.99 GB Online
Core Storage: disk1s2 999.35 GB Online
USB Information: ℹ️
VIA Labs, Inc. USB3.0 Hub
VIA Labs, Inc. USB3.0 Hub
Seagate Backup+ SL 2 TB
EFI (disk3s1) <not mounted> : 210 MB
Seagate Backup Plus Drive (disk3s2) /Volumes/Seagate Backup Plus Drive : 2.00 TB (1.82 TB free)
Recovery HD (disk3s3) <not mounted> [Recovery]: 650 MB
Initio INIC-3609
Apple Inc. FaceTime HD Camera (Built-in)
Apple Inc. BRCM20702 Hub
Apple Inc. Bluetooth USB Host Controller
Logitech Inc. Logitech USB Headset H340
Apple, Inc. Keyboard Hub
Apple Inc. Apple Keyboard
VIA Labs, Inc. USB2.0 Hub
VIA Labs, Inc. USB2.0 Hub
Thunderbolt Information: ℹ️
Apple Inc. thunderbolt_bus
Gatekeeper: ℹ️
Mac App Store and identified developers
Startup Items: ℹ️
ProTec6b: Path: /Library/StartupItems/ProTec6b
Startup items are obsolete in OS X Yosemite
Launch Agents: ℹ️
[loaded] com.google.keystone.agent.plist [Click for support]
Launch Daemons: ℹ️
[loaded] com.adobe.fpsaud.plist [Click for support]
[loaded] com.bombich.ccc.plist [Click for support]
[loaded] com.google.keystone.daemon.plist [Click for support]
[loaded] com.microsoft.office.licensing.helper.plist [Click for support]
User Launch Agents: ℹ️
[failed] com.spotify.webhelper.plist [Click for support]
[not loaded] jp.co.canon.Inkjet_Extended_Survey_Agent.plist [Click for support]
User Login Items: ℹ️
iTunesHelper Application (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
Alfred 2 Application (/Applications/Alfred 2.app)
Spotify 08-26-32-444 Application (/Users/[redacted]/.Trash/Spotify 08-26-32-444.app)
Dropbox Application (/Applications/Dropbox.app)
Canon IJ Network Scanner Selector EX Application Hidden (/Applications/Canon Utilities/IJ Network Scanner Selector EX/Canon IJ Network Scanner Selector EX.app)
Speech Startup Application (/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecogn ition.framework/Versions/A/Speech Startup.app)
Internet Plug-ins: ℹ️
FlashPlayer-10.6: Version: 16.0.0.296 - SDK 10.6 [Click for support]
QuickTime Plugin: Version: 7.7.3
Flash Player: Version: 16.0.0.296 - SDK 10.6 Outdated! Update
EPPEX Plugin: Version: 3.0.5.0 [Click for support]
Default Browser: Version: 537 - SDK 10.9
SharePointBrowserPlugin: Version: 14.4.3 - SDK 10.6 [Click for support]
Silverlight: Version: 5.1.20125.0 - SDK 10.6 [Click for support]
3rd Party Preference Panes: ℹ️
Flash Player [Click for support]
Time Machine: ℹ️
Auto backup: YES
Volumes being backed up:
Macintosh HD: Disk size: 1.11 TB Disk used: 75.54 GB
Destinations:
Seagate Backup Plus Drive [Local]
Total size: 2.00 TB
Total number of backups: 33
Oldest backup: 2014-04-16 03:45:27 +0000
Last backup: 2015-02-09 01:07:51 +0000
Size of backup disk: Adequate
Backup size 2.00 TB > (Disk used 75.54 GB X 3)
Top Processes by CPU: ℹ️
3% WindowServer
2% Safari
2% Google Chrome
1% fontd
1% coreaudiod
Top Processes by Memory: ℹ️
481 MB WindowServer
309 MB Airmail
206 MB mds_stores
206 MB Safari
172 MB Google Chrome
Virtual Memory Information: ℹ️
27.13 GB Free RAM
4.39 GB Active RAM
1.08 GB Inactive RAM
1.75 GB Wired RAM
912 MB Page-ins
0 B Page-outs
Diagnostics Information: ℹ️
Feb 9, 2015, 10:58:33 AM Self test - passHi, Jiyujin.
Thank you for visiting Apple Support Communities.
I would need some clarification of the reference to log on and a little more information about the behavior to provide a better answer. However, here is a troubleshooting article that may help.
Wi-Fi: How to troubleshoot Wi-Fi connectivity
http://support.apple.com/HT202222
Cheers,
Jason H. -
Hi-
Looked thru the thread related to my questions and found nothing that applies yet.
Example:
http://social.technet.microsoft.com/Forums/en-US/4e4472b9-8e6f-4fdc-a287-1cc8c0f6de09/windows-2008-r2-backup-fails-with-event-521-error-code-2155348001?forum=windowsbackup
http://social.technet.microsoft.com/Forums/en-US/e8c910f7-f0dd-4613-beae-b98894fb6f23/windows-server-2008-std-backup-fails-constantly-with-error-code-2155348001?forum=windowsbackup
Here are details of the issues....
Backup - OS error - system image:
External disk - USB
Mon - Fri @ 6PM.
Windows SystemState
OS(C:)
Last backup failure...
Start time: 8/11/2014 6:01:32 PM
End time: 8/12/2014 4:51:29 AM
Duration: 10:49:56.4414784
[Critical error WINIMAGE_UNABLE_VSS] Unable to create VSS snapshot
- Additional information: Refer to the log for more details
- Troubleshooting link:
http://kb.backupassist.com/errormap.php?BA2512
The backup operation stopped before completing.
Detailed error: ERROR - The shared restore point operation failed with error (0x81000101)
The creation of a shadow copy has timed out. Try this operation again.
Log of files successfully backed up:
C:\Windows\Logs\WindowsServerBackup\Backup-12-08-2014_04-41-00.log
Log of files for which backup failed:
C:\Windows\Logs\WindowsServerBackup\Backup_Error-12-08-2014_04-41-00.log
NOTE:
The errors logs are not there?
Windows Backup timed-out before the shared protection point was created.
ERROR - The shared restore point operation failed with error (0x81000101)
The creation of a shadow copy has timed out. Try this operation again.
Event Viewer Log:
Sequence of Events...
1.
The Block Level Backup Engine service has successfully started.
2.
Backup operation that started...
Log Name: Application
Source: Microsoft-Windows-Backup
Date: 8/12/2014 4:51:06 AM
Event ID: 521
Task Category: None
Level: Error
Keywords:
User: SYSTEM
Computer: mdnfile.Auxiant.local
Description:
The backup operation that started at '?2014?-?08?-?12T09:41:00.492000000Z' has failed because the
Volume Shadow Copy Service operation to create a shadow copy of the volumes being backed up failed
with following error code '2155348001'.
Please review the event details for a solution, and then rerun the backup operation once the issue is resolved.
--> Suggestion are to check Virus scanner or consult DPM forum...
3.
OS Job failed with errors...( Backup Assist is 3rd party backup - wrapper round Wbadmin/Win Backup)
Log Name: Application
Source: BackupAssist
Date: 8/12/2014 4:51:51 AM
Event ID: 5634
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: mdnfile.Auxiant.local
Description:
Backup job OS backup failed with errors.
Critical error: Unable to create VSS snapshot
Destination: External disk
Start time: 8/11/2014 6:01:32 PM
End time: 8/12/2014 4:51:29 AM
Duration: 10:49:56.4414784
Destination: External disk
Start time: 8/11/2014 6:01:32 PM
End time: 8/12/2014 4:51:29 AM
Duration: 10:49:56.4414784
4.
Backup Assist reports via Win backup - Snapshot in progress
Log Name: Application
Source: BackupAssist
Date: 8/12/2014 4:52:20 AM
Event ID: 5634
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: mdnfile.Auxiant.local
Description:
Backup job Data backup failed with errors.
Ultra critical error: Volume Shadow Copy Error 0x80042316 - snapshot set in progress
Destination: Local directory
Start time: 8/12/2014 4:52:10 AM
End time: 8/12/2014 4:52:12 AM
Duration: 00:00:02.7300000
5.
The Block Level Backup Engine service has stopped.
6.
Later...we tried manually stopping VSS and SWPRV services - only VSS had the issue.
WBengine was not running...
C:\>sc stop swprv
SERVICE_NAME: swprv
TYPE : 10 WIN32_OWN_PROCESS
STATE : 3 STOP_PENDING
(STOPPABLE, NOT_PAUSABLE, ACCEPTS_SHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0
C:\>sc query swprv
SERVICE_NAME: swprv
TYPE : 10 WIN32_OWN_PROCESS
STATE : 1 STOPPED
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0
C:\>sc query wbengine
SERVICE_NAME: wbengine
TYPE : 10 WIN32_OWN_PROCESS
STATE : 1 STOPPED
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0
C:\>sc query vss
SERVICE_NAME: vss
TYPE : 10 WIN32_OWN_PROCESS
STATE : 3 STOP_PENDING
(STOPPABLE, NOT_PAUSABLE, ACCEPTS_SHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0
C:\>sc stop vss
[SC] ControlService FAILED 1061:
The service cannot accept control messages at this time.
Log Name: Application
Source: VSS
Date: 8/12/2014 9:20:33 AM
Event ID: 8225
Task Category: None
Level: Information
Keywords: Classic
User: N/A
Computer: mdnfile.Auxiant.local
Description:
The VSS service is shutting down due to shutdown event from the Service Control Manager.
7.
VSS still having issues here...not stopping!
Log Name: Application
Source: VSS
Date: 8/12/2014 9:42:33 AM
Event ID: 11
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: mdnfile.Auxiant.local
Description:
Volume Shadow Copy Service information:
The COM Server with CLSID {e579ab5f-1cc4-44b4-bed9-de0991ff0623} and name IVssCoordinatorEx2 cannot be started.
Most likely the CPU is under heavy load. [0x80080005, Server execution failed]
8.
Not sure why this is started again?
Plus a DCOM timeout...
Log Name: Application
Source: Microsoft-Windows-Backup
Date: 8/12/2014 9:31:13 AM
Event ID: 753
Task Category: None
Level: Information
Keywords:
User: SYSTEM
Computer: mdnfile.Auxiant.local
Description:
The Block Level Backup Engine service has successfully started.
Event Xml:
Log Name: System
Source: Microsoft-Windows-DistributedCOM
Date: 8/12/2014 9:31:43 AM
Event ID: 10010
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: mdnfile.Auxiant.local
Description:
The server {E579AB5F-1CC4-44B4-BED9-DE0991FF0623} did not register with DCOM within the required timeout.
9.
Lots more errors about VSS...repeating Event ID's 11 and 8193...
Log Name: Application
Source: VSS
Date: 8/12/2014 9:42:33 AM
Event ID: 8193
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: mdnfile.Auxiant.local
Description:
Volume Shadow Copy Service error: Unexpected error calling routine CoCreateInstance.
hr = 0x80080005, Server execution failed
. Operation:
Instantiating VSS server
10.
Then, finally stopping again...
Log Name: Application
Source: Microsoft-Windows-Backup
Date: 8/12/2014 9:51:13 AM
Event ID: 754
Task Category: None
Level: Information
Keywords:
User: SYSTEM
Computer: mdnfile.Auxiant.local
Description:
The Block Level Backup Engine service has stopped.
11.
And still repeating 11 & 8193 at this point...as we write up this post.
12.
This was suggested by the Backup Assist - software vendor....
A.)
...for 0x81080101:
"ERROR - The shared restore point operation failed with error (0x81000101)
The creation of a shadow copy has timed out. Try again this operation."
If you receive the above error in your report, we have recently found a registry key which
contains the timeout value set by Microsoft for VSS and found that you can edit this to extend it.
To get to the registry key, open Regedit (Start > Run > Regedit) and browse to:
"HKLM\Software\\Microsoft\\Windows NT\\CurrentVersion\\SPP\\CreateTimeout".
Change value to 1200000 (2*10*60*1000 = 20 mins).
The default for the timeout period is 10 mins so hopefully doubling this will give enough time to
complete the snapshot.
If this isn't present, you'll need to manually enter the registry key. It's a DWORD 32-bit key.
--> NOTE: HAve not done this yet.
B.)
And for 0x80080005...
http://support.microsoft.com/kb/870655/en-gb
Our server does have high CPU load at times...
13.
Another post from technet mentions system volume size - here is our layout below:
A.)
OS/system Disk...
DISKPART> list disk
Disk ### Status Size Free Dyn Gpt
Disk 0 Online 278 GB 0 B (System Vol = C: Drive - OS w/ Programs and batch jobs)
Disk 1 Online 2791 GB 0 B * (Data drive - DFS, rsync,etc. run on D: Drive)
Disk 2 Online 1863 GB 0 B (USB 2/3.0 - Enclosure w/ SATA disk = 2GB formatted w/ NTFS.)
DISKPART> detail disk
DELL PERC H710P SCSI Disk Device
Disk ID: CA0DEEA5
Type : RAID
Status : Online
Path : 1
Target : 0
LUN ID : 0
Location Path : PCIROOT(0)#PCI(0100)#PCI(0000)#RAID(P01T00L00)
Current Read-only State : No
Read-only : No
Boot Disk : Yes
Pagefile Disk : Yes
Hibernation File Disk : No
Crashdump Disk : Yes
Clustered Disk : No
Volume ### Ltr Label Fs Type Size Status Info
Volume 1 RECOVERY NTFS Partition 3072 MB Healthy System
Volume 2 C OS NTFS Partition 275 GB Healthy Boot
B.)
Backup disk...
ST320006 41AS USB Device
Disk ID: 801AF48C
Type : USB
Status : Online
Path : 0
Target : 0
LUN ID : 0
Location Path : UNAVAILABLE
Current Read-only State : No
Read-only : No
Boot Disk : No
Pagefile Disk : No
Hibernation File Disk : No
Crashdump Disk : No
Clustered Disk : No
Volume ### Ltr Label Fs Type Size Status Info
Volume 4 F BACKUPS NTFS Partition 1863 GB Healthy
C.)
NOTE:
Also on disk 0(system Disk) - we have a small OEM partition = 39MB and a Recovery Partition = 3GB.
D.)
Issues with WBAdmin now...
C:\>wbadmin get disks
wbadmin 1.0 - Backup command-line tool
(C) Copyright 2004 Microsoft Corp.
ERROR - A Volume Shadow Copy Service operation error has
occurred: (0x80042302)
A Volume Shadow Copy Service component encountered an unexpected error.
Check the Application event log for more information.
14.
Ran "Check-Disk" -no errors...
C:\>chkdsk
The type of the file system is NTFS.
The volume is in use by another process. Chkdsk
might report errors when no corruption is present.
Volume label is OS.
WARNING! F parameter not specified.
Running CHKDSK in read-only mode.
CHKDSK is verifying files (stage 1 of 3)...
116224 file records processed.
File verification completed.
654 large file records processed.
0 bad file records processed.
0 EA records processed.
76 reparse records processed.
CHKDSK is verifying indexes (stage 2 of 3)...
156676 index entries processed.
Index verification completed.
0 unindexed files scanned.
0 unindexed files recovered.
CHKDSK is verifying security descriptors (stage 3 of 3)...
116224 file SDs/SIDs processed.
Security descriptor verification completed.
20227 data files processed.
CHKDSK is verifying Usn Journal...
35628352 USN bytes processed.
Usn Journal verification completed.
Windows has checked the file system and found no problems.
289233919 KB total disk space.
100241492 KB in 85477 files.
57380 KB in 20228 indexes.
0 KB in bad sectors.
226627 KB in use by the system.
65536 KB occupied by the log file.
188708420 KB available on disk.
4096 bytes in each allocation unit.
72308479 total allocation units on disk.
47177105 allocation units available on disk.
15.
There are no backup error logs here - only .etl files...
C:\Windows\Logs\WindowsServerBackup\
Wbadmin.1.etl = 9:42AM on 8/12
Wbadmin.2.etl = 4:51AM on 8/12
Per windows Win troubleshooting:
http://technet.microsoft.com/en-us/library/ee692290(WS.10).aspx
http://blogs.technet.com/b/filecab/archive/2009/09/16/diagnosing-failures-in-windows-server-backup-part-1-vss-spp-errors.aspx
--> Related to Windows backup and not VSS?
2155348001 - 0x80780021 - Windows Backup timed-out before the shared protection point was created.
Should we run the "FIXVSS08.BAT" script - restarts services and re-registers DLL's - does this ever help?
Will this server need a reboot since VSS is in a state and we can't even test backups?
Is there a tool we can use to debug VSS or troubleshoot or OS backups further?
MSReport/Diag, VSS debugging, or another way of helping fix our OS(SystemState/C: drive) backup issues?
Any help is greatly appreciated - thx.
-SP
Scot PichelmanHi Scot,
Sometimes a third party backup application will change the default VSS provider adding VSS writers which causes Windows Server Backup using an incorrect component in doing backup, that's why I suggest to delete it for a test. Anyway you can reinstall it
after testing.
And as you said a high-load CPU could also be the cause of the issue so you may need to first rule hardware effective out.
If issue still exists, please try the steps below as well:
1. Please check DCOM Server Process Launcher service is started.
2. If not, try to change RPC service to run as SYSTEM account. To do this please modify the following key:
Note: Backup the key before edit incase it cause any issue.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\RpcSs\
Find "ObjectName" and change the value to LocalSystem.
Reboot to see if DCOM back to work and if Windows Server Backup starts working. If not, please provide the result if there is any new error occurs.
If DCOM still not work, please compare the content of the following key with a working server:
HKEY_LOCAL_MACHINE\Software\Microsoft\OLE
Edit if there is any difference and make sure you created a backup of the key before editing.
If you have any feedback on our support, please send to [email protected] -
Error while taking archive log backup
Dear all,
We are getting the below mentioned error while taking the archive log backup
============================================================================
BR0208I Volume with name RRPA02 required in device /dev/rmt0.1
BR0210I Please mount BRARCHIVE volume, if you have not already done so
BR0280I BRARCHIVE time stamp: 2010-05-27 16.43.41
BR0256I Enter 'c[ont]' to continue, 's[top]' to cancel BRARCHIVE:
c
BR0280I BRARCHIVE time stamp: 2010-05-27 16.43.46
BR0257I Your reply: 'c'
BR0259I Program execution will be continued...
BR0280I BRARCHIVE time stamp: 2010-05-27 16.43.46
BR0226I Rewinding tape volume in device /dev/rmt0 ...
BR0351I Restoring /oracle/RRP/sapreorg/.tape.hdr0
BR0355I from /dev/rmt0.1 ...
BR0278W Command output of 'LANG=C cd /oracle/RRP/sapreorg && LANG=C cpio -iuvB .tape.hdr0 < /dev/rmt0.1':
Can't read input
===========================================================================
We are able to take offline, online backups but we are facing the above mentioned problem while taking archive log backup
We are on ECC 6 / Oracle / AIX
The kernel is latest
The drive is working fine and there is no problem with the tapes as we have tried using diffrent tapes
can this be a permissions issue?
I ran saproot.sh but somehow it is setting owner as sidadm and group as sapsys to some of the br* files
I tried by changing the permissions to oraSID : dba but still the error is the same
Any suggestions?Means you have not initialized the medias but trying to take backups.
First check how many medias you have entered in your tape count parameter for archive log backups (just go to initSID.sap and check)
Then increase/reduce them to according to your archive backup plan >> Initialize all the tapes according to their name (same as you have initialized in initSID.sap) >> stick physical label to all the medias according to name >> Schedule archive backups
It will not ask you for initialization as already you have initialized in second step.
Suggestion: Use 7 medias per week (one tape per day)
Regards,
Nick Loy -
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 -
Log File Issue In SQL server 2005 standard Edition
We have database of size 375GB .The data file has 80 GB free space within .When trying to rebuild the index we had 450 GB free space on the disk where Log file is residing.The rebuild index activity failed due to space issue.added more space and got the
job done successfully
The Log file has grow up to 611GB to complete the rebuild index.
version :SQL server 2005 Standard Edition .Is ther a way to estimate the space required for rebuild index in this version.
I am aware we notmaly allocate 1.5 times of data file.But in this case It was totaly wrong.
Any suggestion with examples would be appreciated.
RaghuOK, there's a few things here.
Can you outline for everybody the recovery model you are using, the frequency with which you take full, differential and transaction log backups.
Are you selectively rebuilding your indexes or are you rebuilding everything?
How often are you doing this? Do you need to?
There are some great resources on automated index maintenance, check out
this post by Kendra Little.
Depending on your recovery point objectives I would expect a production database to be in the full recovery mode and as part of this you need to be taking regular log backups otherwise your log file will just continue to grow. By taking a log backup it will
clear out information from inactive VLF's and therefore allow SQL Server to write back to those VLF's rather than having to grow the log file. This is a simplified version of events, there are caveats.
A VLF will be marked as active if it still has an open transaction in it or there is a HA option that still requires that data to be available as that data has not been copied to another node yet.
Most customers that I see take transaction log backups every 15 - 30 minutes, but this really does depend upon how much data your company can afford to lose. That's another discussion for another day.
Make sure that you take a transaction log backup prior to your job that does your index rebuilds (hopefully a smart job not a sledge hammer job).
As mentioned previously swapping to bulk logged can help to reduce the size of the amount of information logged during index rebuilds. If you do this make sure to swap back into the full recovery model straight after and perform a full backup. There are
problems with the ability to do point in time restores whilst in the bulk logged recovery model, so you need to reduce the amount of time you use it.
Really you also need to look at how your indexes are created does the design of them lead to them being fragmented on a regular basis? Are they being used? Are there better indexes out there that can help performance?
Hopefully that should put you on the right track.
If you find this helpful, please mark the post as helpful,
If you think this solves the problem, please propose or mark it an an answer.
Please provide details on your SQL Server environment such as version and edition, also DDL statements for tables when posting T-SQL issues
Richard Douglas
My Blog: Http://SQL.RichardDouglas.co.uk
Twitter: @SQLRich -
Full, Differential and log backup or Full and log backup? What to choose?
Hi All,
I have a SQL Server 2012 database of size <1 gb and the data of this db is expected to grow by 100 MB every month (i.e., ~ 1 gb per year). We have to backup this database to Azure Blob storage and data loss of 2 hrs. is accepted. Now can you please suggest
the best database backup policy. The option i have in mind are
1. Full database backup every week followed by differential backup every 2 hrs (or)
2. Full database backup every week followed by differential backup every day followed by transactional log backup every 2 hrs (or)
3. Full database backup every week followed by transactional log backup every 2 hrs
Note: My database is in Full recovery modelWell its bit difficult for us to tell what would be best for you as you only told RPO but did not tell us RTO. I mean in how much time, if disaster strikes, would you like database to be up and running. Backup policy would depend on that
Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
My Technet Wiki Article
MVP -
Exchange 2010 SP3 rollup4
4 Server DAG all servers running Windows 2008 R2 (VMs on VMware esxi5.1) 4 databases (2 mailbox, 2 online archives)
Last week 2 databases backup stopped truncating the logs, Mailbox 1 and Online Archive 1. (Mailbox 2 and Online Archive 2 seem to be OK and are backing up OK)
On investigation there are a number of errors in the application log:
Log Name:
Application
Source:
MSExchangeRepl
Date:
05/06/2014 21:50:48
Event ID:
2156
Task Category: Service
Level:
Error
Keywords:
Classic
User:
N/A
Computer:
Exchangeserver1
Description:
The log copier for database 'Online Archive 1' could not send a log file to server 'EXCHANGESERVER2' because An I/O error occurred while attempting to access file 'L:\Exchange Logs\Online
Archive 1\E05.log' on source server EXCHANGESERVER1. Error: File not found (-1811)
Event Xml:
<Data>An I/O error occurred while attempting to access file 'L:\Exchange Logs\Online Archive 1\E05.log' on source server EXCHANGESERVER1. Error: File not found (-1811)</Data>
Log Name:
Application
Source:
MSExchange Search Indexer
Date:
05/06/2014 21:50:48
Event ID:
118
Task Category: General
Level:
Warning
Keywords:
Classic
User:
N/A
Computer:
Exchangeserver1
Description:
Exchange Search Indexer has temporarily disabled indexing of the mailbox database Online Archive 1 (GUID = ee385d93-918f-470e-b57b-a87d7e23ed20) due to an error (Microsoft.Mapi.MapiExceptionMdbOffline:
MapiExceptionMdbOffline: Unable to read events. (hr=0x80004005, ec=1142)
Diagnostic context:
Lid: 33865
Lid: 1494 ---- Remote Context Beg ----
Lid: 44215
Lid: 60049 StoreEc: 0x8004010F
Lid: 49469
Lid: 65341 StoreEc: 0x8004010F
Lid: 56125
Lid: 47933 StoreEc: 0x8004010F
Lid: 32829
Lid: 49213 StoreEc: 0x8004010F
Lid: 48573
Lid: 64957 StoreEc: 0x8004010F
Lid: 20057 StoreEc: 0x476
Lid: 1750 ---- Remote Context End ----
Lid: 28777 StoreEc: 0x476
Lid: 20098
Lid: 20585 StoreEc: 0x476
at Microsoft.Mapi.MapiExceptionHelper.ThrowIfError(String message, Int32 hresult, SafeExInterfaceHandle iUnknown, Exception innerException)
at Microsoft.Mapi.MapiEventManager.ReadEvents(Int64 startCounter, Int32 eventCountWanted, Int32 eventCountToCheck, Restriction filter, ReadEventsFlags flags, Boolean includeSid, Int64& endCounter)
at Microsoft.Exchange.Search.RetriableOperations.ReadEvents(ThreadLocalCrawlData unused1, MapiEventManager eventManager, Int64 watermark, Int32 eventCount, Int64& endCounter)
at Microsoft.Exchange.Search.RetriableOperations.DoRetriableMapiOperation[SourceType,ReturnType,Parameter1Type,Parameter2Type,Parameter3Type](ThreadLocalCrawlData crawlData, SourceType source, Parameter1Type parameter1, Parameter2Type parameter2, Parameter3Type&
parameter3, MapiOperationDelegate`5 operationDelegate)
at Microsoft.Exchange.Search.NotificationWatcher.GetMapiEvents(Int32 maxEvents, NotificationQueue notificationQueue, Int64& endCount)
at Microsoft.Exchange.Search.NotificationWatcher.NotificationWatcherThread()), and Operations Manager would never alert it.
Log Name:
Application
Source:
MSExchangeRepl
Date:
05/06/2014 21:50:52
Event ID:
4082
Task Category: Service
Level:
Error
Keywords:
Classic
User:
N/A
Computer:
Exchangeserver1
Description:
The replication network manager encountered an error while monitoring events. Error: Microsoft.Exchange.Cluster.Replay.AmClusterApiException: An Active Manager operation failed. Error
An error occurred while attempting a cluster operation. Error: Cluster API '"OpenCluster(Exchangeserver1) failed with 0x6d9. Error: There are no more endpoints available from the endpoint mapper"' failed.. ---> System.ComponentModel.Win32Exception:
There are no more endpoints available from the endpoint mapper
--- End of inner exception stack trace ---
at Microsoft.Exchange.Cluster.Replay.NetworkManager.DriveMapRefresh()
at Microsoft.Exchange.Cluster.Replay.NetworkManager.TryDriveMapRefresh()
Event Xml:
Log Name:
Application
Source:
ESE
Date:
05/06/2014 21:51:15
Event ID:
489
Task Category: General
Level:
Error
Keywords:
Classic
User:
N/A
Computer:
Exchangeserver1
Description:
msexchangerepl (2448) An attempt to open the file "O:\Mailbox Databases\Online Archive 1\Online Archive 1.edb" for read only access failed with system error 32 (0x00000020):
"The process cannot access the file because it is being used by another process. ".
The open file operation will fail with error -1032 (0xfffffbf8).
For more information, click http://www.microsoft.com/contentredirect.asp.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="ESE" />
<EventID Qualifiers="0">489</EventID>
<Level>2</Level>
<Task>1</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2014-06-05T20:51:15.000000000Z" />
<EventRecordID>7392312</EventRecordID>
<Channel>Application</Channel>
<Computer>Exchangeserver1</Computer>
<Security />
</System>
<EventData>
<Data>msexchangerepl</Data>
<Data>2448</Data>
<Data>
</Data>
<Data>O:\Mailbox Databases\Online Archive 1\Online Archive 1.edb</Data>
<Data>-1032 (0xfffffbf8)</Data>
<Data>32 (0x00000020)</Data>
<Data>The process cannot access the file because it is being used by another process. </Data>
</EventData>
</Event>
Log Name:
Application
Source:
MSExchangeRepl
Date:
05/06/2014 21:51:15
Event ID:
4107
Task Category: Service
Level:
Error
Keywords:
Classic
User:
N/A
Computer:
Exchangeserver1
Description:
The Microsoft Exchange Replication service detected that database 'Online Archive 1' may be mounted on two servers. The copy on server 'EXCHANGESERVER1' will now be dismounted. Please
review the event logs for more information.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="MSExchangeRepl" />
<EventID Qualifiers="49156">4107</EventID>
<Level>2</Level>
<Task>1</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2014-06-05T20:51:15.000000000Z" />
<EventRecordID>7392314</EventRecordID>
<Channel>Application</Channel>
<Computer>Exchangeserver1</Computer>
<Security />
</System>
<EventData>
<Data>Online Archive 1</Data>
<Data>EXCHANGESERVER1</Data>
</EventData>
</Event>
Log Name:
Application
Source:
MSExchangeRepl
Date:
05/06/2014 21:51:15
Event ID:
2070
Task Category: Service
Level:
Error
Keywords:
Classic
User:
N/A
Computer:
Exchangeserver1
Description:
The Microsoft Exchange Replication service encountered an error while inspecting the logs and database for Online Archive 1\EXCHANGESERVER1 on startup. Error: File check failed : File
'O:\Mailbox Databases\Online Archive 1\Online Archive 1.edb' could not be opened.
The file is locked or in use.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="MSExchangeRepl" />
<EventID Qualifiers="49156">2070</EventID>
<Level>2</Level>
<Task>1</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2014-06-05T20:51:15.000000000Z" />
<EventRecordID>7392315</EventRecordID>
<Channel>Application</Channel>
<Computer>Exchangeserver1</Computer>
<Security />
</System>
<EventData>
<Data>Online Archive 1\EXCHANGESERVER1</Data>
<Data>File check failed : File 'O:\Mailbox Databases\Online Archive 1\Online Archive 1.edb' could not be opened.
The file is locked or in use.</Data>
</EventData>
</Event>
Log Name:
Application
Source:
ESE
Date:
05/06/2014 21:51:45
Event ID:
489
Task Category: General
Level:
Error
Keywords:
Classic
User:
N/A
Computer:
Exchangeserver1
Description:
msexchangerepl (2448) An attempt to open the file "O:\Mailbox Databases\Online Archive 1\Online Archive 1.edb" for read only access failed with system error 32 (0x00000020):
"The process cannot access the file because it is being used by another process. ".
The open file operation will fail with error -1032 (0xfffffbf8).
For more information, click http://www.microsoft.com/contentredirect.asp.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="ESE" />
<EventID Qualifiers="0">489</EventID>
<Level>2</Level>
<Task>1</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2014-06-05T20:51:45.000000000Z" />
<EventRecordID>7392316</EventRecordID>
<Channel>Application</Channel>
<Computer>Exchangeserver1</Computer>
<Security />
</System>
<EventData>
<Data>msexchangerepl</Data>
<Data>2448</Data>
<Data>
</Data>
<Data>O:\Mailbox Databases\Online Archive 1\Online Archive 1.edb</Data>
<Data>-1032 (0xfffffbf8)</Data>
<Data>32 (0x00000020)</Data>
<Data>The process cannot access the file because it is being used by another process. </Data>
</EventData>
</Event>
Log Name:
Application
Source:
MSExchange Search Indexer
Date:
05/06/2014 21:51:50
Event ID:
108
Task Category: General
Level:
Information
Keywords:
Classic
User:
N/A
Computer:
Exchangeserver1
Description:
Exchange Search Indexer has enabled indexing for the Mailbox Database Online Archive 1 (GUID = ee385d93-918f-470e-b57b-a87d7e23ed20).
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="MSExchange Search Indexer" />
<EventID Qualifiers="16388">108</EventID>
<Level>4</Level>
<Task>1</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2014-06-05T20:51:50.000000000Z" />
<EventRecordID>7392320</EventRecordID>
<Channel>Application</Channel>
<Computer>Exchangeserver1</Computer>
<Security />
</System>
<EventData>
<Data>Online Archive 1</Data>
<Data>ee385d93-918f-470e-b57b-a87d7e23ed20</Data>
</EventData>
</Event>
Log Name:
Application
Source:
ExchangeStoreDB
Date:
05/06/2014 21:52:00
Event ID:
124
Task Category: Database recovery
Level:
Error
Keywords:
Classic
User:
N/A
Computer:
Exchangeserver1
Description:
At '05/06/2014 21:51:15' the Exchange Information Store Database 'Online Archive 1' copy on this server encountered an error. Consult the event log on the server for other "ExchangeStoreDb"
or "msexchangeRepl" events that may identify the specific failure. The Replication Service will automatically attempt to retry.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="ExchangeStoreDB" />
<EventID Qualifiers="49156">124</EventID>
<Level>2</Level>
<Task>1</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2014-06-05T20:52:00.000000000Z" />
<EventRecordID>7392327</EventRecordID>
<Channel>Application</Channel>
<Computer>Exchangeserver1</Computer>
<Security />
</System>
<EventData>
<Data>Online Archive 1</Data>
<Data>ee385d93-918f-470e-b57b-a87d7e23ed20</Data>
<Data>Replay</Data>
<Data>AlertOnly</Data>
<Data>Online Archive 1</Data>
<Data>
</Data>
<Data>
</Data>
<Data>05/06/2014 21:51:15</Data>
</EventData>
</Event>
These seem to repeat until a log entry:
Log Name:
Application
Source:
MSExchangeIS
Date:
05/06/2014 22:14:38
Event ID:
9617
Task Category: Exchange VSS Writer
Level:
Error
Keywords:
Classic
User:
N/A
Computer:
Exchangeserver1
Description:
Exchange VSS Writer (instance ae29b16e-11b9-4f2d-b2eb-a544d0927d87:2) failed with error code -2147221233 when processing the backup completion event.
I thought it was a backup issue but Veeam have investigated and have said it is a VSS timeout issue (I'm not convinced)
Recently I have had to have a new logs drive and extend the size of the mail box drive but since those changes were made backup has run OK until this issues.
Any advice appreciated.Hi,
Based on my research, when Veeam takes the snapshot to then do a VSS backup it will cause the databases in the DAG to fail over and cause lots of alerts and we can modify the REM for the backup issue:
http://desktopfeedbag.com/2012/02/23/fixed-exchange-2010-sp1sp2-dag-fail-over-with-veeam/
Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make
sure that you completely understand the risk before retrieving any suggestions from the above link.
Thanks,
Angela Shi
TechNet Community Support -
During logshipping, job on secondary server is ran successfully BUT give this information
"Skipping log backup file since load delay period has not expired ...."
What is this "Load delay period" ? Can we configure this somehow, somewhere ?
NOTE : The value on "Restore Transasction Log tab", Delay Restoring backups at least = Default (zero minutes)
Thanks
Think BIG but Positive, may be GLOBAL better UNIVERSAL.How to get the LSBackup, LSCopy, and LSRestore jobs back in sync...
Last I posted the issue was that my trn backups were not being copied from Primary to Secondary.
I found upon further inspection of the LS related tables in MSDB the following likely candidates for adjustment:
1) dbo.log_shipping_monitor_secondary, column last_copied_file
change last copied file column to something older than the file that is stuck. For example, the value in the table was
E:\SQLLogShip\myDB_20140527150001.trn
I changed last_copied_file to E:\SQLLogShip\myDB_20140525235000.trn. Note that this is just a made up file name that is a few minutes before the actual file that I would like to restore (myDB_2014525235428.trn). 4 mins and 28 seconds before, to
be exact.
LSCOPY runs and voila! now it is copied from primary to secondary. That appears to be the only change needed to get the copy going again.
2) For LSRestore, see the MSDB table dbo.log_shipping_monitor_secondary, change
last_restored_file
again I used the made up file E:\SQLLogShip\myDB_20140525235000.trn
LSRESTORE runs and my just copied myDB_2014525235428.trn is restored
** note that
dbo.log_shipping_secondary_databases also has a last_restored_file column - this did not seem to have any effect, though I see that it updates after completing the above and LSRestore has run successfully, so now it is correct as well
3) LSBackup job is still not running, the job still has a last run date in the future. Could just leave it and eventually it will come right, but I made a fairly significant time change, plus it's all an experiment....back to MSDB.
look at dbo.sysjobs, get the job_id of your LSBackup job
edit dbo.sysjobschedules - change next_run_date next_run_time as needed to a datetime before the current time, or when you would like the job to start running.
I wouldn't be so cavalier with data that was important, but that's the benefit of being in Test, and it appears that these time comparisons are very rudimentary - a value in the relevant log shipping table and the name of the trn file. That said, if you
were facing a problem of this nature due to lost trn files, corrupted, or some similar scenario, this wouldn't fix your problem, though it _might_ allow you to continue? But in my case I know I have all the trn files, it's just the time that changed, in this
case on my Primary server, and thus the names of the trn logs got out sync. -
Whole database offline + redo log backup Scheduling failed
Hi Experts,
In DB13 I have the following Issue, Whole database offline + redo log backup Scheduling failed.
How to solve this.Hi,
Below is the Log details,
BR0120I Control files
File Size Id. Device Link Type
/oracle/PRD/origlogA/cntrl/cntlrPRD.dbf 13975552 0 5578783 NOLINK FILE
/oracle/PRD/origlogB/cntrl/cntrlPRD.dbf 13975552 0 5578784 NOLINK FILE
/oracle/PRD/sapdata1/cntrl/cntrlPRD.dbf 13975552 0 5578772 NOLINK FILE
BR0616I Tablespaces in table TSORA for SAP owner SAPSR3:
PSAPSR3, PSAPSR3700, PSAPSR3USR
BR0227E Not enough disk space in /test123/PRDBK for backup, missing at least 149478.274 MB
BR0056I End of database backup: behzgxph.afd 2012-02-28 03.05.40
BR0280I BRBACKUP time stamp: 2012-02-28 03.05.40
BR0054I BRBACKUP terminated with errors
BR0280I BRBACKUP time stamp: 2012-02-28 03.05.40
BR0291I BRARCHIVE will be started with options '-U -jid ALGOF20110129030500 -d disk -c force -p initPRD.sap -sd'
BR0280I BRBACKUP time stamp: 2012-02-28 03.06.09
BR0292I Execution of BRARCHIVE finished with return code 0 -
Behaviuor in reading logs from DB13 - redo log backup for DB
Hi all,
I have a question ,
We have scheduled redo log backup using HP DP Tool.
When I am reading a backup log from DB13 , I am facing the weird behavior.
copy, delete, save
0000
aeomzyok.cds
copy, delete, save
0001
aeomzyoh.cds
Where ever the RC is 000 I am able to read the log files available at OS level . But not able to read the log for other RC.
Please help me to understand this
Thanks,
GnanaHi Gnana.
Use the latest BR*Tools as there were problems with permission issues while creating logfiles. In the latest BR*Tools version, the different logfiles are created with predefined permission levels that suits to SAP needs.
Also it worth to check if the BR*Tools executables hav the correct ownership.
113747 Owners and authorizations for BR*Tools
Regards,
János -
How lot take log backup using script in HANA
We have SAP HANA SPS09.
1) We are using script provided by SAP Note#1651055 to take the data backup.But it seems it is not taking log backup.HOw can we schedule logbackup ? or we have to use DBACOCKPIT or Studio only?
2) My DB is log_mode OVERWRITE.I have taken backup using script.But when I tried to check the backup using below command
hdbbackupdiag --check -f -d /mnt/resource/backup/xb8_bkp_19022015/ --logDirs /mnt/resource/logbackup/,/usr/sap/XB8/HDB00/backup/log
ERROR: [110081] Catalog backup log_backup_0_0_0_0 not found
goazr1app904d:/usr/sap/XB8/HDB00>
Is it like we have the DB in OVERWRITE mode thats why we are getting this error?Will my recovery work ?
Thanks,
MofizurDid your issue got resolved?
We are having same issue. We are on Rev 82 and using DD Boost EMC to take the backup using BACKINT.
Though we are on Rev 82 I tried option provided by Pavan which didn't worked for me.
hdbbackupdiag --check --useBackintForCatalog --backintDataParamFile /opt/ddbda/config/sap_hana_ddbda.utl -d /usr/sap/A0T/SYS/global/hdb/backint
ERROR: [110081] Catalog backup log_backup_0_0_0_0 not found
Regards,
Nitin
Maybe you are looking for
-
Programmatic, using bean add Parent and child nodes in af:tree dynamically
Hi All, i have to add parent and child nodes dynamically in tree . Example : i have created a tree like below.On click of button i will get value A ,from pl/sql function i will A1 and A 2 values.which i have to show in pop as tree. A |-----A1 |-----A
-
BlazeDS provides push functionality through HTTP ??
Hi All , In my application i am integrating my Flex app with Java Struts using BalzeDS. Now i have a requirement like Data(Server) push functionality through HTTP. I am using HTTPService calls only in my Flex application. Can BlazeDS provides pus
-
LMS 4.2.3 Performance management
Hi All, For device count 100(CWLMS-4.0-100-K9 ) how many interfaces or how many devices can be managed by the performance management(HUM). While creating the new poller with 2 devices(430 interfaces) added its showing an warning "number of devices fo
-
AssociatedXMLElement InvalidCastException
Hi I've tried asking this in the Scripting forum but no reaction so far.. Maybe some of you C++ guys have worked with InDesign as a COM object in VS and have an idea on how to solve this. I can't use AssociatedXMLElement property in CS3. It throws an
-
I want to update my macbook osx 10.5.8 ?!
I've updated my iphone and ipad 2 to IOS6, but now my itunes doens't recognise them because i have to update it, but i can't because my macbook also needs an update (it is now 10.5.8), but i can't update my macbook because apple doesn't sell snow leo