MSSQL 2012 Database Backup Error
Hi,
I getting error
Backup failed for Server 'MY-SERVER-1', (Microsoft.Sqlserver.SmoExtended)
Additional Information:
System.Data.Sqlclient.SqlError:Cannot open backupdevice 'D:\Mydatabase.bak'.Operating systemerror 5(Access is denied).(Microsoft.Sqlserver.Smo)
though I have full access in the system drives.
Can anyone plz. help .....
Warm Regards
Sanjay
Hi Sanjay,
The error message shows that you credential didn't have permission access to the folder. If you try to backupsto network drives, perform the following steps:
The SQL Server service must be started using a domain user account to access any resources on a remote computer. Verify that the MSSQLServer service is started under a domain account that has write access to both the Windows NT Server share and its underlying
partition (if the partition is formatted with the Windows NT file system, or NTFS).
In Control Panel, double-click the Services icon.
Select the MSSQLServer service and then click Startup.
Examine the startup options for the service and verify that This Account is selected and that a valid domain account is supplied in the form Domain_Name\Domain_account (with the correct password).
NOTE: If you changed the service to run under a domain account, you must stop and restart the MSSQLServer service.
Verify that the account specified has write access on the Windows NT share to which you are backing up, as well as the underlying partition (if the partition is formatted as NTFS). To do this, perform the following steps:
a. Right-click the share name in Windows NT Explorer.
b. Click Sharing on the shortcut menu.
c. On the Security tab, click Permissions.
Regards,
Elvis Long
TechNet Community Support
Similar Messages
-
SQL Server 2008 & 2012 Database backup on a shared loaction
Hi,
I have to plan for the Database backup on SQL Server 2008 & 2012 on a shared Path.
We are building a new Maintenance plan & specify the Database which needs to be backup & at the Folder location we specify the Shared Path Location. These steps I have followed using the below link,
http://social.msdn.microsoft.com/Forums/en-US/be138ca3-4b2f-4464-8115-9a0a6f2e0fe6/sql-database-backup-on-network-share-using-maintenance-plan?forum=sqldatabasemirroring
But the operation fails & throws the below error:
Message
Executed as user Microsoft (R) SQL Server Execute Package Utility Version 10.50.1600.1 for 64-bit Copyright (C) Microsoft Corporation 2010. All rights reserved. Started: 12:27:17 PM Progress: 2014-02-13 12:27:19.13
Source: {B6CEBA00-4BD1-4931-AF23-B633BEDBEE4A} Executing query "DECLARE @Guid UNIQUEIDENTIFIER EXECUTE msdb..sp...".: 100% complete End Progress Error: 2014-02-13 12:27:20.63
Code: 0xC002F210 Source: Back Up Database Task Execute SQL Task Description: Executing the query "BACKUP DATABASE DB TO DISK ..." failed with the following error: "Cannot open backup device
'\\DBBackup\SharePoint_backup\DB_backup_2014_02_13_122719_5314660.bak'. Operating system error 5(Access is denied.). BACKUP DATABASE is terminating abnormally.". Possible failure reasons: Problems with the query, "ResultSet" property not
set correctly, parameters not set correctly, or connection not established correctly. End Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 12:27:17 PM Finished: 12:27:20 PM Elapsed: 2.843 seconds.
The package execution failed. The step failed.
Note: But when I open the shared path in the Windows Explorer it opens successfully.
Regards,
Purvish ShahHello,
>>'\\DBBackup\SharePoint_backup\DB_backup_2014_02_13_122719_5314660.bak'. Operating system error 5(Access is denied.).
This clearly points out to fact that your SQL Server service account does not have permission of read/write on shared location,simple.
>>But when I open the shared path in the Windows Explorer it opens successfully.
This is because when you are browsing through explorer your windows login credential is used to access that folder but when you are running backup your SQL Server service account permission is used to write backup on shared folder ( which I assume it does
not have ) so the access denied error.
Hope this helps
PS: I reffered the link its maily how you specify backup path its not about access denied error due to SQL server service acount not having privilege
Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers -
DB13 Full Database Backup - Error
Hello Everybody,
Got this error with DB13 Full Database Backup.
2006-05-28 07:20:13.92 spid91 BackupMedium::ReportIoError: read failure on backup device '
ERB-HQ-BK2\SAPBK\DVE.BAK'.
Operating system error 59(An unexpected network error occurred.).
2006-05-28 07:20:13.93 spid91 Internal I/O request 0x0000000089028080: Op: Read, pBuffer: 0x00000000069D0000, Size: 65536, Position: 111032779264, UMS: Internal: 0x89029FE8, InternalHigh: 0x89028140, Offset: 0xDA11C200, OffsetHigh: 0x19, m_buf: 0x00000
000069D0000, m_len: 65536, m_actualBytes: 0, m_errcode: 59, BackupFile:
ERB-HQ-BK2\SAPBK\DVE.BAK
Best Regards.
DarwinDarwin,
Seems like the system is not recognizing your backup device. Have you verified that it installed/configured properly. -
Hi,
While trying to take the Online database backup , i get the following error
BR0278E Command output of 'LANG=C cd /oracle/CPD/sapdata1/sr3_1 && echo sr3.data1 | LANG=C cpio -ovB > /dev/rmt0.1':
<sr3.data1> ?
BR0280I BRBACKUP time stamp: 2007-09-14 15.42.29
BR0279E Return code from 'LANG=C cd /oracle/CPD/sapdata1/sr3_1 && echo sr3.data1 | LANG=C cpio -ovB > /dev/rmt0.1': 255
BR0222E Copying /oracle/CPD/sapdata1/sr3_1/sr3.data1 to/from /dev/rmt0.1 failed due to previous errors
Is there anything related with the expiration period as i had made changes withthat too.
Kindly suggest what needs to be done?
Regards,
Radeesh VHi Radeesh,
Pls check the following
1)The file to be backed up cannot be read. this can be due to hardware problems on the disk on which the file is stored.
2)The file to be backed up cannot be written to the volume. this can be due to hardware problems with the volume or the backup device.
3)The backup device is not responding, for example if no volume (tape) was inserted in the backup device.
4) The input or output file cannot be opened. The operating system user is experiencing authorization problems.
5) The physical end of the tape was reached. However, since a parallel backup is performed or the option -c force was used, cpio cannot request a cpio continuation volume. The tape size (parameter tape_size) must be reduced.
Hope this is useful
Regards
Umesh -
Secure login to sql 2012 database for webusers
We build up a new website in .net mvc 4.0 on a w2012 server with MSSQL 2012 database.
We use windows autentification and normal anonymous access through NT AUTHORITY\IUSR who is also a login in the database.
But we make extra login possibility for users who are registered and they can insert and modify data in some tables in the database. And I'am afraid of giving NT AUTHORITY\IUSR insert and update for some column in tables.
I think of set up a new login for the database. Run a new connection string on login and set up special permission for that extra user on the database, set up a new role and let the new user become member, but also let the user become a member of the ordinary
user(roles) in the database.
Have anyone any idea what is the best practice here and the most secure way to do it?
Any links for other resources about this topic?
Or perhaps my fear for using NT AUTHORITY\IUSR is groundless
And perhaps someone has links to resources for using SQL server as a backendserver for websites.
Knut from Norway!I don't know much about web servers, which may explain your alternatives entirely.
But, if you use the same connection string for reads that you do for updates, then you must control all permission for writes in the web app. And you must be sure that you only use parameterised SQL or stored procedures, so that there is no risk for SQL
injection.
If you give special logins for the users with read access, they would need their own accounts in SQL Server. If this is an intranet site, the web server may be able to impersonate these users and then connect to SQL Server. If that does not work out, you
would have to create SQL logins for these.
Obviously, this requires more administration, but it is also more secure, because you are adding a line of defence. Even if your application is free from SQL injection vulnerabilities today, some new badly educated kid on the block could open a hole two
years later.
Erland Sommarskog, SQL Server MVP, [email protected] -
I have a SQL 2008 R2 database that I am trying to move to 2012. Made a full backup of the database in 2008 R2. Recovery model is Simple, compatibility level is 2008 Went to 2012, created a dummy database, did Tasks--> Restore -->
Database , located the backup file, selected it, changed the file locations and tried to restore the backup (with overwrite option), got the following error:
BACKUP LOG cannot be performed because there is no current database backup.
This is a simple task that has always worked in 2008 R2. Does anyone know what the problem is and a possible solution?
ThanksHi,
This error occurs when the database recovery model has been changed to Simple and/or the recovery model has been changed back to Full but a full backup has not been performed since the change.
If a full backup has been performed, the following conditions will require that another full backup be taken:
· The recovery model had been changed without taking a full backup
· A SQL maintenance plan task had changed the recovery model (reindexing can cause this)
· A backup specifying TRUNCATE_ONLY had been run on the database
· The database was detached from another server and attached to the current server
Additionally, if we take full database backup after the Database is set to readonly, Then transaction log backup we will end up with this error. This is expected behavior. I have list an example within the link below.
Please check above conditions and fix your issue, if you have any concern, please let me know.
Example:
BACKUP LOG cannot be performed because there is no current database backup.
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/b5c36e60-836f-4c9e-b9d7-3fb3f3ee4d37/backup-log-cannot-be-performed-because-there-is-no-current-database-backup
Thanks
Candy Zhou -
How to restore a database backup taken from a SQL Server 2012 instance to SQL Server 2014
I am trying to restore a database backup taken from a SQL Server 2012 instance to my new SQL Server 2014 instance. When I add the .bak through the Mgmt studio UI, it does not seem to find a backup set in the file so I cannot proceed (does not give
me any errors though either. I tried restoring through TSQL command but only got a database restore terminating abnormally error with no other details. How can I restore this database to SQL 2014?Hello,
Please examine SQL Server Error Log and share with us any error you can find. The following article may locate the log:
http://msdn.microsoft.com/en-us/library/ms187109.aspx
Regards,
Alberto Morillo
SQLCoffee.com -
Dear Microsoft Technet Team,
we have an issue regarding creating a Backup using Powershell. Each time we try backing up on special database we get into a timeout after 10 minutes (default connection timeout is as far as we know about 600 seconds). Creating a database backup using the
MSSQL Management Studio it works without any problems. Unfortunately we haven't found the option changing the default timeout. Of course on our other databases which require less time to create our backup there is no problem. We hope you may have any helping
advice. Thank you in advance. Please let us know if you need any further information.
Powershell command: sqlps Backup-SqlDatabase -Server db02 -BackupFile E:\\bacula-tmp\\backup-oewsaas.sql -Database oewsaas -Checksum
Backup-SqlDatabase : Timeout ist abgelaufen. Das Zeitlimit wurde vor dem Beenden des Vorgangs überschritten oder der Server reagiert nicht.
Bei Zeile:1 Zeichen:19
+ Backup-SqlDatabase <<<< -Server db02 -BackupFile E:\bacula-tmp\backup-oewsaas.sql -Database oewsaas -Checksum
+ CategoryInfo : InvalidOperation: (:) [Backup-SqlDatabase], SqlException
+ FullyQualifiedErrorId : ExecutionFailed,Microsoft.SqlServer.Management.PowerShell.BackupSqlDatabaseCommand
Event Log:
2014-03-04 08:21:41.89 Fehler: 3041, Schweregrad: 16, Status: 1.
2014-03-04 08:21:41.89 BACKUP failed to complete the command BACKUP DATABASE oewsaas. Check the backup application log for detailed messages.
Best RegardsHello TenPart,
thank you for you answer. I have tried this already. Unfortunately I have problems using this workaround using the InputObject parameter. In additional is there a solution to set our timeout using the Microsoft SQL Server Management Studio? In the referenced
issue they say this is a bug, do you know if there are any bug fixes yet? Maybe you could give me a helping advice. Thank you in advance.
PS C:\Users\Administrator> [System.Reflection.Assembly]::LoadWithPartialName('Microsoft.SqlServer.SMO')
PS C:\Users\Administrator> $server="db02"
PS C:\Users\Administrator> $serverConn = new-object ("Microsoft.SqlServer.Management.Smo.Server") $server
echo $serverConn
Instance Name
PS C:\Users\Administrator> echo $serverConn.ConnectionContext.StatementTimeout
0
PS C:\Users\Administrator> sqlps Backup-SqlDatabase -InputObject $serverConn -Database oewsaas -BackupFile E:\bacula-tmp\backup-oewsaas.sql -Checksum
Backup-SqlDatabase : Netzwerkbezogener oder instanzspezifischer Fehler beim Herstellen einer Verbindung mit SQL Server. Der Server wurde nicht gefunden, oder
gegriffen werden. Überprüfen Sie, ob der Instanzname richtig ist und ob SQL Server Remoteverbindungen zulässt. (provider: Named Pipes-Provider, error: 40 - V
er konnte nicht geöffnet werden)
Bei Zeile:1 Zeichen:19
+ Backup-SqlDatabase <<<< -InputObject [db02] -Database oewsaas -BackupFile E:\bacula-tmp\backup-oewsaas.sql -Checksum
+ CategoryInfo : InvalidOperation: (:) [Backup-SqlDatabase], SqlException
+ FullyQualifiedErrorId : ExecutionFailed,Microsoft.SqlServer.Management.PowerShell.BackupSqlDatabaseCommand
PS C:\Users\Administrator> sqlps Backup-SqlDatabase -InputObject $serverConn -Server db02 -Database oewsaas -BackupFile E:\bacula-tmp\backup-oewsaas.sql -Che
Backup-SqlDatabase : Der Parametersatz kann mit den angegebenen benannten Parametern nicht aufgelöst werden.
Bei Zeile:1 Zeichen:19
+ Backup-SqlDatabase <<<< -InputObject [db02] -Server db02 -Database oewsaas -BackupFile E:\bacula-tmp\backup-oewsaas.sql -Checksum
+ CategoryInfo : InvalidArgument: (:) [Backup-SqlDatabase], ParameterBindingException
+ FullyQualifiedErrorId : AmbiguousParameterSet,Microsoft.SqlServer.Management.PowerShell.BackupSqlDatabaseCommand
Best Regards -
We have an SSIS package that runs on clustered MSSQL 2012 Enterprise Nodes that is failing. We use a job to executer the package.
Environmental information:
Product - Microsoft SQL Server Enterprise: Core-based Licensing (64-bit)
Operating System - Microsoft Windows NT 6.1 (7601)
Patform - NT x64
Version - MSSQL Version 11.0.3349.0
Package is set to 32 -bit. All permissions verified. Runs in lower environments, same MSSQL version. All environments are clustered. In the failing environment, all nodes are at the same service pack. I have not verified if all
nodes in the failing environment have SSIS installed. Data access is installed. We have other simpler packages that run in this environment, just not this one. Time to ask the community for help!
Error:
Source: Data Flow Task - Data Flow Task (SSIS.Pipeline) Description: The version of Lookup is not compatible with this version of the DataFlow. End Error Error: Code: 0xC0048020
Description: Component "Conditional Split, clsid {7F88F654-4E20-4D14-84F4-AF9C925D3087}" could not be created and returned error code 0x80070005 "Access is denied.". Make sure that the component is registered correctly. End Error
Description: The component is missing, not registered, not upgradeable, or missing required interfaces. The contact information for this component is "Conditional Split;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights
Reserved; http://www.microsoft.com/sql/support;0". End Error
(Left out shop specific information. This is the first error in the errors returns by the job history for this package. )
Thanks in advance.Hi DeveloperMax,
According to your description, the error occurs when you execute the package with Agent job on clustered MSSQL 2012 Enterprise Nodes.
As per my understanding, I think this issue can be caused by you use SQL Server Agent to schedule a SQL Server Integration Services package in a 64-bit environment. And the SSIS package is referencing some 32-Bit DLL or 32-Bit drivers which are available
only in 32-bit versions, so the job failed.
To fix this issue, we should use the 32-bit version of the DTExec.exe utility to schedule the 64-bit SQL Server Agent to run a package. To run a package in 32-bit mode from a 64-bit version of SQL Server Agent, we can go to the Job Step dialog box, then
select “32 bit runtime” in the Advanced tab.
Besides, we should make sure that SQL Server Integration Services is installed on the failing environment.
If there are any other questions, please feel free to ask.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
10.1.0.2.0 Database Control Backup error.
Has anybody found this error when running an "gui" Database Control error?
I can successfully run a command line RMAN backup (script) on our production server, however I get the following error when attempting to schedule an backup through the GUI.
STATUS: failed initialization, Param username not provided.
When I go through setting up the backup I ensure to "test backup to disk" which is successful.
It should work if the test is successful, and I am able to run the scripted RMAN backup to the same directory on the disk with no issues.
Any thoughts?
Kindest regards,
ShawnIs this window box , if this is the case then you
need to set the local security policy before running
backup job.Yes, make sure your username (i.e. the one running the job) has log on as batch job privilege. -
DB13 full database online tape backup error
Dear all Experts
I am trying to take online backup of newly installed ECC development system with AIX6.1,Oracle 11g,tape inserted and Initialized successfully in DB13 ,but I have tried to fire the backup of online backup i am getting error
please find the below log and can anyone help me out??
initGDV.sap file setup
is
backup_mode = all
restore_mode = all
backup_type = online
backup_dev_type = tape
backup_root_dir = /oracle/GDV/sapbackup
stage_root_dir = /oracle/GDV/sapbackup
compress_cmd = "compress -c $ > $"
uncompress_cmd = "uncompress -c $ > $"
compress_dir = /oracle/GDV/sapreorg
archive_copy_dir = /oracle/GDV/sapbackup
archive_stage_dir = /oracle/GDV/sapbackup
stage_copy_cmd = rcp
pipe_copy_cmd = rsh
cpio_flags = -ovB
cpio_in_flags = -iuvB
cpio_disk_flags = -pdcu
dd_flags = "obs=64k bs=64k"
dd_in_flags = "ibs=64k bs=64k"
saveset_members = 1
copy_in_cmd = "dd ibs=64k obs=8k if=$"
rewind = "tctl -f $ rewind"
rewind_offline = "tctl -f $ offline"
tape_pos_cmd = "tctl -f $ fsf $"
tape_size = 100G
exec_parallel = 0
tape_address = /dev/rmt0.1
tape_address_rew = /dev/rmt0
expir_period = 30
disk_copy_cmd = copy
tape_copy_cmd = cpio
archive_function = save
compress = no
and error log is below
21.03.2011 17:16:11 Job started
21.03.2011 17:16:11 Step 001 started (program RSDBAJOB, variant &0000000000013, user ID BASIS)
21.03.2011 17:16:11 Execute logical command BRBACKUP On host gulfeccdev
21.03.2011 17:16:11 Parameters:-u / -jid FLL__20110321171610 -c force -t online -m full -p initGDV.sap
21.03.2011 17:16:13 BR0051I BRBACKUP 7.00 (40)
21.03.2011 17:16:13 BR0055I Start of database backup: befmiufr.fnt 2011-03-21 17.16.11
21.03.2011 17:16:13 BR0484I BRBACKUP log file: /oracle/GDV/sapbackup/befmiufr.fnt
21.03.2011 17:16:13 BR0280I BRBACKUP time stamp: 2011-03-21 17.16.12
21.03.2011 17:16:13 BR0301E SQL error -12547 at location BrDbConnect-2, SQL statement:
21.03.2011 17:16:13 'CONNECT /'
21.03.2011 17:16:13 ORA-12547: TNS:lost contact
21.03.2011 17:16:13 BR0310E Connect to database instance GDV failed
21.03.2011 17:16:13 BR0280I BRBACKUP time stamp: 2011-03-21 17.16.13
21.03.2011 17:16:13 BR0301E SQL error -12547 at location BrDbConnect-2, SQL statement:
21.03.2011 17:16:13 'CONNECT /'
21.03.2011 17:16:13 ORA-12547: TNS:lost contact
21.03.2011 17:16:13 BR0310E Connect to database instance GDV failed
21.03.2011 17:16:13
21.03.2011 17:16:13 BR0056I End of database backup: befmiufr.fnt 2011-03-21 17.16.12
21.03.2011 17:16:13 BR0280I BRBACKUP time stamp: 2011-03-21 17.16.13
21.03.2011 17:16:13 BR0054I BRBACKUP terminated with errors
21.03.2011 17:16:13 External program terminated with exit code 3
21.03.2011 17:16:13 BRBACKUP returned error status E
21.03.2011 17:16:13 Job finished
please help me for this error
regards
krishna
Edited by: krishna murthy on Mar 22, 2011 7:20 AMDear aleh
I have set environment variable
oragdv>export MPROTECT_TXT ON
oragdv>brconnect -u / -f dbstate
and executed successfully
but again I am trying with DB13 i am getting same erro
as well as I tried with brtools i am getting following error
Detail log: befmndrc.ant
BR0477I Oracle pfile /oracle/GDV/112_64/dbs/initGDV.ora created from spfile /oracle/GDV/112_64/dbs/spfileGDV.ora
BR0280I BRBACKUP time stamp: 2011-03-22 14.34.18
BR0319I Control file copy created: /oracle/GDV/sapbackup/cntrlGDV.dbf 19251200
BR0101I Parameters
Name Value
oracle_sid GDV
oracle_home /oracle/GDV/112_64
oracle_profile /oracle/GDV/112_64/dbs/initGDV.ora
sapdata_home /oracle/GDV
sap_profile /oracle/GDV/112_64/dbs/initGDV.sap
backup_mode ALL
backup_type online
backup_dev_type tape
compress no
tape_copy_cmd cpio
cpio_flags -ovB
cpio_in_flags -iuvB
dd_flags obs=64k bs=64k
dd_in_flags ibs=64k bs=64k
rewind tctl -f $ rewind
rewind_offline tctl -f $ offline
tape_size 102400.000 MB
tape_address /dev/rmt0.1
tape_address_rew /dev/rmt0
volume_backup GDVB01,GDVB02,GDVB03,GDVB04,GDVB05,GDVB06,GDVB07,GDVB08,GDVB09,GDVB10,
GDVB11,GDVB12,GDVB13,GDVB14,GDVB15,GDVB16,GDVB17,GDVB18,GDVB19,GDVB20,
GDVB21,GDVB22,GDVB23,GDVB24,GDVB25,GDVB26,GDVB27,GDVB28,GDVB29,GDVB30
expir_period 30
tape_use_count 100
exec_parallel 0
system_info oragdv/oragdv gulfeccdev AIX 1 6 000C870AD400
oracle_info GDV 11.2.0.2.0 8192 8637 72753195 gulfeccdev UTF8 UTF8
sap_info 701 SAPSR3 0002LK0003GDV0011D06565319310015Maintenance_ORA
make_info rs6000_64 OCI_102 Feb 21 2009
command_line /usr/sap/GDV/SYS/exe/run/brbackup -p initGDV.sap -d tape -t online -m all -k no -e 0 -l E -U
BR0116I ARCHIVE LOG LIST before backup for database instance GDV
Parameter Value
Database log mode Archive Mode
Automatic archival Enabled
Archive destination LOCATION=/oracle/GDV/oraarch/GDVarch
Archive format %t_%s_%r.dbf
Oldest online log sequence 8634
Next log sequence to archive 8637
Current log sequence 8637 SCN: 72753195
Database block size 8192 Thread: 1
Current system change number 72763669 ResetId: 742322108
BR0118I Tablespaces and data files
Tablespace TS-Status F-Status File Size Id. Device Link Type MaxSize IncrSize BlkSize
PSAPSR3 ONLINE* ONLINE+ /oracle/GDV/sapdata2/sr3_1/sr3.data1 3082821632 4 2752513 NOLINK FILE 10485760000 20971520 8192
PSAPSR3 ONLINE* ONLINE+ /oracle/GDV/sapdata2/sr3_10/sr3.data10 3082821632 13 2752513 NOLINK FILE 10485760000 20971520 8192
PSAPSR3 ONLINE* ONLINE+ /oracle/GDV/sapdata2/sr3_11/sr3.data11 3082821632 14 2752513 NOLINK FILE 10485760000 20971520 8192
PSAPSR3 ONLINE* ONLINE+ /oracle/GDV/sapdata2/sr3_12/sr3.data12 3082821632 15 2752513 NOLINK FILE 10485760000 20971520 8192
PSAPSR3 ONLINE* ONLINE+ /oracle/GDV/sapdata2/sr3_13/sr3.data13 2998935552 16 2752513 NOLINK FILE 10485760000 20971520 8192
PSAPSR3 ONLINE* ONLINE+ /oracle/GDV/sapdata2/sr3_14/sr3.data14 2998935552 17 2752513 NOLINK FILE 10485760000 20971520 8192
PSAPSR3 ONLINE* ONLINE+ /oracle/GDV/sapdata2/sr3_15/sr3.data15 2998935552 18 2752513 NOLINK FILE 10485760000 20971520 8192
PSAPSR3701X ONLINE* ONLINE /oracle/GDV/sapdata4/sr3701x_7/sr3701x.data7 104865792 42 2883585 NOLINK FILE 0 0 8192
PSAPSR3701X ONLINE* ONLINE /oracle/GDV/sapdata4/sr3701x_8/sr3701x.data8 12332310528 43 2883585 NOLINK FILE 0 0 8192
PSAPSR3USR ONLINE* ONLINE+ /oracle/GDV/sapdata4/sr3usr_1/sr3usr.data1 52436992 34 2883585 NOLINK FILE 10485760000 20971520 8192
PSAPTEMP ONLINE# ONLINE+ /oracle/GDV/sapdata1/temp_1/temp.data1 1468014592 -1 2686977 NOLINK FILE 10485760000 20971520 8192
PSAPUNDO ONLINE- ONLINE+ /oracle/GDV/sapdata1/undo_1/undo.data1 7822385152 3 2686977 NOLINK FILE 10485760000 20971520 8192
SYSAUX ONLINE* ONLINE+ /oracle/GDV/sapdata1/sysaux_1/sysaux.data1 713039872 2 2686977 NOLINK FILE 10485760000 20971520 8192
SYSTEM ONLINE* SYSTEM+ /oracle/GDV/sapdata1/system_1/system.data1 1478500352 1 2686977 NOLINK FILE 10485760000 20971520 8192
SYSTEM ONLINE* SYSTEM+ /oracle/GDV/sapdata1/system_2/system.data2 209723392 41 2686977 NOLINK FILE 10485760000 20971520 8192
BR0119I Redo log files
File Size Group Device Status Link Type
/oracle/GDV/origlogA/log_g11m1.dbf 52429312 1 2621445 INUSE NOLINK FILE
/oracle/GDV/mirrlogA/log_g11m2.dbf 52429312 1 2621442 INUSE NOLINK FILE
/oracle/GDV/origlogB/log_g12m1.dbf 52429312 2 2621446 INUSE NOLINK FILE
/oracle/GDV/mirrlogB/log_g12m2.dbf 52429312 2 2621443 INUSE NOLINK FILE
/oracle/GDV/origlogA/log_g13m1.dbf 52429312 3 2621445 INUSE NOLINK FILE
/oracle/GDV/mirrlogA/log_g13m2.dbf 52429312 3 2621442 INUSE NOLINK FILE
/oracle/GDV/origlogB/log_g14m1.dbf 52429312 4 2621446 INUSE NOLINK FILE
/oracle/GDV/mirrlogB/log_g14m2.dbf 52429312 4 2621443 INUSE NOLINK FILE
BR0120I Control files
File Size Id. Device Link Type
/oracle/GDV/origlogA/cntrl/cntrlGDV.dbf 19251200 0 2621445 NOLINK FILE
/oracle/GDV/origlogB/cntrl/cntrlGDV.dbf 19251200 0 2621446 NOLINK FILE
/oracle/GDV/sapdata1/cntrl/cntrlGDV.dbf 19251200 0 2686977 NOLINK FILE
BR0280I BRBACKUP time stamp: 2011-03-22 14.34.18
BR0057I Backup of database: GDV
BR0058I BRBACKUP action ID: befmndrc
BR0059I BRBACKUP function ID: ant
BR0110I Backup mode: ALL
BR0077I Database file for backup: /oracle/GDV/sapbackup/cntrlGDV.dbf
BR0061I 44 files found for backup, total size 210220.695 MB
BR0143I Backup type: online
BR0112I Files will not be compressed
BR0130I Backup device type: tape
BR0102I Following backup device will be used: /dev/rmt0.1
BR0103I Following backup volumes will be used:
GDVB01,GDVB02,GDVB03
BR0280I BRBACKUP time stamp: 2011-03-22 14.34.18
BR0256I Enter 'c[ont]' to continue, 's[top]' to cancel BRBACKUP:
BR0280I BRBACKUP time stamp: 2011-03-22 14.34.36
BR0257I Your reply: 'c'
BR0259I Program execution will be continued...
BR0208I Volume with name GDVB01 GDVB02 GDVB03 required in device /dev/rmt0.1
BR0210I Please mount BRBACKUP volume, if you have not already done so
BR0280I BRBACKUP time stamp: 2011-03-22 14.34.36
BR0256I Enter 'c[ont]' to continue, 's[top]' to cancel BRBACKUP:
BR0280I BRBACKUP time stamp: 2011-03-22 14.37.16
BR0257I Your reply: 'c'
BR0259I Program execution will be continued...
BR0280I BRBACKUP time stamp: 2011-03-22 14.37.16
BR0226I Rewinding tape volume in device /dev/rmt0 ...
BR0351I Restoring /oracle/GDV/sapbackup/.tape.hdr0
BR0355I from /dev/rmt0.1 ...
BR0241I Checking label on volume in device /dev/rmt0.1
BR0217W Lock period for volume GDVB01 in device /dev/rmt0.1 not expired
BR0218W Checking label on volume in device /dev/rmt0.1 failed
BR0212I Please check the volume or the device
BR0280I BRBACKUP time stamp: 2011-03-22 14.37.30
BR0256I Enter 'c[ont]' to continue, 's[top]' to cancel BRBACKUP:
BR0280I BRBACKUP time stamp: 2011-03-22 14.45.06
BR0257I Your reply: 'c'
BR0259I Program execution will be continued...
BR0280I BRBACKUP time stamp: 2011-03-22 14.45.06
BR0226I Rewinding tape volume in device /dev/rmt0 ...
BR0351I Restoring /oracle/GDV/sapbackup/.tape.hdr0
BR0355I from /dev/rmt0.1 ...
BR0241I Checking label on volume in device /dev/rmt0.1
BR0217W Lock period for volume GDVB01 in device /dev/rmt0.1 not expired
BR0218W Checking label on volume in device /dev/rmt0.1 failed
BR0212I Please check the volume or the device
BR0280I BRBACKUP time stamp: 2011-03-22 14.45.06
BR0256I Enter 'c[ont]' to continue, 's[top]' to cancel BRBACKUP:
BR0280I BRBACKUP time stamp: 2011-03-22 14.45.10
BR0257I Your reply: 's'
BR0260E BRBACKUP cancelled by user
BR0056I End of database backup: befmndrc.ant 2011-03-22 14.45.10
BR0280I BRBACKUP time stamp: 2011-03-22 14.45.10
BR0054I BRBACKUP terminated with errors -
Cannot Restore the The database backup in 2012
Restore of database 'LIBRARY' failed . (miscrosoft.sqlserver.management.relationalenginetasks)
additional information :-
the database was backedup on a server running version 8.00.0194. that version is incompatible with this server , which is running version 11.00.2100 ..
Please crack me out ..Hello,
You're attempting to restore a database that was backed up on SQL Server 2000, directly to a SQL Server 2012 instance. This is not supported.
You'll first need to restore the database backup to a 2005/2008/2008R2 instance, take a new backup, and restore that new backup to 2012. SQL Server 2000 is too old to do a direct migration to 2012.
-Sean
The views, opinions, and posts do not reflect those of my company and are solely my own. No warranty, service, or results are expressed or implied. -
SAP Production Systems Database backup failed
Dear Guru,
I have been facing a problem with our SAP Production system's oracle database backup for last three days. Our back up goes through TSM server. At night 10 pm we have schedule backup for whole offline + redo log backup, 11 pm check and update optimizer statistic and at 11:30 pm Check Database. For last three days above mentioned backup getting failed and we are not able to get such a details log by which i can understand the issue. But Our Development server and Quality server's backup which are scheduled at 12 am and 2 am, the both backup schedules finish successfully. And in morning all schedule backups of Production systems finish without any errors. The issues is coming only with Whole database backup + redo log Backup which schedule at night 10 pm. I have mentioned the log whatever i have got in below:
07.02.2012 07:30:06 Job started
07.02.2012 07:30:06 Job has exceeded its latest start date
07.02.2012 07:30:06 Job cancelled after system exception ERROR_MESSAGE
Above mentioned logs are showing 1day advance log where i have mentioned yesterdays log. That means it should shows 06.02.2012 instead of 07.02.2012 and time should be 22:00:00 instead of 07:20:06.
Our Oracle version is 10.2.0.4.0/ kernel release 701/BRBACKUP 7.00 (40)
Please Guide me.
Regards,
Samrat ChakrabortyOK,
this has nothing to do with brbackup or TSM.
You batchjob starts at 07:30 !!!
Means before that, you do not have any action at all.
Then the job crosschecks it has passed its intended startdate and terminates,
which is correct, since you do not like brbackup to shut down your DB at 07:30!
No brbackup is started at all, which is why you get no log and no tsm connect takes place.
I assume, you misconfigured some operationmodes and at 07:30 an OP-modeconfiguration
with batchjobs switches back in place so that the jobs do start too late.
Check RZ04 and the OP mode timetable
If it is not this, it has to be something else with the batch scheduler causing delay
or may be all BTC processes are busy, but this seems unlikely with a start at 07:30 sharp..
Volker -
Adapter Compatibility w/ MSSQL 2012 on TES 5.3.1
Hi There,
I was hoping if anyone has had success connecting their TES 5.3.1 master using the MSSql Adapter to MSSQL 2012. The DB Version must be specified when creating a new Connection Definition. Because this is required I receive the following error in the MSSqlService*.log file.
03/06 15:25:28:842[21:MD-12]: (mem=11367216/16711680) com.tidalsoft.service.logic.ServiceException: QA_SSSQL2_AGENT verifyVersion: version mismatch: connection version = SQL Server 2008, database version = 11
I am not surprised by this because I have specified 2008 when actually I am connecting to a 2012 instance.
Has anyone had success doing this? You help is greatly appreciated.
Thanks,
AndrewCisco logged this as a bug and a pending fix to be released.
http://tools.cisco.com/Support/BugToolKit/search/getBugDetails.do?method=fetchBugDetails&bugId=CSCug95611
Bug: CSCug95611
Request to support SQL Server 2012 with the 5.3.1 MSSQL adapter.
Symptom:
Request to support SQL Server 2012 with the 5.3.1 MSSQL adapter
Conditions:
CUrrently only support SQL Server 2005 and 2008
Workaround:
none -
Question
Background: When restoring Full + DIFF backups of a Change Data Capture (CDC) enabled database to a different SQL server, the CDC integrity is not being maintained. We did RESTORE the databases with the KEEP_CDC option.
How do I successfully restore the CDC enabled database backups (FULL + DIFF) while maintaining the CDC integrity?
Answer
When restoring a CDC enabled database on a different machine that is running SQL Server, besides using use the KEEP_CDC option to retain all the CDC metadata, you also need to add Capture and Cleanup jobs.
In addition, as you want to restore FULL + DIFF backups of a CDC enabled database, you need to note that the KEEP_CDC and NoRecovery options are incompatible. Use the KEEP_CDC option only when you are completing the recovery. I made a test to display
the whole process that how to restore the CDC enabled database backups (FULL + DIFF) on a different machine.
Create a database named ’CDCTest’ in SQL Server 2012, then enable the CDC feature and take full+ differential backups of the database.
-- Create database CDCTest
CREATE DATABASE [CDCTest] ON PRIMARY
( NAME = N'CDCTest ', FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\ CDCTest.mdf' , SIZE = 5120KB ,
MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB )
LOG ON
( NAME = N'CDCTest _log', FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\ CDCTest _log.LDF' , SIZE = 3840KB ,
MAXSIZE = 2048GB , FILEGROWTH = 10%)
GO
use CDCTest;
go
-- creating table
create table Customer
custID int constraint PK_Employee primary key Identity(1,1)
,custName varchar(20)
--Enabling CDC on CDCTest database
USE CDCTest
GO
EXEC sys.sp_cdc_enable_db
--Enabling CDC on Customer table
USE CDCTest
GO
EXEC sys.sp_cdc_enable_table
@source_schema = N'dbo',
@source_name = N'Customer',
@role_name = NULL
GO
--Inserting values in customer table
insert into Customer values('Mike'),('Linda')
-- Querying CDC table to get the changes
select * from cdc.dbo_customer_CT
--Taking full database backup
backup database CDCTest to disk = 'C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ CDCTest.bak'
insert into Customer values('David'),('Jane')
-- Querying CDC table to get the changes
select * from cdc.dbo_customer_CT
--Taking differential database backup
BACKUP DATABASE CDCTest TO DISK = 'C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ CDCTestdif.bak' WITH DIFFERENTIAL
GO
Restore Full backup of the ‘CDCTest’ database with using KEEP_CDC option in a different server that is running SQL Server 2014.
Use master
Go
--restore full database backup
restore database CDCTest from disk = 'C:\Program Files\Microsoft SQL Server\MSSQL12.SQL2014\MSSQL\Backup\CDCTest.bak' with keep_cdc
Restore Diff backup of the ‘CDCTest’ database.
Restore Database CDCTest From Disk = 'C:\Program Files\Microsoft SQL Server\MSSQL12.SQL2014\MSSQL\Backup\CDCTest.bak'
With Move 'CDCTest' To 'C:\Program Files\Microsoft SQL Server\MSSQL12.SQL2014\MSSQL\DATA\CDCTest.mdf',
Move 'CDCTest _log' To 'C:\Program Files\Microsoft SQL Server\MSSQL12.SQL2014\MSSQL\DATA\CDCTest _log.LDF',
Replace,
NoRecovery;
Go
--restore differential database backup
restore database CDCTest from disk = 'C:\Program Files\Microsoft SQL Server\MSSQL12.SQL2014\MSSQL\Backup\CDCTestdif.bak' with keep_cdc
Add the Capture and Cleanup jobs in the CDCTest database.
--add the Capture and Cleanup jobs
Use CDCTest
exec sys.sp_cdc_add_job 'capture'
GO
exec sys.sp_cdc_add_job 'cleanup'
GO
insert into Customer values('TEST'),('TEST1')
-- Querying CDC table to get the changes
select * from cdc.dbo_customer_CT
Reference
Track Data Changes (SQL Server)
Restoring a SQL Server database that uses Change Data Capture
Applies to
SQL Server 2014
SQL Server 2012
SQL Server 2008 R2
SQL Server 2008
Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.Question
Background: When restoring Full + DIFF backups of a Change Data Capture (CDC) enabled database to a different SQL server, the CDC integrity is not being maintained. We did RESTORE the databases with the KEEP_CDC option.
How do I successfully restore the CDC enabled database backups (FULL + DIFF) while maintaining the CDC integrity?
Answer
When restoring a CDC enabled database on a different machine that is running SQL Server, besides using use the KEEP_CDC option to retain all the CDC metadata, you also need to add Capture and Cleanup jobs.
In addition, as you want to restore FULL + DIFF backups of a CDC enabled database, you need to note that the KEEP_CDC and NoRecovery options are incompatible. Use the KEEP_CDC option only when you are completing the recovery. I made a test to display
the whole process that how to restore the CDC enabled database backups (FULL + DIFF) on a different machine.
Create a database named ’CDCTest’ in SQL Server 2012, then enable the CDC feature and take full+ differential backups of the database.
-- Create database CDCTest
CREATE DATABASE [CDCTest] ON PRIMARY
( NAME = N'CDCTest ', FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\ CDCTest.mdf' , SIZE = 5120KB ,
MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB )
LOG ON
( NAME = N'CDCTest _log', FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\ CDCTest _log.LDF' , SIZE = 3840KB ,
MAXSIZE = 2048GB , FILEGROWTH = 10%)
GO
use CDCTest;
go
-- creating table
create table Customer
custID int constraint PK_Employee primary key Identity(1,1)
,custName varchar(20)
--Enabling CDC on CDCTest database
USE CDCTest
GO
EXEC sys.sp_cdc_enable_db
--Enabling CDC on Customer table
USE CDCTest
GO
EXEC sys.sp_cdc_enable_table
@source_schema = N'dbo',
@source_name = N'Customer',
@role_name = NULL
GO
--Inserting values in customer table
insert into Customer values('Mike'),('Linda')
-- Querying CDC table to get the changes
select * from cdc.dbo_customer_CT
--Taking full database backup
backup database CDCTest to disk = 'C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ CDCTest.bak'
insert into Customer values('David'),('Jane')
-- Querying CDC table to get the changes
select * from cdc.dbo_customer_CT
--Taking differential database backup
BACKUP DATABASE CDCTest TO DISK = 'C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\ CDCTestdif.bak' WITH DIFFERENTIAL
GO
Restore Full backup of the ‘CDCTest’ database with using KEEP_CDC option in a different server that is running SQL Server 2014.
Use master
Go
--restore full database backup
restore database CDCTest from disk = 'C:\Program Files\Microsoft SQL Server\MSSQL12.SQL2014\MSSQL\Backup\CDCTest.bak' with keep_cdc
Restore Diff backup of the ‘CDCTest’ database.
Restore Database CDCTest From Disk = 'C:\Program Files\Microsoft SQL Server\MSSQL12.SQL2014\MSSQL\Backup\CDCTest.bak'
With Move 'CDCTest' To 'C:\Program Files\Microsoft SQL Server\MSSQL12.SQL2014\MSSQL\DATA\CDCTest.mdf',
Move 'CDCTest _log' To 'C:\Program Files\Microsoft SQL Server\MSSQL12.SQL2014\MSSQL\DATA\CDCTest _log.LDF',
Replace,
NoRecovery;
Go
--restore differential database backup
restore database CDCTest from disk = 'C:\Program Files\Microsoft SQL Server\MSSQL12.SQL2014\MSSQL\Backup\CDCTestdif.bak' with keep_cdc
Add the Capture and Cleanup jobs in the CDCTest database.
--add the Capture and Cleanup jobs
Use CDCTest
exec sys.sp_cdc_add_job 'capture'
GO
exec sys.sp_cdc_add_job 'cleanup'
GO
insert into Customer values('TEST'),('TEST1')
-- Querying CDC table to get the changes
select * from cdc.dbo_customer_CT
Reference
Track Data Changes (SQL Server)
Restoring a SQL Server database that uses Change Data Capture
Applies to
SQL Server 2014
SQL Server 2012
SQL Server 2008 R2
SQL Server 2008
Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.
Maybe you are looking for
-
Open new document in the same window as before..how to?
Dear all, I need to open a image document in a new browser window each time the user clicks on a particular button. The built-in I'm using is web.show_document('URL', '_blank'). But this opens a new browser window each time the button is clicked. The
-
Airport Express suddenly no longer works
I'm thinking from reading the boards that it may have something to do with the 6.3 update, but in case anyone else has any suggestions, I wanted to outline my new problem. Computer worked (wirelessly) absolutely fine this morning (G5 imac, Airport Ex
-
RFC Error in Webdynpro Abap...
Hi, Im Using one FM SRM_DOCUMENT_CHECKIN_VIA_FILE...Inside that Fm it is usng some RFC Connection..while debugging Im getting an internal error in the FM as 'RFC server sapftp cannot be started - 1: Program no longer started via RFC'... Can An
-
Hi, I encountered a problem while using generics. Here is the code that dont compile using javac (but does using eclipse compiler). public interface MyThing { public interface MyObject<S extends MyThing>{ public S getMyThing(); public class MyOb
-
Anyone Runnin iPod Classic on 10.3.9 ???
I've heard from people that the ipod classic isn't compatible with 10.3.9 and i've heard that it is compatible with 10.3.9. Apple's website says you need at least 10.4.8 to run it. Can someone help me out so i dont purchase tiger if i dont need it??