Backup Database using MSSQL Studio with Retention Period

Hi Experts,
I Want to run backup every first Monday of the month and only keep 2 copies, which means after third month successful backup first month should be deleted.
I know how to schedule the backup for first monday of every month.
My only query is how do we set retention period and how do we define fine name.
Thanks & Regards,
Ak

Hi AKCH,
Based on my understanding, you already know how to schedule the backup job for first Monday of every month. Now you want to set retention period of copies and make sure there are always two copies exist. And you also want to know how to define backup filename
better.
About how to set retention period of copies, you can follow these steps:
1. Open SQL Server Management Studio and expand Maintenance Plans under Management.
2. Right click the plan you have scheduled and choose Maintenance Plans Wizard.
3. Set step by step according to tips.
4. On Select Maintenance Tasks page, you should check Maintenance Cleanup Task.
5. On Define Maintenance Cleanup Task page, you should check Backup files under Delete files of the following type. And check Search folder and delete files based on an extension box under File location, then select the backup folder. Under File age, please
check Delete files based on an extension and set 2 Month(s) under Delete files than the following.
Based on my test, when I use maintenance plan to perform backup for DB, the backup filename is DB_backup_2014_08_27_142154_5382644.bak.
Best regards,
Qiuyun Yu

Similar Messages

  • How to manage a connection with powershell using visual studio with C#

    Hi
     I want to manage a connection with powershell for a web app using visual studio with c#. and also run command with pipeline 
    Plz give a some suggestions..

    Hi Raj_Kumar_Saini,
    To make things clear, could you please clarify these thing?
    1. Do you mean you want to execute some PowerShell scripts from C# language? These blogposts may give you  some ideas:
    Executing PowerShell scripts from C#
    Powershell Automation and Remoting (a c# love story)
    Execute PowerShell from a ASP.NET Web Application
    2. Is your question related to Visual Studio Integration? Do you want to build a Visual Studio Extension?
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Using Deploy Studio with 10.7.4

    Hi,
      I have been trying to use deploy studio with 10.7.4 on Macbook Pro and it never seems to be working. It can see the network and get to the spinning earth but nothing past there. Is any one else having trouble with this? Is there some checked box or something that you think might be holding up the process? Any thoughts are appreciated.

    Hi hello
    I have The same problems, hâve you found à solution ?
    Thanks

  • Backup database using RMAN

    Hi,
    I wanted to perform the first backup with RMAN and I used this command and I got error:
    RMAN> BACKUP AS COPY DATABASE;
    "can not backup or copy active file in noarchivelog mode".
    But in order to turn on the log_mode to ARCHIVELOG, first I need to do shutdown the db and perform the backup. Right?
    So how can I get my first backup using RMAN if the log mode is in NOARCHIVELOG mode?
    I also performed this command successfully...
    RMAN> configure controlfile autobackup on;
    new RMAN configuration parameter are successfully stored...
    but I'm not sure the controlfiles are being backed up. How can I verify this and where I can find the controlfile backup file?
    Thanks,

    So how can I get my first backup using RMAN if the log mode is in NOARCHIVELOG mode?You can do RMAN backups with DB in NOARCHIVELOG mode, but the DB must be MOUNTED and not OPEN. You can do something like the following :
    $ $ORACLE_HOME/bin/rman nocatalog
    Recovery Manager: Release 10.2.0.1.0 - Production on Thu Feb 9 01:18:08 2006
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    RMAN> connect target
    connected to target database: DB102 (DBID=XXXXXXXXX)
    using target database control file instead of recovery catalog
    RMAN> run { allocate channel d1 type disk;
    2> shutdown;
    3> startup mount;
    4> configure controlfile autobackup on;
    5> backup database;
    6> sql 'alter database open';
    7> }
    I'm not sure the controlfiles are being backed up. How can I verify this and where I can find the controlfile backup file?
    RMAN> list backup of controlfile;

  • How to backup database using RMAN on another server's tape?

    Dear All,
    Please give me an advise what parameters I should set up in RMAN to backup database on another server's tape.
    Best wishies,
    Givi

    I am connected to the database server from the server
    where I have tape, but Rman is searching tape on
    database server.I am not sure I understabd the above statement, but at the Operating System Level, you must ensure that from the Server you are running RMAN, it is configured to see the Tape Drive of the other Server. Once the Remote Tape is mounted with any name (say sbt) on the Local Server (however it is done with), then RMAN can configure the channels to use it.
    If you cannot get this access at the Operating System Level, then do not bother trying RMAN to access it.

  • How to backup database using sql query?

    Hello,i'm student, i'm researching oracle database,i want to backup database that using sql query (like backup query in SQL SERVER) ,how to do that ??
    Thank!

    No, database backups cannot be done from within the database.
    Commands for backups are outside of the database.
    See the "2 Day DBA Guide" http://download.oracle.com/docs/cd/E11882_01/server.112/e10897/toc.htm
    and the "Backup and Recovery Users's (actually Adminsitrator's) Guide : http://download.oracle.com/docs/cd/E11882_01/backup.112/e10642/toc.htm
    Hemant K Chitale

  • Using Measurement studio with Tabs

    Whenever I place a measurement studio control on top of a tab control it goes underneth the tab control and can no longer be seen.  In the code I can tell it to come to the top using 'BringWindowToTop" and it is visable but while in the editor it is not, making it hard to place controls properly.  Is there a way to force the control to the top in the editor and if so how?

    Hi Born2Burn,
    The way controls on a form are displayed is determined by their z-order. The control's z-order is determined by its position in the form's Controls collection, with the first control in the collection being at the front (top layer) and the last at the back.  You will need to change control's z-order in order to make things look right.
    There are a few options to fix this at design time:
    Right-click on the Measurement Studio Control and select Bring to Front. This will change it's position in the form's Controls collection to 0, making it the top of z-order. Similarly, you could right-click on the Tab control and choose Send to Back.
    Select the Measurement Studio Control and click Format » Order » Bring to Front from Visual Studio's menu. There are also two icons on the Layout toolbar that will allow you to either "Send to Front" or "Send to Back".
    Additionally, Visual Studio 2005 also includes a very useful tool window called Document Outline.  You can access this from View » Other Windows » Document Outline, or by using the keyboard shortcut: Ctrl+Alt+T.  The Document Outline will allow you to rearrange controls by simply draging and droping them into their correct z-order
    Thanks,
    Jonathan C
    Staff Application Engineering Specialist | CTD | CLA
    National Instruments

  • Backup database using MobileMe?

    I want to backup all my photos. I subscribe to MobileMe and have room on my iDisk. But I can't figure out how to do this.
    I can see the database in my pictures folder, but what utility would I use to do the actual backup?

    Drag and drop it to the iDisk. But it will be very slow.
    Regards
    TD

  • Using measurement studio with my own circuit

    Im a computer engineering student
    I have designed a circuit which do analog-digital convertor and the computer reads the digital value from the parallel port, and Im looking for an application
    I found this nice topic in your site : Measurement Studio Analog Output -- Waveform Generation in Visual Basic
    http://zone.ni.com/devzone/conceptd.nsf/webmain/9C9F9227D165EF6C8625687E006CEFF5
    and I hope that I can do it for my project
    my question is : can I use the parallel port of the PC instead of National Instruments data acquisition (DAQ) hardware in the measurement studio 6.0 ??
    thank you alot .
    Bader

    Hello,
    It sounds like your question is really if you can access the parallel port from your Measurement Studio Environment. The answer is yes, and one way to do this is using NI-VISA. In general, I imagine you will be performing viOpen, viRead, and viClose operations on your parallel port. The following discussion forum links should help you get more well rounded on the idea: (note: many of these forum posts have helpful links as well!)
    1. http://forums.ni.com/ni/board/message?board.id=170&message.id=25066&requireLogin=False
    2. http://forums.ni.com/ni/board/message?board.id=170&message.id=109253&requireLogin=False
    3. http://forums.ni.com/ni/board/message?board.id=170&message.id=112975&requireLogin=False
    4. http://forums.ni.com/ni/board/message?board.id=170&message.id=96478&requireLogin=False
    5. http://forums.ni.com/ni/board/message?board.id=170&message.id=118167#M118167
    6. http://forums.ni.com/ni/board/message?board.id=170&message.id=86769#M86769
    Repost if you have further questions!
    Best Regards,
    JLS
    Best,
    JLS
    Sixclear

  • Using Measurement Studio with Silverlight

    Hi,
    Does the newest Measurement Studio support usage in a Silverlight project? It does not in my version (2009).

    Hi Willy,
    Thanks for your answer, I was trying to embed a NIDaq application in a webpage, so I was exploring all the options, I found thooses:
    -Develop an XBAP application (does not seem to be compatible with more than IE and Firefox(with some actions) under Windows, plus I haven't found the way of making it work with NIDaq)
    -Develop an ASP.NET application (maybe it is because I don't have much knowledge of it, but it does not seem to fit my needs as I am activating DAQ Digital Output when mouseenter and mouseleave on a led events are fired(which I manage on client side with javascript), and asp.net refresh the whole page each time, I would need it to refresh the control only).
    Do you have any suggestions on how to make a measurement studio daq application embeded in a webpage to control an NIUSB6501 board connected to the server?
    Thanks,
    Best Regards,

  • How to find the hardware information of the Installed HANA Database using studio tool ??

    Hi SAP HANA Experts,
    How can we find the Hardware Information of the HANA Database using the Studio tool.
    I mean, i want to find out the Hardware Information like CPU Model Number, RAM Size & HDD. { HANA Database is already installed as a standalone system } using the Studio tool.
    Can any one of you please provide me the different possibilities to get the Hardware information.....

    Hello,
    Try running the below SQL script in your HANA database. The output should have the info you havd been looking for.
    SELECT
    [NAME]
    - HANA_Hosts_Overview
    [DESCRIPTION]
    - Host information
    [DETAILS AND RESTRICTIONS]
    [VALID FOR]
    - Revisions:              all
    - Statistics server type: all
    [SQL COMMAND VERSION]
    - 2014/05/30:  1.0 (initial version)
    [INVOLVED TABLES]
    - M_HOST_INFORMATION
    [INPUT PARAMETERS]
    - HOST
      Host name
      'saphana01'     --> Specific host saphana01
      'saphana%'      --> All hosts starting with saphana
      '%'             --> All hosts
    [OUTPUT PARAMETERS]
    - HOST:           Host name
    - BUILT_BY:       Manufacturer name
    - CPU_DETAILS:    CPU details (cores, threads, speed)
    - PHYS_MEM_GB:    Physical memory size (GB)
    - SWAP_GB:        Swap size (GB)
    - OP_SYS:         Operating system type and version
    - HARDWARE_MODEL: Hardware model
    - CPU_MODEL:      CPU model
    [EXAMPLE OUTPUT]
    |HOST     |MANUFACTURER|ACTIVE|CPU_DETAILS       |PHYS_MEM_GB|SWAP_GB|SEC_STORE|OPERATING_SYSTEM                 |HARDWARE_MODEL             |
    |saphana20|IBM         |yes   |80 (160) * 2395MHz|    4039.88|  32.00|available|SUSE Linux Enterprise Server 11.2|System x3950 X5 -[7143HDG]-|
    |saphana21|IBM         |yes   |80 (160) * 2395MHz|    4039.88|  32.00|available|SUSE Linux Enterprise Server 11.2|System x3950 X5 -[7143HDG]-|
      H.HOST,
      MAX(CASE WHEN KEY = 'hw_manufacturer' THEN VALUE END) BUILT_BY,
      MAX(CASE WHEN KEY = 'cpu_summary' THEN VALUE END) CPU_DETAILS,
      LPAD(MAX(CASE WHEN KEY = 'mem_phys' THEN TO_DECIMAL(TO_NUMBER(VALUE) / 1024 / 1024 / 1024, 10, 2) END), 11) PHYS_MEM_GB,
      LPAD(MAX(CASE WHEN KEY = 'mem_swap' THEN TO_DECIMAL(TO_NUMBER(VALUE) / 1024 / 1024 / 1024, 10, 2) END), 7) SWAP_GB,
      REPLACE(MAX(CASE WHEN KEY = 'os_name' THEN VALUE END), 'SUSE Linux Enterprise Server', 'SLES') OP_SYS,
      REPLACE(MAX(CASE WHEN KEY = 'cpu_model' THEN VALUE END), '(R)', '') CPU_MODEL,
      MAX(CASE WHEN KEY = 'hw_model' THEN VALUE END) HARDWARE_MODEL
    FROM
    ( SELECT                  /* Modification section */
        '%' HOST
      FROM
        DUMMY
    ) BI,
      M_HOST_INFORMATION H
    WHERE
      H.HOST LIKE BI.HOST
    GROUP BY
      H.HOST
    ORDER BY
      H.HOST
    Rgds,
    Mat.

  • Error while defining USB dribe as backup device in MSSQL

    Hi all, i am facing this error when i am creating a new backup device in MSSQL and while watching media contents.
    System.Data.SqlClient.SqlError: Cannot open backup device 'SAPMSQLDB(E:\SAPBackup\SAPMSQLDB.bak)'. Operating system error 2(The system cannot find the file specified.). (Microsoft.SqlServer.Smo)
    and i am getting this error in DB13
    "Cannot open backup device 'SAPMSQLDB(E:\SAPBackup\SAPMSQLDB.bak)'. Oper"
    when you are creating a new device what should be the file name ???? i specified a file name but its not in the folder i think this might be the cause but i dont know what is the name of file or do i need to prepare the folder i mean to create some temporary files?
    appreiate any reply.
    thanks
    Mani

    Well i executed Full database backup
    i have few question
    1. The output is only one file or more files as i have only one file called filename.bak aftre backup from SAP?
    2. below is the detail of  DB12 output, DB13 and error log
    in DB12 it shows its successfully executed with code ok.
    in DB13 PREVIEW tab here is the log it shows
    I am not sure it executed succesfully,  it created backup in one file called DBNOV.bak
    exec msdb..sp_add_job  @originating_server = '(local)',@job_name = "SAP CCMS Full DB Backup of
    SID [20081112160619-3-173000]",@enabled = 1,@description = "SAP CCMS JOB",@start_step_id = 1,
    @category_name = NULL,@category_id = NULL
    exec msdb..sp_add_jobstep @job_id = null,@job_name = 'SAP CCMS Full DB Backup of SID
    [20081112160619-3-173000]',@step_id = 1,@step_name = 'CCMS-step 1',@subsystem =
    'TSQL',@command = 'declare @exeStmt nvarchar(2000) exec sid.sap_backup_databases
    @dbList="SID",@r3Db="SID",@bDev="USBDB",@expDays= 27,@bkupChecksum="N",@jobName= "SAP CCMS
    Full DB Backup of SID [20081112160619-3-173000]",@bkupType="F",@nativeBkup="N",@exeDate =
    "20081112173000",@bkupSim = "Y",@format = 0,@init = 0,@bkupDb = "SID",@unload = 0,@exeStmt =
    @exeStmt OUTPUT',@database_name = 'SID',@on_success_action = 3
    BACKUP DATABASE SID TO USBDB WITH
    DESCRIPTION = 'SAP CCMS Full DB Backup of SID [20081112160619-3-173000]',RETAINDAYS=27,
    NOINIT,
    NAME = 'Sap backup on 20081112 21:27:40',NOUNLOAD
    exec msdb..sp_add_jobstep @job_id = null,@job_name = 'SAP CCMS Full DB Backup of SID
    [20081112160619-3-173000]',@step_id = 2,@step_name = 'CCMS-step 2',@subsystem =
    'TSQL',@command = 'declare @exeStmt nvarchar(2000) exec sid.sap_verify_backups @nativeBkup =
    "N",@bkupSim = "Y",@bDev = "USBDB",@bkupChecksum = "N",@exeDate = "20081112173000",@unload =
    0,@dbCnt  =1,@exeStmt = @exeStmt OUTPUT',@database_name = 'SID'
    RESTORE VERIFYONLY FROM USBDB WITH FILE = X ,NOUNLOAD
    exec msdb..sp_add_jobschedule @job_id = null,@job_name = 'SAP CCMS Full DB Backup of SID
    [20081112160619-3-173000]',@name = 'CCMS-sche1',@enabled = 1,@freq_type =1,@freq_interval =
    1,@freq_subday_type = 0,@freq_subday_interval = 0,@active_start_date =
    20081112,@active_start_time = 173000,@freq_recurrence_factor = 0
    here is the log file snapshot
    2008-11-12 17:30:01.42 spid83      DBCC TRACEON 3605, server process ID (SPID) 83. This is an informational message only; no user action is required.
    2008-11-12 18:21:59.35 spid85      DBCC TRACEON 3605, server process ID (SPID) 85. This is an informational message only; no user action is required.
    2008-11-12 18:21:59.35 spid85      DBCC TRACEON 3605, server process ID (SPID) 85. This is an informational message only; no user action is required.
    2008-11-12 18:21:59.62 spid85      Error: 18204, Severity: 16, State: 1.
    2008-11-12 18:21:59.62 spid85      BackupDiskFile::OpenMedia: Backup device 'E:\SAPMSQLbackup\DBNOV.bak' failed to open. Operating system error 32(The process cannot access the file because it is being used by another process.).
    2008-11-12 18:22:09.73 spid85      DBCC TRACEON 3605, server process ID (SPID) 85. This is an informational message only; no user action is required.
    2008-11-12 18:22:09.73 spid85      DBCC TRACEON 3605, server process ID (SPID) 85. This is an informational message only; no user action is required.
    2008-11-12 18:22:09.85 spid85      Error: 18204, Severity: 16, State: 1.
    2008-11-12 18:22:09.85 spid85      BackupDiskFile::OpenMedia: Backup device 'E:\SAPMSQLbackup\DBNOV.bak' failed to open. Operating system error 32(The process cannot access the file because it is being used by another process.).
    2008-11-12 18:24:05.09 spid85      DBCC TRACEON 3605, server process ID (SPID) 85. This is an informational message only; no user action is required.
    2008-11-12 18:24:05.09 spid85      DBCC TRACEON 3605, server process ID (SPID) 85. This is an informational message only; no user action is required.
    2008-11-12 18:24:05.18 spid85      Error: 18204, Severity: 16, State: 1.
    2008-11-12 18:24:05.18 spid85      BackupDiskFile::OpenMedia: Backup device 'E:\SAPMSQLbackup\DBNOV.bak' failed to open. Operating system error 32(The process cannot access the file because it is being used by another process.).
    2008-11-12 18:24:07.40 spid85      DBCC TRACEON 3605, server process ID (SPID) 85. This is an informational message only; no user action is required.
    2008-11-12 18:24:07.40 spid85      DBCC TRACEON 3605, server process ID (SPID) 85. This is an informational message only; no user action is required.
    2008-11-12 18:24:07.56 spid85      Error: 18204, Severity: 16, State: 1.
    2008-11-12 18:24:07.56 spid85      BackupDiskFile::OpenMedia: Backup device 'E:\SAPMSQLbackup\DBNOV.bak' failed to open. Operating system error 32(The process cannot access the file because it is being used by another process.).
    2008-11-12 18:24:09.03 spid85      DBCC TRACEON 3605, server process ID (SPID) 85. This is an informational message only; no user action is required.
    2008-11-12 18:24:09.03 spid85      DBCC TRACEON 3605, server process ID (SPID) 85. This is an informational message only; no user action is required.
    2008-11-12 18:24:09.15 spid85      Error: 18204, Severity: 16, State: 1.
    2008-11-12 18:24:09.15 spid85      BackupDiskFile::OpenMedia: Backup device 'E:\SAPMSQLbackup\DBNOV.bak' failed to open. Operating system error 32(The process cannot access the file because it is being used by another process.).
    2008-11-12 18:24:11.51 spid85      DBCC TRACEON 3605, server process ID (SPID) 85. This is an informational message only; no user action is required.
    2008-11-12 18:24:11.51 spid85      DBCC TRACEON 3605, server process ID (SPID) 85. This is an informational message only; no user action is required.
    2008-11-12 18:24:11.65 spid85      Error: 18204, Severity: 16, State: 1.
    2008-11-12 18:24:11.65 spid85      BackupDiskFile::OpenMedia: Backup device 'E:\SAPMSQLbackup\DBNOV.bak' failed to open. Operating system error 32(The process cannot access the file because it is being used by another process.).
    2008-11-12 18:25:08.59 spid85      DBCC TRACEON 3605, server process ID (SPID) 85. This is an informational message only; no user action is required.
    2008-11-12 18:25:08.61 spid85      DBCC TRACEON 3605, server process ID (SPID) 85. This is an informational message only; no user action is required.
    2008-11-12 18:25:20.51 spid89      DBCC TRACEON 3605, server process ID (SPID) 89. This is an informational message only; no user action is required.
    2008-11-12 18:25:27.00 spid85      DBCC TRACEON 3605, server process ID (SPID) 85. This is an informational message only; no user action is required.
    2008-11-12 18:25:27.00 spid85      DBCC TRACEON 3605, server process ID (SPID) 85. This is an informational message only; no user action is required.
    2008-11-12 18:32:26.91 spid85      DBCC TRACEON 3605, server process ID (SPID) 85. This is an informational message only; no user action is required.
    2008-11-12 18:32:26.91 spid85      DBCC TRACEON 3605, server process ID (SPID) 85. This is an informational message only; no user action is required.
    2008-11-12 18:32:27.05 spid85      Error: 18204, Severity: 16, State: 1.
    2008-11-12 18:32:27.05 spid85      BackupDiskFile::OpenMedia: Backup device 'E:\SAPMSQLbackup\DBNOV.bak' failed to open. Operating system error 32(The process cannot access the file because it is being used by another process.).
    2008-11-12 18:36:51.51 spid91      DBCC TRACEON 3605, server process ID (SPID) 91. This is an informational message only; no user action is required.
    2008-11-12 18:36:51.51 spid91      DBCC TRACEON 3605, server process ID (SPID) 91. This is an informational message only; no user action is required.
    2008-11-12 18:36:51.65 spid91      Error: 18204, Severity: 16, State: 1.
    2008-11-12 18:36:51.65 spid91      BackupDiskFile::OpenMedia: Backup device 'E:\SAPMSQLbackup\DBNOV.bak' failed to open. Operating system error 32(The process cannot access the file because it is being used by another process.).
    2008-11-12 18:37:12.04 spid91      DBCC TRACEON 3605, server process ID (SPID) 91. This is an informational message only; no user action is required.
    2008-11-12 18:37:12.04 spid91      DBCC TRACEON 3605, server process ID (SPID) 91. This is an informational message only; no user action is required.
    2008-11-12 18:37:12.16 spid91      Error: 18204, Severity: 16, State: 1.
    2008-11-12 18:37:12.16 spid91      BackupDiskFile::OpenMedia: Backup device 'E:\SAPMSQLbackup\DBNOV.bak' failed to open. Operating system error 32(The process cannot access the file because it is being used by another process.).
    2008-11-12 18:37:21.02 spid91      DBCC TRACEON 3605, server process ID (SPID) 91. This is an informational message only; no user action is required.
    2008-11-12 18:37:21.04 spid91      DBCC TRACEON 3605, server process ID (SPID) 91. This is an informational message only; no user action is required.
    2008-11-12 18:37:21.18 spid91      Error: 18204, Severity: 16, State: 1.
    2008-11-12 18:37:21.18 spid91      BackupDiskFile::OpenMedia: Backup device 'E:\SAPMSQLbackup\DBNOV.bak' failed to open. Operating system error 32(The process cannot access the file because it is being used by another process.).
    2008-11-12 18:44:44.23 spid92      DBCC TRACEON 3605, server process ID (SPID) 92. This is an informational message only; no user action is required.
    2008-11-12 18:45:24.42 spid85      DBCC TRACEON 3605, server process ID (SPID) 85. This is an informational message only; no user action is required.
    2008-11-12 18:45:24.42 spid85      DBCC TRACEON 3605, server process ID (SPID) 85. This is an informational message only; no user action is required.
    2008-11-12 18:45:24.42 spid85      Error: 18204, Severity: 16, State: 1.
    2008-11-12 18:45:24.42 spid85      BackupDiskFile::OpenMedia: Backup device 'E:\SAPMSQLbackup\test.bak' failed to open. Operating system error 2(The system cannot find the file specified.).
    2008-11-12 18:45:32.78 spid85      DBCC TRACEON 3605, server process ID (SPID) 85. This is an informational message only; no user action is required.
    2008-11-12 18:45:32.78 spid85      DBCC TRACEON 3605, server process ID (SPID) 85. This is an informational message only; no user action is required.
    2008-11-12 18:45:32.78 spid85      Error: 18204, Severity: 16, State: 1.
    2008-11-12 18:45:32.78 spid85      BackupDiskFile::OpenMedia: Backup device 'E:\SAPMSQLbackup\test.bak' failed to open. Operating system error 2(The system cannot find the file specified.).
    2008-11-12 18:45:39.70 spid85      DBCC TRACEON 3605, server process ID (SPID) 85. This is an informational message only; no user action is required.
    2008-11-12 18:45:39.70 spid85      DBCC TRACEON 3605, server process ID (SPID) 85. This is an informational message only; no user action is required.
    2008-11-12 18:45:39.84 spid85      Error: 18204, Severity: 16, State: 1.
    2008-11-12 18:45:39.84 spid85      BackupDiskFile::OpenMedia: Backup device 'E:\SAPMSQLbackup\DBNOV.bak' failed to open. Operating system error 32(The process cannot access the file because it is being used by another process.).
    2008-11-12 19:50:27.41 Backup      Database backed up. Database: SID, creation date(time): 2008/05/07(18:32:21), pages dumped: 26905751, first LSN: 9854:10543:202, last LSN: 9854:18731:1, number of dump devices: 1, device information: (FILE=1, TYPE=DISK: {'USBDB'}). This is an informational message only. No user action is required.
    2008-11-12 19:50:27.55 spid83      DBCC TRACEON 3605, server process ID (SPID) 83. This is an informational message only; no user action is required.
    2008-11-12 21:25:21.51 spid85      DBCC TRACEON 3605, server process ID (SPID) 85. This is an informational message only; no user action is required.
    2008-11-12 21:25:21.60 spid85      DBCC TRACEON 3605, server process ID (SPID) 85. This is an informational message only; no user action is required.
    2008-11-12 21:27:40.86 spid85      DBCC TRACEON 3605, server process ID (SPID) 85. This is an informational message only; no user action is required.
    2008-11-12 21:27:40.86 spid85      DBCC TRACEON 3605, server process ID (SPID) 85. This is an informational message only; no user action is required.
    exec msdb..sp_add_jobserver  @job_name = 'SAP CCMS Full DB Backup of SID
    [20081112160619-3-173000]',@server_name = '(local)'
    thanks a lot for your time
    Mani

  • How to connect oracle database using jsf

    how to connect oracle database using javaserver faces with connection pooling

    Here is one way...
    http://jakarta.apache.org/commons/dbcp/

  • Help me! cann't restore database using RMAN!!

    i've backuped database using RMAN,
    now datafile of system tablespace have lost,
    and i execute the command as following:
    run {
    allocate channel c1 type disk;
    restore database;
    these are errors:
    RMAN-03002: failure during compilation of command
    RMAN-03013: command type: restore
    RMAN-03002: failure during compilation of command
    RMAN-03013: command type: IRESTORE
    RMAN-06003: ORACLE error from target database: ORA-01843: not a
    valid month
    RMAN-06097: text of failing SQL statement: select decode(bitand
    (festa,(4096+128)
    ),128,fecps,4096,fecps,0) ,decode(bitand(festa,
    (4096+128)),128,281474976710655,4
    096,controlfile_change#,0) ,decode(bitand(festa,
    (4096+128)),128,SYSDATE,4096,con
    trolfile_time,to_date('JAN 01 1988','MON DD
    YYYY')) ,feofs ,feonc_scn ,to_date(n
    vl(feonc_tim,'01/01/88 00:01:01'),'MM/DD/RR HH24:MI:SS')
    into :b1,:b2,:b3,:b4,:b
    5,:b6 from x$kccfe ,v$database where (fenum=:b7 and fedup=1)
    RMAN-06099: error occurred in source file: krmk.pc, line: 21652

    Try setting the NLS_DATE_FORMAT at the command prompt.

  • I'm looking for code to measure SNR, SNDR, etc. using Measurement Studio, Visual Basic.

    I've collected audio ADC data and wish to measure signal-to-noise, frequency, amplitude, etc. I'm using Measurement Studio with VB.

    Frequency and Amplitude should be easy to measure. The CWDSP frequency domain processing methods perform transformations between the time domain and frequency domain and perform analysis in the frequency domain. Slightly more difficult is the measurement of SNR. I would recommend the following tutorial:
    "The Fundamentals of FFT-Based Signal Analysis and Measurement in LabVIEW and LabWindows" available here. This page also links to a LabVIEW example, which can be used to understand the dataflow and functions necessary to create the system.
    There is also a good signal to noise ratio tutorial here.
    regards,
    Eric Meyer
    Applications Engineer
    National Instruments

Maybe you are looking for