Database backup
Hi,
I am relatively new to Oracle Database... So, I am trying to backup my database from the Enterprise Manager... When I want to Schedule or Set up my backup I have to input "operating system login credentials to access the target database"...
As I understood, this is an OS account which I use to connect to my local computer. But everytime I input my account and my password it sais:
"Error - Connection to host as user cristina failed: ERROR: Wrong password for user" ... I am sure I'm using the wright password... but am I using the wright account?
I tried to set the account up in "Database Preferred Credentials" in "Host username" and "Host Password" fields but when I test them it gives me the same error message...
I really need a backup... so if you could help me... or have other ideas for getting a safe backup...
thank you!
Best regards,
Cristina
I have just seen the same problem posted a few threads down...
And the solution...
1. Control Panel, Administrative Tools.
2. Click on Local Security Policy.
3. Local Policies, User Rights Assignment.
4. Double click, 'Log on as a batch job'. give username value as DOMAIN_NAME\<user_name>
Thanks to Mohammed Nazim ! :)
Cristina
Similar Messages
-
DBACockpit Configuration - Remote Database backup of Java Stack.
Hi All,
I am configuring remote database backup of my SAP Java stack system.
I have successfully connected the system in dbacockpit. I have gateway installed also on the remote host system. but Database scheduling on DB13 failed.
On the OS of CEN system, I can connect to the host system of the remote using the OPS$ logon and i.e
sqlplus /@SID as sysdba - (It connected, to confirm i querried the v$instance I was also able to shutdown the remote system)
E:\>sqlplus /@SID as sysdba
SQL*Plus: Release 10.2.0.4.0 - Production on Wed May 18 15:37:46 2011
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
But when I ran the brtools to perform the backup I got this error.
"BR0301W SQL error -12560 at location BrDbConnect-2, SQL statement:Hi Niyi,
This is a TNS error. The system is not able to connect TNS by using br*tools.
Firstly, check your environment variables. They should be as same as java system environmnt variables.
Secondly, check the link below;
[BR0301W SQL error -1017;
You need to create a synonym and SAPUSER table for the gateway installation <sid>adm user on Java database. By doing so, br*tools will be able to connect to the java database.
Best regards,
Orkun Gedik -
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 -
Need some suggestion doing database backup
Hi All,
I am working on the 11gR2 RAC oracle database and below are the details.
SQL>select * from gv$version;
INST_ID BANNER
2 Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
2 PL/SQL Release 11.2.0.1.0 - Production
2 CORE 11.2.0.1.0 Production
2 TNS for Linux: Version 11.2.0.1.0 - Production
2 NLSRTL Version 11.2.0.1.0 - Production
1 Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
1 PL/SQL Release 11.2.0.1.0 - Production
1 CORE 11.2.0.1.0 Production
1 TNS for Linux: Version 11.2.0.1.0 - Production
1 NLSRTL Version 11.2.0.1.0 - Production
3 Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
3 PL/SQL Release 11.2.0.1.0 - Production
3 CORE 11.2.0.1.0 Production
3 TNS for Linux: Version 11.2.0.1.0 - Production
3 NLSRTL Version 11.2.0.1.0 - Production
ps -ef|grep pmonoracle 11077 11067 0 10:37 pts/0 00:00:00 grep pmon
oracle 12383 1 0 2011 ? 00:16:18 ora_pmon_cc2crt2
oracle 12432 1 0 2011 ? 00:07:43 ora_pmon_cc3crt2
oracle 12437 1 0 2011 ? 00:07:11 ora_pmon_cc4crt2
oracle 12814 1 0 2011 ? 00:06:01 ora_pmon_ccoreqal2
oracle 12816 1 0 2011 ? 00:05:50 ora_pmon_ccorecrt2
I have 5 databases in these three severs and having around 20 GB of size except one database. The size of the this database (ccoreqal2) is 7.5 TB. I have took the full database backup using expdp for all DB's except the BIG size DB. i am not able to use the expdp because of the size. Which way is best to do the backup for this big size DB.
The purpose of taking the backup is, we are upgrading our oracle to 11.2.0.3 and We don't have any regular backups (RMAN or EXPORT) on these databases. these are QA databases.
Please let me know, how i need to prepare for this DB backup.
Thanks in advance for your help.>
i am not able to use the expdp because of the size
>
Why not? You can have expdp create multiple files on export so that each file is no larger than the size you specify. This makes it easier to manage large exports.
Using multiple files and a parallel export will handle this for you.
See the DUMPFILE section of the database utilities doc - http://docs.oracle.com/cd/B19306_01/server.102/b14215/dp_export.htm
It has this example of file splitting using PARALLEL
>
Example
The following is an example of using the DUMPFILE parameter:
expdp hr/hr SCHEMAS=hr DIRECTORY=dpump_dir1 DUMPFILE=dpump_dir2:exp1.dmp,exp2%U.dmp PARALLEL=3
The dump file, exp1.dmp, will be written to the path associated with the directory object dpump_dir2 because dpump_dir2 was specified as part of the dump file name, and therefore overrides the directory object specified with the DIRECTORY parameter. Because all three parallel processes will be given work to perform during this job, the exp201.dmp and exp202.dmp dump files will be created and they will be written to the path associated with the directory object, dpump_dir1, that was specified with the DIRECTORY parameter. -
Help! How to restore LR 1.1 database backup
I run LR 1.1 under Windows XP. I have LR 1.1 setup to backup the database to an external hard drive. Once a week it prompts me to backup the database, which I do. In the middle of importing some raw files from a CF card, I received a message that my catalog was corrupt. My understanding is that I need to remove the LR Catalog file from the LR directory in My Pictures folder and replace it with the backup catalog. On the external hard drive where I have been backing up LR, I opened a directory called R:\Lightroom Database Backup\2007-08-22 0900, which I assume is where my latest backup is. Inside this directory is a 251,560 KB file called Lightroo. That is correct, Lightroo with no "m". Is this suppose to be the backup LR catalog file? If so, after dragging it into the LR folder, and then CTRL click load LR, when I try to specify this Lightroo file, but LR does not recognize it.
I am lost. How do I use the database backup that I have been regularly creating on my external hard drive to correct the corrupt catalog message I get when loading LR?The backup file is not called Lightroo unless that is what you named it for some reason. The default backup files have the same name as your working database file whatever that is - XXXXXXX.lrcat. The backup folder you listed looks ok. When you setup the backup procedure on the external hard drive, did you look to make sure that LR was actually putting a copy of your database file where you intended and that it was named properly. Maybe you can simply change the file name from Lightroo to Lightroom.lrcat LR does not care what you name the database file as long as it has the proper extension, lrcat.
It would also be a good idea to check exactly where LR is putting your backup files. I believe there is a Browse button you can click to open a dialog and see where LR is currently putting them.
You don't necessarily have to replace your corrupt file with a backup file to test the backup. You can point LR at any functional database file and it will open it wherever it is. So you can test your backups using the File/Open Catalog command. Once you are sure you have a working file, simply move the backup it to the location where you want it stored and point LR to that location in the future. -
Need a Script to check Database backup chain for revovery
Dear All,
any having a handy script to check database backup chain ,
Database A --> Full backup -- Diff -- log1 --Log 2 ...... and scan through the files to validate if we can recover the database using the avaiable backups.
Regards
Sufian
Mohd Sufian www.sqlship.wordpress.com Please mark the post as Answered if it helped.You can use below TSQL
set nocount on
go
if exists ( select name from tempdb..sysobjects where name like '#DatabasesBackupsStatus%')
drop table #DatabasesBackupsStatus
GO
create table #DatabasesBackupsStatus
ServerName varchar(100) null,
DBName varchar(100) null,
RecoveryModel varchar(100) null,
LastFullbackup datetime null,
days_since_Lastfullbackup int null,
days_since_Lastdiffbackup int null,
HOURS_since_LastLogbackup int,
DBStatus varchar (100) null,
FullBackupLocation varchar(1000) null,
MEDIASET INT,
JobOwner varchar(100) null
Go
insert into #DatabasesBackupsStatus(ServerName,DBName)
select convert(varchar,serverproperty('ServerName')),a.name
from master.dbo.sysdatabases a
where a.name <> 'tempdb'
update #DatabasesBackupsStatus
set LastFullbackup=b.backup_start_date,
days_since_Lastfullbackup=datediff(dd,b.backup_start_date,getdate()),
MEDIASET=b.media_set_id
from #DatabasesBackupsStatus a,(select database_name,MAX(media_set_id)media_set_id,max(backup_start_date) backup_start_date
from msdb..backupset where type='D' group by database_name)b
where a.DBName=b.database_name
update #DatabasesBackupsStatus
set RecoveryModel=convert(sysname,DatabasePropertyEx(DBName,'Recovery'))
update #DatabasesBackupsStatus
set DBStatus=convert(sysname,DatabasePropertyEx(DBName,'Status'))
update d
set d.FullBackupLocation=b.physical_device_name
from #DatabasesBackupsStatus d , msdb..backupmediafamily b
where d.MEDIASET =b.media_set_id
update d
set d.days_since_Lastdiffbackup=datediff(dd,b.backup_finish_date,getdate())
from #DatabasesBackupsStatus d , (select database_name,max(backup_finish_date) backup_finish_date
from msdb..backupset where type ='I' group by database_name) b
where d.DBName = b.database_name
update d
set d.JobOwner=b.[user_name]
from #DatabasesBackupsStatus d , msdb..backupset b
where d.MEDIASET = b.media_set_id
update d
set d.HOURS_since_LastLogbackup=datediff(hh,b.backup_finish_date,getdate())
from #DatabasesBackupsStatus d , (select database_name,max(backup_finish_date) backup_finish_date
from msdb..backupset where type ='L' group by database_name) b
where d.DBName = b.database_name
AND d.RecoveryModel != 'SIMPLE'
Go
select * from #DatabasesBackupsStatus
Go
drop table #DatabasesBackupsStatus
Please Mark This As Answer if it solved your issue
Please Mark This As Helpful if it helps to solve your issue
Thanks,
Shashikant -
Report and alerts for Exchange Server database backup
Hi
i am trying to use the Get-DailyBackupAlerts.ps1
to check the exchange database backup state every day by email
and i am using this scripts its working fine but I have problem with sending email
here below the Error
04/16/2015 09:46:53 Alert email will be sent
04/16/2015 09:46:53 Report summary: Alerts 23, OK 0
04/16/2015 09:46:53 Sending email report
04/16/2015 09:46:53 Cannot validate argument on parameter 'From'. The argument is null or empty. Supply an argument that is not null or empty and then try the command again.
04/16/2015 09:46:53 Finished.
my setting the in the file Settings.xml as below
<EmailSettings>
<SMTPServer>webmail.domain.com</SMTPServer>
<SMTPPort>25</SMTPPort>
<MailFrom>[email protected]</MailFrom>
<MailTo>[email protected]</MailTo>
</EmailSettings>
any one can help ?
MahmoudDear Mahmoud,
In the SMTP server settings below you need to replace with your HUB server FQDN if its 2010 or Mailbox server FQDN if its 2013 and after that i think it should work.
<SMTPServer>webmail.domain.com</SMTPServer>
Remember to mark as helpful if you find my contribution useful or as an answer if it does answer your question.That will encourage me - and others - to take time out to help you Check out my latest blog posts on http://exchangequery.com Thanks Sathish
(MVP) -
Query used by SQL Server Management Pack for monitoring database backups
I use SCOM 2012 R2 and the SQL Server Management Pack to monitor SQL Server database backups. I believe I am getting false positives. SCOM reports database are not backuped, while in fact they are. So I need to troubleshoot this. I suspect SCOM is querying
the backup history in the msdb database. I want to know which query SCOM uses.
I have tried looking in the monitor's definition but I suspect the query is embedded in the management pack files which are binary. I have also tried running a trace using the SQL Server Profiler on my test environment and overriding the interval to 60 seconds,
but I don't see a relevant query being executed. I also don't see the alert reappear so I suspect SCOM does not honor the interval in a way I would expect.
What query, or other method, does SCOM use to check database backups?
Thanks in advance.Thank you both Ivan and Michael,
I only saw your messages by email and didn't see your screen shot before I extracted the query myself. In my own queries I calculate the backup age in hours instead of days because of daily full backups. Perhaps It will be a good idea to create my own monitors
from scratch like I used to do with Nagios.
I will study the vbscripts and might create my own version which allows the query to be entered as an parameter and move all code to a .Net class which can be called from vbscript as an COM object. This way I hope to reduce the vbscript code to an minimum
while keeping the flexibility of the SCOM Operations Console and the robustness of .Net. I suspect I want to make more non standard monitors in the future.
Regards,
Arjen -
Why database backup information is not in rc_rman_status
Hi,
I used rman to backup dozen of databases. Only 3 database backup info is in rc_rman_status. I can see all databases fromrc_database. From EM console, every database target page shows the daily backup information. What happened?
I need to create a report for daily backups of all databases. I want to pull information directly from rc_rman_status. Any suggestions?
Thanks
LauraHello,
It is possible that your recovery catalog is 10g but you have performed a backup using a lower RMAN client such as 9i. I believe RC_RMAN_STATUS is a 10g addition and hence the 9i RMAN client will not populate these tables. Obviously I can't guarantee this is your problem, but if you have a mixed Oracle environment, this is a high possibility.
Hope that helps
Andy -
Daily database backup runnig on RAC 10.2.0.3 with two Solaris nodes & ASM
Hello,
I'm confused about making daily incremental RMAN backup of a database runnig on Oracle RAC 10.2.0.3 on two Solaris nodes and ASM.
Databases cannot be stopped for backup and point in time recovery is needed.
Please correct me if I am doing wrong:
1) Backup must be Weekly database Level 0 and Daily database Level 1 is appropriate.
2) Is best to use a Flash Recovery Area (FRA) - I've setup one on a separate ASM volume. I have enough space to do the backup on FRA.
3) I am confused about the number channels I need to use. Do I need to use separate RMAN backup channels for each node or I can just leave the default:
CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
4) Below are the RMAN scripts I plan to use for
- Weekly database backup Level 0:
#!/usr/bin/ksh
echo BACKUP FULL: $ORACLE_HOME/bin/rman target / nocatalog log ${LOGFILE} append
$ORACLE_HOME/bin/rman target / nocatalog log ${LOGFILE} append << eof
run {
backup incremental level 0 database TAG bkp_level0_200906010;
SQL 'alter system archive log current';
backup archivelog all;
delete noprompt obsolete;
exit;
eof
- Daily database backup Level 1:
#!/usr/bin/ksh
echo BACKUP INCREMENTAL: $ORACLE_HOME/bin/rman target / nocatalog log ${LOGFILE} append
$ORACLE_HOME/bin/rman target / nocatalog log ${LOGFILE} append << eof
run {
backup incremental level 1 database TAG bkp_level1_20090611;
SQL 'alter system archive log current';
backup archivelog all;
delete noprompt obsolete;
exit;
eof
I'm I doing things wrong?Show also the parameter I have set for RMAN:
node1:oracle$ rman target /
Recovery Manager: Release 10.2.0.3.0 - Production on Tue Jun 9 23:46:05 2009
connected to target database: ORCL (DBID=1198388159)
RMAN> show all;
RMAN configuration parameters are:
CONFIGURE RETENTION POLICY TO REDUNDANCY 7;
CONFIGURE BACKUP OPTIMIZATION ON;
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/oracle/product/10gr2/db/dbs/snapcf_orcl1.f'; # default
Showing some instance parameters on node1:
SQL> show parameter recovery;
NAME TYPE VALUE
db_recovery_file_dest string DGFRA+
db_recovery_file_dest_size big integer 300G
recovery_parallelism integer 0
SQL> show parameter archive;
NAME TYPE VALUE
archive_lag_target integer 0
log_archive_config string
log_archive_dest string
log_archive_dest_1 string
log_archive_dest_10 string location=use_db_recovery_file_
dest
log_archive_dest_2 string
log_archive_dest_3 string
log_archive_dest_4 string
log_archive_dest_5 string
log_archive_dest_6 string
NAME TYPE VALUE
log_archive_dest_7 string
log_archive_dest_8 string
log_archive_dest_9 string
log_archive_dest_state_1 string enable
log_archive_dest_state_10 string enable
log_archive_dest_state_2 string enable
log_archive_dest_state_3 string enable
log_archive_dest_state_4 string enable
log_archive_dest_state_5 string enable
log_archive_dest_state_6 string enable
log_archive_dest_state_7 string enable
NAME TYPE VALUE
log_archive_dest_state_8 string enable
log_archive_dest_state_9 string enable
log_archive_duplex_dest string
log_archive_format string %t_%s_%r.dbf
log_archive_local_first boolean TRUE
log_archive_max_processes integer 2
log_archive_min_succeed_dest integer 1
log_archive_start boolean FALSE
log_archive_trace integer 0
remote_archive_enable string true
standby_archive_dest string ?/dbs/arch -
Hi Everyone,
I am using Oracle forms 5.
I want to use iconic buttons in Oracle forms 5 for database, database backup, save, delete etc.
Example:
Like Oracle Enterprise Manager, a GUI tool, we can see the different icons for different items (icon for database backup, database etc).
How should I get these icons? How should I attach these icons to the buttons/Image item in Oracle Forms ?
Should I give the file path of these icons in property palette of an item in Oracle forms?
If yes, then which property of item, will I use in order to attach the icons?
Please send the solution.
If some one can also send the related icons, I will thankful to him.
Regards
MartinHi FRANKS,
Thanks for your useful information.
WIth regards to attach icons to button/text item in Oracle forms,I am still facing problem.
As you said, I created the parameter/variable UI_ICONS in Forms Home and gave the value pointing to the directory holding the .ico files.
And then set the iconic property of the button and the icon's name without its extension.
But it didn't work.Could ypu please let me know what is going wrong?
I am thankful to you.
Martin -
Full database backup and restore
I have a doubt on the syntax for a full database backup and restore. For a single schema, the syntax for backup & restore is :-
exp JISPREPCORBILLINGPRD501/JISPREPCORBILLINGPRD501 owner=JISPREPCORBILLINGPRD501 STATISTICS=none
log=JISPREPCORBILLINGPRD501_exp.log grants=y constraints=Y rows=y compress=N
file=JISPREPCORBILLINGPRD501
imp <userid/password> file=<export dump file location> fromuser=<export user name> touser=<import user name>
grants=y constraints=Y rows=y log=<import log file location>
I hope, my question is clear.
Please, help in solving the doubt.
regardshi,
thanks, for your answer. I took a export of one schema of the database. But, when I tried to import the schema to the destination database, it showed
imported with errors with the existence of functions showing. The commands used by me for export and import are as follows:-
exp JISPREPCORBILLINGPRD501/JISPREPCORBILLINGPRD501 owner=JISPREPCORBILLINGPRD501 STATISTICS=none log=JISPREPCORBILLINGPRD501_exp.log grants=y constraints=Y rows=y compress=N file=JISPREPCORBILLINGPRD501
imp JISPREPCORBILLINGPRD501/JISPREPCORBILLINGPRD501 file=JISPREPCORBILLINGPRD501 fromuser=JISPREPCORBILLINGPRD501 touser=JISPREPCORBILLINGPRD501 grants=y constraints=Y rows=y log=JISPREPCORBILLINGPRD501_imp.log
Do, we need to drop the existing schema before importing or somethinig else. Please, help.
regards -
Hi people,
I´ve the next doubt about the backups of MS SQL Server.
If I make a full database backup, the transaction log (SIDLOG1) are backed? Or I´ve to do the backup of transactional log separated?
In the note Note 44449 - Backup strategies with the SQL server, says this:
"If you run a complete database backup, the contents of the transaction log are saved (database dump), but the log is not shortened. The transaction log is only shortened when you save the log (transaction dump)."A FULL SQL backup includes all of the changes that are contained in the LOG file, so that the backup is recoverable to any point in time from the beginning to the end of the time it takes to backup the database. However, it does NOT truncate the log file because you may still need a log backup in order to be recoverable to a point in time AFTER the FULL backup mentioned earlier, or if you have to utilize a different FULL backup in the event the other backup is corrupted, lost, etc.
For example:
Full backup A taken 11/8/2010, begin 8:00 AM, completed 9:00 AM.
Transaction Log backup 1 taken 11/8/2010, 11:00 AM
Transaction Log backup 2 taken 11/8/2010, 3:00 PM
Transaction Log backup 3 taken 11/8/2010, 7:00 PM
Full backup B taken 11/9/2010, begin 8:00 AM, completed 9:00 AM.
Transaction Log backup 4 taken 11/9/2010, 11:00 AM
Transaction Log backup 5 taken 11/9/2010, 3:00 PM
Transaction Log backup 6 taken 11/9/2010, 7:00 PM
If you need to recover to point in time 11/9/2010 at 8:30 AM, all you need is Full backup B.
If you need to recover to point in time 11/9/2010 at 5:00 PM, you need Full backup B, and Transaction Logs 4, 5, and 6.
If you need to recover to point in time 11/9/2010 at 5:00 PM, and Full backup B is corrupted, you need Full backup A, and Transaction Logs 1, 2, 3, 4, 5, and 6.
If Full backup B had truncated the log, then you would not be recoverable to any point in time after 7:00 PM on 11/8/2010. -
Full Database Backup in DB13 for MS SQL Server databases
Hello,
We have some SAP systems using the MS SQL Server database. I want to know if it is possible to setup the Full Database Backup option in transaction DB13 to store the files in a hard disk space.
I already did this type of configuration in SAP systems in Oracle databases and for this I used the init<SID>.sap where we can put all the configuration, for instance the disk path where we want to save the backup files! But for MS SQL Server databases, in DB13, I don´t know how to do that, when I add the "Full Database Backup" option in DB13, this show me some options but only for tape, but I don´t want to store the backup files in tapes, I want to store/save the files on the server disk itself or else to an external disk but I don´t see where I can set this way of storage!
This is what you see in DB13 (when using a MS SQL Server database) in "Full Database Backup" and as you see I only have options for TAPE not for a disk or other type of storage! How can I do that? (if that is possible):
Can you help me please?
Kind regards,
samid raifHello Raja
Sorry for the delay of my answer! Many thanks for that tip, it helps a lot and it solve the last error/problem that I reported here, in fact, the problem was we had named the device with two words containing a space. So we removed that space from the backup device (in SQL management studio) with one word only and the job runs successfully without any errors!
It works in Development and Quality systems but in our Production system (AM1) the Full backup option in DB13 stopped with the following error, in fact the error is on verification of backup, it means that the Full backup finished with success, but when it does the backup verification, the job in DB13 stops with an error, the following one:
***************************** SQL Job information ******************************
Jobname: SAP CCMS Full DB Backup of AM1 [20140417103726-4-103726]
Type: TSQL
DB-Name: AM1
For Run: 20140417 10:37:26
**************************** Job history information *****************************
Stepname: CCMS-step 1
Command: declare @exeStmt nvarchar(2000) exec am1.sap_backup_databases @dbList=
"AM1",@r3Db="AM1",@bDev="fullprd",@expDays= 27,@jobName= "SAP CCMS Ful
l DB Backup of AM1 [20140417103726-4-103726]",@bkupChecksum="Y",@bkupT
ype="F",@nativeBkup="N",@exeDate = "20140417103726",@bkupSim = "N",@fo
rmat = 0,@init = 0,@bkupDb = "AM1",@unload = 0,@exeStmt = @exeStmt OUT
PUT
Status: (success)
Message: 3014
Severity: 0
Duration: 4 hours(s) 41 min(s) 22 sec(s)
Last msg: Executed as user: am1. Processed 7434328 pages for database 'AM1', fil
e 'A01DATA1' on file 1. [SQLSTATE 01000] (Message 4035) Processed 315
1504 pages for database 'AM1', file 'A01DATA2' on file 1. [SQLSTATE 01
000] (Message 4035) Processed 4574152 pages for database 'AM1', file
'A01DATA3' on file 1. [SQLSTATE 01000] (Message 4035) Processed 44363
92 pages for database 'AM1', file 'A01DATA4' on file 1. [SQLSTATE 0100
0] (Message 4035) Processed 25598 pages for database 'AM1', file 'A01
LOG1' on file 1. [SQLSTATE 01000] (Message 4035) BACKUP DATABASE succ
essfully processed 19621974 pages in 16881.638 seconds (9.521 MB/sec).
[SQLSTATE 01000] (Message 3014). The step succeeded.
<------------- End of Job Step History --------------->
Stepname: CCMS-step 2
Command: declare @exeStmt nvarchar(2000) exec am1.sap_verify_backups @nativeBku
p = "N",@bkupSim = "N",@bDev = "fullprd",@bkupChecksum = "Y",@exeDate
= "20140417103726",@unload = 1,@dbCnt =1,@exeStmt = @exeStmt OUTPUT
Status: (failure)
Message: 3201
Severity: 16
Duration: 0 hours(s) 8 min(s) 30 sec(s)
Last msg: Executed as user: am1. Cannot open backup device 'fullprd(\\10.0.0.45\
backupsap\prd\prdfullqua.bak)'. Operating system error 1265(error not
found). [SQLSTATE 42000] (Error 3201). The step failed.
<------------- End of Job Step History --------------->
**************************** Job history information *****************************
Can you help me please with this one!? Can you tell me why in verification it stops with that error?
Kind regards,
samid raif -
Restoring an ms access database backup file in sql server 2005
Hello everyone.
I have an ms access database backup file.
Presently i dont have ms access database in my system.
It is high priority to access that ms access database backup file.
So, is there anyway to access that in sql server?
-- Thanks and Regards Srikar Reddy Gondesi, Trainee SQL Server Database Administrator Miracle Software systems, Inc.Hello sir,
i tried to use import/export wizard to import data from an ms access backup file.
I completed it with some warning's.
Wizard has shown that 2 out of three objects(tables and views) are copied to destination database(empty database which i have created for storing this imported data).
And in that process, wizard made me to create a package.
Now how to access that package?
And my newly created database has no data.(i mean it is supposed to have 2 objects which are copied from source right?)
Sorry if my doubt looks silly i have never used ssis or import/export ever before.
-- Thanks and Regards Srikar Reddy Gondesi, Trainee SQL Server Database Administrator Miracle Software systems, Inc.
-- Thanks and Regards Srikar Reddy Gondesi, Trainee SQL Server Database Administrator Miracle Software systems, Inc.
Maybe you are looking for
-
How to go from multiple chapters ONE timeline to the menu
Recently had to convert a VHS to a DVD, where the file given to me was 1 Mpeg of the entire VHS capture. Not only that, but there were many interstitial segments which they didn`t want shown on the dvd. Last but not least, the order of sections on th
-
N96 offline - can't get it back online!
Hi all - my N96 (had it about 2 months) keeps doing some annoying things: -randomly it will come up Insert Sim and require restarting -it will turn itself off and the killer one -when I restart it, it comes up frequently in Offline Mode. Sometimes I
-
How to download a complete playlist from computer to iPod
How can I load a complete playlist from my iMac to my iPod? Been having to load it song by song, and not an entire playlist at once. What's up?
-
Purchased Visio 2013 via Microsoft HUP - getting the following error when trying to activate:- <$>
-
Can anyone help me identify a book?
I was browsing the app store a couple of weeks ago when I came across an interesting book. (As a side-note, I've learned a lesson that you should buy an app/book when you see it the first time! You might not find it next time you search!) Anyway....I