Performing backup of SQL via backup interface
Hello all,
First of all , let me tell you that i don't have much knowledge regarding SQL so, excuse me in advance for any stupid questions.
Here is my situation:
I have SQL 2005 Standolne server. On the server there are two interfaces(NICs) one is so called production(prod) and backup(bkp).
The PROD is for main communication and it's with assigned FQDN - XYZ. The other one is for backup traffic and it's with FQDN - XYZ-b. The IPs are , PROD - xxx.xxx.1.xxx, BKP - xxx.xxx.2.xxx
I'm using a HP Data Protector software , version 7.03, with latest patched installed on the backup software.
Unfortunately when i'm trying to create a backup(there are 3 ways for authentication - Integrated, Windows and SQL server) with the BKP interface i receive following error:
*RETVAL*8010
The user name which is used by the bkp software is added into the SQL server as admin, also it's with local admin from OS point of view.
So my question is , are there any way to perform backup via XYZ-B interface ?
Thank you in advance !!!
Hello,
Seems to be more a HP Data Protector issue, see
http://h30499.www3.hp.com/t5/Data-Protector-Support-and-News/Integration-cannot-be-configured-error-on-HP-data-protector/td-p/5961279#.U89zyGeKD5w
Olaf Helper
[ Blog] [ Xing] [ MVP]
Similar Messages
-
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 -
SQL LOG Backup failed in one Cluster Node
I have 02 node SQL fail over cluster, NOD01 and NODE 02. and configure SQL log backup job via SQL Logshipping
When the sql service is mounted to node 02 job backup will work without any issues, Once its connected to node 01 this will provide below issue
Executed as user: <domain>\administrator. The process could not be created for step 1 of job 0xAC90A0F3623AE44285089E9EF53B12C7 (reason: The system cannot find the file specified). The step failed.
could anyone have on fix for this
ThanxSQL Server Agent on both nodes run under same domain account?
Are you sure that path location is correct?
Best Regards,Uri Dimant SQL Server MVP,
http://sqlblog.com/blogs/uri_dimant/
MS SQL optimization: MS SQL Development and Optimization
MS SQL Consulting:
Large scale of database and data cleansing
Remote DBA Services:
Improves MS SQL Database Performance
SQL Server Integration Services:
Business Intelligence -
I was trying to sync my latest photos from iphone onto iphoto but pressed "restore" instead of "sync". Now it's erased my latest photos taken on my iphone a week ago and erased music saved in itunes library. Is there a way to find these photos and music via backup?
Thanks so much Meg. Unfortunately, iTunes is the program I use to perform syncing. I don't really have other outside options. It is also the location of the backup I would use to restore my phone, and my only way to reclaim important data. I am concerned that, since the last backup occurred when the "other" bar was only moderately huge (around 29G I think), that a backup would replicate the problem back onto my phone.
My contacts, etc. are all in address book and the calendar app on my Mac. As far as I know, iTunes is the way to get them back, but iTunes is where the problem is.
Any thoughts on this? -
DPM 2012 R2 Hyper-V backup of SQL server VM
Hello!
I have a question about using DPM 2012 R2 in Hyper-V 2012 R2 cluster and backing up Windows 2003 VM, that has SQL 2008 installed.
When i use VM, host level backup with DPM2012 R2, would it trigger a full DB backup on SQL server or not?
Problem is, that we are using SQL (maintanance plans) for backing up databases and doing transaction logs backup.
I want to back up the whole VM, but i want to be sure, that this would not mess up SQL backup inside the VM?
Is it possible, that i wont install DPM agent inside the SQL server VM? But can i then still restore files from the VHD/X or only entire VM?Hi,
Apply the following registry entry in the GUEST virtual machine so application logs are not truncated by host level backups.
Location: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Virtualization\VssRequestor
Name: BackupType
Type: REG_DWORD
Value: 1
If this registry entry is created and its value is set to 1 , application backup will not be affected by the virtual machine backup operation on the server that is running Hyper-V. If this registry entry does not exist, or if its value is 0 , then host level
backups will truncate logs in the guest.
Yes - you can perform item level recovery for files inside the .vhd by double-clicking the .vhd while browsing to restore the VM. That will mound the .vhd and allow you to copy files out without having to restore the entire .vhd file.
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. Regards, Mike J. [MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights. -
Backups/Archivelogs triggered via DB13 hitting errors at TSM(Tivoli) level.
We are encountering problem with our redolog/online backups that are triggered
via DB13 whereby we will
receive this error message in the logs before a failure message:
BKI5014E: Tivoli Storage Manager Error:
ANS1087E (RC106) Access to the specified file or directory is denied
We have checked with the OS side and it seems that the permissions for
all the accesses are fine. However, when we tried to manually enter the
BRARCHIVE/BRBACKUP command in the OS (AIX) the thing seems to work fine. Although we can trigger it manually in the OS, but we cannot track it through
DB13, or even schedule it, as it will continue to hit the said access error.
Thanks.Dear Kelvin,
Please reply whether you were able to solve the issue of scheduling a backup from DB13 in SAP?
We are also facing the same issue, we are able to take the backup from BRTOOLS in TSM.
We tried changing the permissions of BRTOOLS utilities from /sapmnt/SID/exe path. Even then the backup fails with the same message, please find below the logs.
BR0280I BRBACKUP time stamp: 2010-08-28 19.23.45
BR0315I 'Alter database begin backup' successful
BR0280I BRBACKUP time stamp: 2010-08-28 19.23.45
BR0229I Calling backup utility with function 'backup'...
BR0278I Command output of '/usr/sap/BSM/SYS/exe/run/backint -u BSM -f backup -i /oracle/BSM/sapbackup/.bedzpjrz.lst -t file -p /oracle/BSM/102_64/dbs/initBSM.utl -c':
Data Protection for SAP(R)
Interface between BR*Tools and Tivoli Storage Manager
- Version 6, Release 1, Modification 0.0 for AIX LF 64-bit -
Build: 358 compiled on Nov 4 2008
(c) Copyright IBM Corporation, 1996, 2008, All Rights Reserved.
BKI5014E: Tivoli Storage Manager Error:
ANS1087E (RC106) Access to the specified file or directory is denied
BKI0020I: End of program at: Sat Aug 28 19:23:45 GMT06:00 2010 .+
BKI0021I: Elapsed time: 00 sec .
BKI0024I: Return code is: 2.
BR0280I BRBACKUP time stamp: 2010-08-28 19.23.45
BR0279E Return code from '/usr/sap/BSM/SYS/exe/run/backint -u BSM -f backup -i /oracle/BSM/sapbackup/.bedzpjrz.lst -t file -p /oracle/BSM/102_64/dbs/initBSM.utl -c': 2
BR0232E 0 of 32 files saved by backup utility
BR0280I BRBACKUP time stamp: 2010-08-28 19.23.45
BR0231E Backup utility call failed
BR0280I BRBACKUP time stamp: 2010-08-28 19.23.48
BR0317I 'Alter database end backup' successful
BR0056I End of database backup: bedzpjrz.anf 2010-08-28 19.23.45
BR0280I BRBACKUP time stamp: 2010-08-28 19.23.48
BR0054I BRBACKUP terminated with errors
BR0280I BRBACKUP time stamp: 2010-08-28 19.23.48
BR0291I BRARCHIVE will be started with options '-U -jid ALLOG20100828192343 -d util_file -c force -p initBSM.sap -cds'
BR0280I BRBACKUP time stamp: 2010-08-28 19.23.49
BR0292I Execution of BRARCHIVE finished with return code 5
file permissions for BRTOOLS files,
SAPSOLMAN:bsmadm 2> cd /sapmnt/BSM/exe
SAPSOLMAN:bsmadm 3> ls -ltr br*
-rwsrwxr-x 1 orabsm dba 2132759 Feb 21 2009 brrestore
-rwsrwxr-x 1 orabsm dba 2785581 Feb 23 2009 brtools
-rwsrwxr-x 1 orabsm dba 5074068 Feb 25 2009 brarchive
-rwsrwxr-x 1 orabsm dba 6786275 Feb 25 2009 brconnect
-rwsrwxr-x 1 orabsm dba 5202913 Feb 25 2009 brbackup
-rwsrwxr-x 1 orabsm dba 5670503 Feb 25 2009 brrecover
-rwsrwxr-x 1 orabsm dba 6996331 Feb 25 2009 brspace
SAPSOLMAN:bsmadm 4>
Please help us in solving this error.
Thank you
Regards,
Vineeth
Edited by: Vineeth Damodar on Aug 30, 2010 1:09 PM -
Hi all,
How can i initiate the online backup for SQL database.
and please provide me the sql commands for sql backup.
Thanks in advance.
vinnu.You can schedule the backup via the SQL Server gui.
right click the DB name and select backup from the resulting list.
run though and tick the boxes, set the timings and days. Save.
Then to see the SQL goto the SQL agent, job, and open the job you saved above.
Look in/at the steps.
This will give you the code.
However sample code is below
--This Transact-SQL script creates a backup job and calls sp_start_job to run the job.
-- Create job.
-- You may specify an e-mail address, commented below, and/or pager, etc.
-- For more details about this option or others, see SQL Server Books Online.
USE msdb
EXEC sp_add_job @job_name = 'myTestBackupJob',
@enabled = 1,
@description = 'myTestBackupJob',
@owner_login_name = 'sa',
@notify_level_eventlog = 2,
@notify_level_email = 2,
@notify_level_netsend =2,
@notify_level_page = 2
-- @notify_email_operator_name = 'email name'
go
-- Add job step (backup data).
USE msdb
EXEC sp_add_jobstep @job_name = 'myTestBackupJob',
@step_name = 'Backup msdb Data',
@subsystem = 'TSQL',
@command = 'BACKUP DATABASE msdb TO DISK = ''c:\msdb.dat_bak''',
@on_success_action = 3,
@retry_attempts = 5,
@retry_interval = 5
go
-- Add job step (backup log).
USE msdb
EXEC sp_add_jobstep @job_name = 'myTestBackupJob',
@step_name = 'Backup msdb Log',
@subsystem = 'TSQL',
@command = 'BACKUP LOG msdb TO DISK = ''c:\msdb.log_bak''',
@on_success_action = 1,
@retry_attempts = 5,
@retry_interval = 5
go
-- Add the target servers.
USE msdb
EXEC sp_add_jobserver @job_name = 'myTestBackupJob', @server_name = N'(local)'
-- Run job. Starts the job immediately.
USE msdb
EXEC sp_start_job @job_name = 'myTestBackupJob' -
User did an append when doing a backup of SQL now trying to do a restore
User did a backup of SQL doing an append now getting the message:
The media set has 2 media families.....
The directory of the first media set was copied to an external drive. The system was then wiped to load Win7 what can be done to restore the files?
Bonnie WhalonHello,
The command I use was:
restore filelistonly FROM DISK = N'C:\Freedom Ente\Client Data Backup\Sewickley-fsc-backup-20140403'
The error message
Msg 3201, Level 16, State 2, Line 1
Cannot open backup device 'C:\Freedom Ente\Client Data Backup\Sewickley-fsc-backup-20140403'. Operating system error 5(Access is denied.).Msg 3013, Level 16, State 1, Line 1RESTORE FILELIST is terminating abnormally.
I gave myself full rights to the directory.
Bonnie Whalon -
DPM Express Full Backups Causing SQL timeouts
Hi,
We run a SQL 2008 R2 failover cluster on Server 2008 R2 SP1 connected to an Equallogic SAN. The SQL failover cluster is fully servicepacked and installed the latest cumulative updates.
We have all our databases in full recovery mode and protected by DPM 2012 SP1 with latest cumulative updates.
The protection groups for SQL are configured to synchronise every 60mins and 1 express full backup every night. Every time the SQL express backups run the SQL server experiences timouts and end users report applications timing out. In the SQL server Application
logs I see Event ID 833 numerous times, these only occur as the express full backups take place. Every time the express full backups run we see the same timeouts and event logged that I/O has taken longer than 15 seconds to complete:
Log Name: Application
Source: MSSQLSERVER
Date: 01/04/2014 04:10:10
Event ID: 833
Task Category: Server
Level: Information
Keywords: Classic
User: N/A
Computer: WDCSQL02.local
Description:
SQL Server has encountered 1 occurrence(s) of I/O requests taking longer than 15 seconds to complete on file [D:\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\MSDBLog.ldf] in database [msdb] (4). The OS file handle is 0x00000000000008F8. The offset
of the latest long I/O is: 0x000000042eae00
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="MSSQLSERVER" />
<EventID Qualifiers="16384">833</EventID>
<Level>4</Level>
<Task>2</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2014-04-01T03:10:10.000000000Z" />
<EventRecordID>14165629</EventRecordID>
<Channel>Application</Channel>
<Computer>WDCSQL02.local</Computer>
<Security />
</System>
<EventData>
<Data>1</Data>
<Data>15</Data>
<Data>D:\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\MSDBLog.ldf</Data>
<Data>msdb</Data>
<Data>4</Data>
<Data>00000000000008F8</Data>
<Data>0x000000042eae00</Data>
<Binary>410300000A0000000600000055004B00530051004C00000000000000</Binary>
</EventData>
</Event>
I was under the impression that DPM SQL backups would remain online during the backup.
Is this normal?
Any way to fix this issue?
Thanks,
Microsoft PartnerHi
A copy backup will not truncate the logs but a full backup will and it will also stamp the database once it does a full backup. -
whats the best way to transfer everything from my old macbook pro to a new mac mini, i have a external hard drive which i backup to regularly via time capsule
Check out > OS X Lion: How to use Migration Assistant to transfer files from another Mac
-
Hello all,
not sure if I'm on the right thread but if not please do point me to the correct one.
basically I have a script that run every end of the month to do a backup of a database (Detach, Mount a new, and move the database to a new
location) bu since this month this is coming back with an error when running it. as far as i know nothing has changed since two or three months ago but this is not longer working.
Assistance is really needed. here.
Here is my code but this is now coming back with
Msg 5105, Level 16, State 4, Server PRITL1, Line 1
Device activation error. The physical file name
'E:\SQL\MSSQL\Data\Syslogd.mdf' may be incorrect.
@echo off
rem ***************************************************
rem * This script automates the Syslog Backup process *
rem ***************************************************
echo 192.168.0.9 > report.txt
date /t >> report.txt
time /t >> report.txt
blat report.txt -to [email protected] -f [email protected] -subject "Queen - Starting Syslog DB Maintenance" -server 192.168.0.26
echo ******************************************* >> report.txt
echo * Stopping the Kiwi Syslog Daemon Service * >> report.txt
echo ******************************************* >> report.txt
net stop "Kiwi Syslog Daemon"
for /F "tokens=3 delims=: " %%A in ('sc query "Kiwi Syslog Daemon" ^| findstr " STATE"') do (
if /I "%%A" NEQ "RUNNING" (
echo Stopping the Kiwi Syslog Daemon Service succeeded >> report.txt
echo. >> report.txt
) else (
echo -----!!! Stopping the Kiwi Syslog Daemon Service failed !!!----- >> report.txt
blat report.txt -to [email protected] -f [email protected] -subject "Queen - Syslog DB Maintenance Report" -server 192.168.0.26
exit
echo ********************************** >> report.txt
echo * Detaching the Syslogd database * >> report.txt
echo ********************************** >> report.txt
ping 127.0.0.1
ping 127.0.0.1
osql -E -b -Q "master..sp_detach_db 'Syslogd'" >> report.txt
set ReturnCode=%errorlevel%
if %ReturnCode% equ 0 (
echo Detaching the Syslogd database succeeded >> report.txt
echo. >> report.txt
) else (
echo. >> report.txt
echo -----!!! Detaching the Syslogd database failed !!!----- >> report.txt
echo. >> report.txt
echo ********************************************* >> report.txt
echo * Restarting the Kiwi Syslog Daemon service * >> report.txt
echo ********************************************* >> report.txt
net start "Kiwi Syslog Daemon"
for /F "tokens=3 delims=: " %%A in ('sc query "Kiwi Syslog Daemon" ^| findstr " STATE"') do (
if /I "%%A" NEQ "STOPPED" (
echo Restarting the Kiwi Syslog Daemon Service succeeded >> report.txt
blat report.txt -to [email protected] -f [email protected] -subject "Queen - Syslog DB Maintenance Report" -server 192.168.0.26
exit
) else (
echo -----!!! Restarting the Kiwi Syslog Daemon Service failed !!!----- >> report.txt
blat report.txt -to [email protected] -f [email protected] -subject "Queen - Syslog DB Maintenance Report" -server 192.168.0.26
exit
echo *************************************************** >> report.txt
echo * Moving the Syslogd database to the _Burn folder * >> report.txt
echo *************************************************** >> report.txt
Move E:\SQL\MSSQL\Data\Syslogd*.* \\server\Syslogs2\_Burn\
set ReturnCode=%errorlevel%
if %ReturnCode% equ 0 (
echo Moving the Syslogd database to the _Burn folder succeeded >> report.txt
echo. >> report.txt
) else (
echo -----!!! Moving the Syslogd database to the _Burn folder failed !!!----- >> report.txt
echo ************************************ >> report.txt
echo * Reattaching the Syslogd database * >> report.txt
echo ************************************ >> report.txt
osql -E -b -Q "master..sp_attach_db 'Syslogd','E:\SQL\MSSQL\Data\Syslogd.mdf','E:\SQL\MSSQL\Data\Syslogd_log.ldf'" >> report.txt
echo. >> report.txt
echo ********************************************* >> report.txt
echo * Restarting the Kiwi Syslog Daemon service * >> report.txt
echo ********************************************* >> report.txt
net start "Kiwi Syslog Daemon"
for /F "tokens=3 delims=: " %%A in ('sc query "Kiwi Syslog Daemon" ^| findstr " STATE"') do (
if /I "%%A" NEQ "STOPPED" (
echo Restarting the Kiwi Syslog Daemon Service succeeded >> report.txt
blat report.txt -to [email protected] -f [email protected] -subject "Queen - Syslog DB Maintenance Report" -server 192.168.0.26
exit
) else (
echo -----!!! Restarting the Kiwi Syslog Daemon Service failed !!!----- >> report.txt
blat report.txt -to [email protected] -f [email protected] -subject "Queen - Syslog DB Maintenance Report" -server 192.168.0.26
exit
echo **************************************** >> report.txt
echo * Restoring the blank Syslogd database * >> report.txt
echo **************************************** >> report.txt
osql -E -b -Q "Restore Database Syslogd from disk = 'E:\SQL\MSSQL\Backup\SyslogD_Blank.bak'" >> report.txt
set ReturnCode=%errorlevel%
if %ReturnCode% equ 0 (
echo Restoring the blank Syslogd database succeeded >> report.txt
echo. >> report.txt
) else (
echo. >> report.txt
echo -----!!! Restoring the blank Syslogd database failed !!!----- >> report.txt
echo ************************************ >> report.txt
echo * Moving back the Syslogd database * >> report.txt
echo ************************************ >> report.txt
Move \\server\Syslogs2\_Burn\Syslogd*.* E:\SQL\MSSQL\Data
echo ************************************ >> report.txt
echo * Reattaching the Syslogd database * >> report.txt
echo ************************************ >> report.txt
osql -E -b -Q "master..sp_attach_db 'Syslogd','E:\SQL\MSSQL\Data\Syslogd.mdf','E:\SQL\MSSQL\Data\Syslogd_log.ldf'" >> report.txt
echo. >> report.txt
echo ********************************************* >> report.txt
echo * Restarting the Kiwi Syslog Daemon service * >> report.txt
echo ********************************************* >> report.txt
net start "Kiwi Syslog Daemon"
for /F "tokens=3 delims=: " %%A in ('sc query "Kiwi Syslog Daemon" ^| findstr " STATE"') do (
if /I "%%A" NEQ "STOPPED" (
echo Restarting the Kiwi Syslog Daemon Service succeeded >> report.txt
blat report.txt -to [email protected] -f [email protected] -subject "Queen - Syslog DB Maintenance Report" -server 192.168.0.26
exit
) else (
echo -----!!! Restarting the Kiwi Syslog Daemon Service failed !!!----- >> report.txt
blat report.txt -to [email protected] -f [email protected] -subject "Queen - Syslog DB Maintenance Report" -server 192.168.0.26
exit
echo ******************************************* >> report.txt
echo * Starting the Kiwi Syslog Daemon service * >> report.txt
echo ******************************************* >> report.txt
net start "Kiwi Syslog Daemon"
for /F "tokens=3 delims=: " %%A in ('sc query "Kiwi Syslog Daemon" ^| findstr " STATE"') do (
if /I "%%A" NEQ "STOPPED" (
echo Starting the Kiwi Syslog Daemon Service succeeded >> report.txt
) else (
echo -----!!! Starting the Kiwi Syslog Daemon Service failed !!!----- >> report.txt
blat report.txt -to [email protected] -f [email protected] -subject "Queen - Syslog DB Maintenance Report" -server 192.168.0.26
exit
echo ************************************** >> report.txt
echo * Compressing the Syslog backup file * >> report.txt
echo ************************************** >> report.txt
"C:\program files\winrar\rar.exe" M -df -ep -ag -m5 \\server\Syslogs2\_Burn\PR-Syslog \\server\Syslogs2\_Burn\syslogd*.* >> report.txt
echo. >> report.txt
set ReturnCode=%errorlevel%
if %ReturnCode% equ 0 (
echo Compressing the Syslog backup file succeeded >> report.txt
echo. >> report.txt
) else (
echo -----!!! Compressing the Syslog backup file failed !!!----- >> report.txt
blat report.txt -to [email protected] -f [email protected] -subject "Queen - Syslog DB Maintenance Report" -server 192.168.0.26
exit
echo **************************** >> report.txt
echo * Completed * >> report.txt
echo * Ready for burning! * >> report.txt
echo * Check Archived files on * >> report.txt
echo * \\\server\Syslogs2 * >> report.txt
echo *************************** >> report.txt
echo. >> report.txt
date /t >> report.txt
time /t >> report.txt
blat report.txt -to [email protected] -f [email protected] -subject "Queen - Syslog DB Maintenance Report - Ready to Burn" -server 192.168.0.26Bill thanks for that,
this is actually an SQL express edition and not a full SQL server.
Environment:
Databases will be detached, copied to from E:\SQL\MSSQL\Data\ to a shared location and then mount black database foles .MDF
and .LDF files to the SQL express and then restart the kiwi syslog applications.
why not powershell? well I've inherited this and machine is a 2003 server and we do not install PS on all machines except
if they are needed.
SQLServer Express comes with tools to backup the database. Post is SQLServer forum to learn how to set up and use SQLExpress tools.
SQLExpress has support in PowerShell for managing the server.
Here si on emethod posted by Microsoft that is useful. Methods using the scheduler and other tools are available.
http://support.microsoft.com/kb/2019698
¯\_(ツ)_/¯ -
How to create backup using sql commands
can i create a backup using sql/sqlplus commands
I would actually advice you to use RMAN, instead of backup using sql commands, but if you want or have a requirment to do so..
First off all you should ensire that your databasse is in archilog mode.. (ALL PRODUCTION DATABASES should be in archivelog mode)
you can do it using sql*plus
archive log list
Then if you would like to make a cold backup (the only one posible in noarchivelog mode)
ypu have to
shutdown immediate
copy all database files (you don't need to copy redo logs) to another device
startup - to startup database
Actually I will suggest that your read User manager Recovery guide from oracle documentation
tahiti.oracle.com
Best Regards
Krystian Zieja / mob -
How to find sql server backup was taken under compression mode
Hello,
How to find SQL server backup was taken under compression mode ? I have disabled the Compress Mode backup setting but I want to make sure the backup is taken without compression.
Is there a script for that?
Thanks
JKI have disabled the Compress Mode backup
That is only a default setting, in backup command you can always overwrite it to a different value.
Olaf Helper
[ Blog] [ Xing] [ MVP] -
Problem: VSS error with 'SQL Server Backup to Windows Azure Tool' installed
When 'SQL Server Backup to Windows Azure Tool' is installed, shadow copies cannot be enable and backups fail. When attempting to enable shadow copies, we get a "volsnap" error: "The shadow copies of volume X were aborted because
of a failed free space computation". After uninstalling the "Tool", VSS works. Reinstalling "Tool" causes the problem to return.
While the error suggests a space issue, there is plenty of space on the server's two volumes. Additionally, another 100GB volume was added and VSS storage was allocated to it; still received the error.
Issue seems to point to 'SQL Server Backup to Windows Azure Tool'.
Environment: Hyper-V guest: "Windows Server 2012 R2 Standard" with "SQL Server 2008 R2 Standard". Using "Azure Storage" for SQL backups.
Suggestions?Hello,
Yes, we have a confirmed interference between the tool and the VSS Framework. This was identified very recently and is under investigation by the product group. Since the issue is within the filter driver shipped by the tool, that unfortunately means that
you currently need to choose between the tool and a working VSS Framework. If the latter is more important, then uninstall the tool (that will require a restart).
We apolologize for the inconvenience. I'm going to try to get the home page of the tool updated to avoid other situations like yours. Hopefully we should see a new version of the tool soon.
As a side note, recent versions of SQL Server can directly use Azure Storage as backup target, see
http://msdn.microsoft.com/en-us/library/jj919148(v=sql.110).aspx.
Regards,
Guillaume Fourrat - Microsoft France -
How to restore the Password backup in sql server 2005
How to restore the Password backup in sql server 2005
Hello,
THANKS............ BUT
I executed this query
RESTORE DATABASE new_data1
FROM DISK = 'd:\UK_DETAILS.bak'
with password ='selfinity123'
WITH MOVE 'UK_DETAILS.bak' TO 'D:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\new_data1.mdf',
MOVE 'UK_DETAILS.bak' TO 'D:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\new_data1.ldf'
I got the error
Msg 319, Level 15, State 1, Line 4
Incorrect syntax near the keyword 'with'. If this statement is a common table expression or an xmlnamespaces clause, the previous statement must be terminated with a semicolon.
Maybe you are looking for
-
Apple TV not syncing with iTunes for purchased movies
Hi, I purchased two movies on iTunes and neither one is syncing with my Apple TV. All music is syncing perfectly fine. The Apple TV is set to Custom Sync. On the movies tab of the Apple TV device in iTunes I have selected sync all movies since the tw
-
How to change managed path of a site collection (without backup/restore)?
Hi Other than backup/restore a site collection to another site collection with different managed path, is there is any other way to change the managed path of a site collection directly using Powershell or Central Admin?
-
IDVD glitch after burn.
17.3 gb h.264 masterfile. No problems in the master file. Just a simple menu, does have song in menu. Encoded into professional quality to DVD-5. Burn speed I have tried from maximum all the way to 1. The DVD is fine for a while , then it glitches or
-
Hello, I'm trying to import an IDOC by RFC with a RFC user with few permissions. The Idoc stills with error in SM58 transaction with message "You're not authorized to send IDOCs of message type ORDRSP"... If a press F6 to "in theory" reprocess the me
-
Very Urgent!! Static LOV with Sort by Option with column names
Hi All, Can we have am Static LOV with an order by option according to the column names in an Report.. If so can you share with me, waiting for your reply and thanks in Advance.. Select name, creator, date_created, NVL(Comp_type,Del_TYPE) FORMAT, fro