How to backup MSSQL  database in ECC6

Hi guys, i am doing patching for our internal ECC6 server. So i need to backup the database before run the patches. I have onliy done database backup in Oracle using Brtools. So i am not familiar with Ms Sql Server backup. Can anyone tell me step by step to do this backup and send me link or screen shot or any type of documents or guidence which help me to resolve this issue. I really appreciate a prompt reply from you guys. Would like to thank you in advance.

Hello,
you have to ensure that the SQL Server service (which is performing the backup) can access the share. To ensure this, start the SQL Server with an account that has enough rights on the share (domain user with write rights). You then should be able to create a backup device for the network share with
use master
exec sp_addumpdevice 'DISK','MyNetworkShare', '
server\sharename\path\filename.bak'
Then you should be able to perform a backup via DB13 to this device or directly with TSQL running
backup database <SID> to MyNetworkShare
Best regards
  Clas

Similar Messages

  • How to backup DPM database

    How to backup DPM database for restore DPM server (2012 R2).
    I try: http://technet.microsoft.com/en-us/library/hh758162.aspx
    To back up the DPM database
    On the computer where your DPM database is located, do one of the following:
    If the DPM database is on the DPM server                
    On the DPM server, open an elevated command prompt window, go to cd <system drive>:\Program Files\Microsoft DPM\DPM\bin, and run
    DPMBackup.exe -db
    and this not working:
    C:\Program Files\Microsoft System Center 2012 R2\DPM\DPM\bin>DpmBackup.exe -db
    DpmBackup 1.0 - Data Protection Manager backup command-line tool
    Copyright (c) 2013 Microsoft Corporation. All rights reserved.
    Error: Invalid command -db.
    Description:
             DpmBackup backs up the DPM database, and creates shadow copies that can
    be used for backing up replicas.
             To back up the DPM database, run DpmBackup.exe -db locally on the compu
    ter running DPM.
    Usage:
             DpmBackup.exe [-db [-sqlServerName <name>] [-instanceName <name>] [-dpm
    dbName <name>] [-targetLocation <location>]] [-replicas] [-certificates]
    ... deleted
    where is problem ?

     Add "instanceName" and "dpmdbname" parameters, like this: DpmBackup.exe -db -instanceName "<SQLInstanceName>" -dpmdbname <DPMDB_NAME>
    Use "(Local)" as <SQLInstanceName> if you use default SQL instance (MSSQLSERVER). Also, please make sure that account, under which SQL server runs, have permissions to write into %DPMInstallLocation%\Volumes\ShadowCopy\Database Backups\ folder.
    http://kf.lj.ru

  • HI all,How to backup 1TB database

    hi all,
    Can naybody suggest me how to backup 1tb database in oracle 10g RAC database using ASM.waht are the all the backup stategies that one has to keep in mind while backing up more than1TB database.

    user13389425 wrote:
    I know rman since rman is taking lot of time more thant 36 hrs.And user also facing problem I/O related issues.SO is there any tech which can be used to backup.
    Punjab National bank is having more than 3-4 TB of DB.They have a server one is primary and another is backup server.And there backup server is synch with the main server.Every midnight they down their main DB and they up the backup server and capture the image of primary server using NETVERTIAS some tool.And then theyu mount it and open the DB.
    But i am not able to understanb how the backup server synch with the primary server, here i am not talkig about the Standby database.
    So is there any utility which can be used to backup.You have to read Backup recovery guide.Did you enable BLOCK CHANGE TRACKING? .Need troubleshooting rman backup process.Using RMAN is good and best way.Do you use optimization?.Also you can update standby database with incremental backups. Please refer below doc and investigate your problems.
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/toc.htm

  • How to backup a database in noarchivelog

    My database is in NOARCHIVELOG.
    I can open rman
    which command can i use to backup my database in this mode.
    is there anything i need to configure before it backups in this mode.

    why you dont need to turn on the archivelog?
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1
    how many days back you are responsible to revert back the database?Someday It may be asked to you restore the some days before dataabase backup, before that raising the question ,raise the question to mangment personnel how many days back will i be responsible to restore the database,if they give you 7 days then make sure yours disk space can accomodate 7 days backup if not then ask them to arrange space for disk if they give alternate tape cartrdige then tell them that x hours will take to restore the database in disaster recovery scenario cause tape cartridge data restoration takes time.
    No archive mode is yours decision then before doing it aware managment personnel that i can only restored the last good backup data,good backup does not mean last backup,last backup may be corrupt ,last good backup is the backup which you can restore then you will be able to restore only till last good backup,with archived enabled you will have chance to recover till before crash but with no archivelog there is only one option recovery till last good backup.
    Khurram

  • How to backup all database settings and data for SOA suite to file(s) ?

    During the installation of the SOA Suite a couple of tables and schemas are created
    in Oracle database through the irca.bat script.
    Later the tables are filled with content by all the servers and services of the
    SOA Suite.
    How can I backup all these tables and SOA related stuff to one (or more)
    files (for a possible later restore)?
    This backup should contain only SOA Suite related tables and data.
    Possible other tables (for other applications) should not be considered.
    Is there a script (e.g. for sqlplus) or menu which does the
    SOA database backup job for me ?
    If there is no official backup script maybe someone in this forum
    wrote a personal script.
    Thank you
    Peter

    I am facing the same problem.
    I have spend a few days to configure and train my Sony tablet to configure for all my remotes such as aircon and lighting. I did a backup using the Sony companion to my PC. When my tablet was faulty and serviced. But the backup did not recover the IR remote settings and codes which I programmed previously. I also tried your backup restore app but it also does not save the configuration.
    It is VERY IMPORTANT for me to backup the settings.
    Please provide the folders and path of where the IR REMOTE settings and personal configuration and codes trained were kept so that I could back them up. Are these path protected area that required rooted access?
    Hope that Sony could update the app to include backup of new trained codes and settings and in the meantime to provide a procedure of how to backup the setting and trained IR codes with or without rooting the device.

  • How to backup Oracle Database Single Instance using RMAN

    Folks,
    Hello. I am using Oracle Database Server 11gR1 with Operating System Oracle Linux 5.10.
    I understand how to backup database instance in SQL Server with Windows. But don't really understand how to backup database instance in Oracle with Linux.
    I have done Cold backup and Hot backup for the database instance HRCS90 but both get the same error message.
    Cold backup is below:
    SQL> startup
    ORACLE instance started.
    Total System Global Area  538677248 bytes
    Fixed Size                  2146024 bytes
    Variable Size             528482584 bytes
    Database Buffers            4194304 bytes
    Redo Buffers                3854336 bytes
    Database mounted.
    Database opened.
    SQL> shutdown immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    RMAN> backup database;
    Starting backup at 25-NOV-13
    using target database control file instead of recovery catalog
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of backup command at 11/25/2013 14:26:52
    RMAN-06171: not connected to target database
    RMAN> backup HRCS90
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00558: error encountered while parsing input commands
    RMAN-01009: syntax error: found "identifier": expecting one of: "archivelog, auxiliary, as, backup, backupset, blocks, channel, check, copy, copies, controlfilecopy, cumulative, current, database, datafile, datafilecopy, device, diskratio, db_recovery_file_dest, db_file_name_convert, duration, filesperset, for, format, from, full, force, file, incremental, keep, (, maxsetsize, nochecksum, noexclude, nokeep, not, proxy, pool, reuse, recovery, section, skip, spfile, skip readonly, setsize, tablespace, tag, to, validate"
    RMAN-01008: the bad identifier was: HRCS90
    RMAN-01007: at line 1 column 8 file: standard input
    RMAN> backup database HRCS90
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00558: error encountered while parsing input commands
    RMAN-01009: syntax error: found "identifier": expecting one of: "archivelog, auxiliary, backup, backupset, channel, copy, controlfilecopy, current, database, datafile, datafilecopy, delete, diskratio, db_recovery_file_dest, filesperset, format, from, force, file, include, keep, (, maxsetsize, noexclude, nokeep, not, pool, plus, reuse, recovery, section, ;, skip, spfile, skip readonly, setsize, tablespace, tag, to"
    RMAN-01008: the bad identifier was: HRCS90
    RMAN-01007: at line 1 column 17 file: standard input
    While the database instance HRCS90 is startup, I do hot backup using the same commands and get the same error message with above cold backup.
    My question is:
    Can any folk tell me the specific steps (command by command) to backup a single database instance in Oracle using RMAN ?
    Thanks.

    Folks,
    Hello. Thanks a lot for replying. My database instance named HRCS90 is going to be backed up. My backup directory is /backup_Database_Instance_HRCS90.
    If database in open state, we must back up in archive log. If database in mount state but not open, we can back up in noarchive log.
    I have tried to back up HRCS90 in archive and noarchive log when database in mount state but not open as below:
    SQL>startup mount;
    SQL>exit
    [user@linux bin]$./rman
    RMAN>connect target;
    RMAN> CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/backup_Database_Instance_HRCS90/full_%u_%s_%p';
    new RMAN configuration parameters:
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT   '/backup_Database_Instance_HRCS90/full_%u_%s_%p';
    new RMAN configuration parameters are successfully stored
    released channel: ORA_DISK_1
    RMAN> CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 360 DAYS;
    new RMAN configuration parameters:
    CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 360 DAYS;
    new RMAN configuration parameters are successfully stored
    RMAN> backup as backupset database plus archivelog;
    Starting backup at 01-DEC-13
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=44 device type=DISK
    specification does not match any archived log in the recovery catalog
    backup cancelled because all files were skipped
    Finished backup at 01-DEC-13
    Starting backup at 01-DEC-13
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting full datafile backup set
    channel ORA_DISK_1: specifying datafile(s) in backup set
    input datafile file number=00001 name=/u01/oradata/HRCS90/system01.dbf
    input datafile file number=00090 name=/u01/oradata/HRCS90/psimage.dbf
    input datafile file number=00060 name=/u01/oradata/HRCS90/gpapp.dbf
    input datafile file number=00119 name=/u01/oradata/HRCS90/tlwork.dbf
    input datafile file number=00102 name=/u01/oradata/HRCS90/pttlrg.dbf
    input datafile file number=00054 name=/u01/oradata/HRCS90/faapp.dbf
    input datafile file number=00110 name=/u01/oradata/HRCS90/saapp.dbf
    input datafile file number=00101 name=/u01/oradata/HRCS90/pttbl.dbf
    input datafile file number=00002 name=/u01/oradata/HRCS90/sysaux01.dbf
    input datafile file number=00106 name=/u01/oradata/HRCS90/py0lrg.dbf
    input datafile file number=00004 name=/u01/oradata/HRCS90/psdefault.dbf
    input datafile file number=00117 name=/u01/oradata/HRCS90/tlapp.dbf
    input datafile file number=00007 name=/u01/oradata/HRCS90/adapp.dbf
    input datafile file number=00082 name=/u01/oradata/HRCS90/paapp.dbf
    input datafile file number=00074 name=/u01/oradata/HRCS90/hrsapp.dbf
    input datafile file number=00092 name=/u01/oradata/HRCS90/ptamsg.dbf
    input datafile file number=00056 name=/u01/oradata/HRCS90/fgapp.dbf
    input datafile file number=00114 name=/u01/oradata/HRCS90/stapp.dbf
    input datafile file number=00005 name=/u01/oradata/HRCS90/aaapp.dbf
    input datafile file number=00118 name=/u01/oradata/HRCS90/tllarge.dbf
    input datafile file number=00009 name=/u01/oradata/HRCS90/avapp.dbf
    input datafile file number=00065 name=/u01/oradata/HRCS90/hrapp2.dbf
    input datafile file number=00078 name=/u01/oradata/HRCS90/hrwork.dbf
    input datafile file number=00116 name=/u01/oradata/HRCS90/stwork.dbf
    input datafile file number=00077 name=/u01/oradata/HRCS90/hrswork.dbf
    input datafile file number=00115 name=/u01/oradata/HRCS90/stlarge.dbf
    input datafile file number=00049 name=/u01/oradata/HRCS90/epapp.dbf
    input datafile file number=00098 name=/u01/oradata/HRCS90/ptprc.dbf
    input datafile file number=00037 name=/u01/oradata/HRCS90/eoewapp.dbf
    input datafile file number=00032 name=/u01/oradata/HRCS90/eoecapp.dbf
    input datafile file number=00086 name=/u01/oradata/HRCS90/piapp.dbf
    input datafile file number=00099 name=/u01/oradata/HRCS90/ptprjwk.dbf
    input datafile file number=00019 name=/u01/oradata/HRCS90/cularge.dbf
    input datafile file number=00035 name=/u01/oradata/HRCS90/eoeiapp.dbf
    input datafile file number=00045 name=/u01/oradata/HRCS90/eoppapp.dbf
    input datafile file number=00076 name=/u01/oradata/HRCS90/hrslarge.dbf
    input datafile file number=00044 name=/u01/oradata/HRCS90/eoltapp.dbf
    input datafile file number=00094 name=/u01/oradata/HRCS90/ptappe.dbf
    input datafile file number=00050 name=/u01/oradata/HRCS90/eplarge.dbf
    input datafile file number=00084 name=/u01/oradata/HRCS90/pcapp.dbf
    input datafile file number=00111 name=/u01/oradata/HRCS90/sacapp.dbf
    input datafile file number=00100 name=/u01/oradata/HRCS90/ptrpts.dbf
    input datafile file number=00023 name=/u01/oradata/HRCS90/eobfapp.dbf
    input datafile file number=00096 name=/u01/oradata/HRCS90/ptcmstar.dbf
    input datafile file number=00108 name=/u01/oradata/HRCS90/pylarge.dbf
    input datafile file number=00016 name=/u01/oradata/HRCS90/cularg1.dbf
    input datafile file number=00018 name=/u01/oradata/HRCS90/cularg3.dbf
    input datafile file number=00025 name=/u01/oradata/HRCS90/eocmapp.dbf
    input datafile file number=00027 name=/u01/oradata/HRCS90/eocmwrk.dbf
    input datafile file number=00029 name=/u01/oradata/HRCS90/eoculrg.dbf
    input datafile file number=00033 name=/u01/oradata/HRCS90/eoeclrg.dbf
    input datafile file number=00036 name=/u01/oradata/HRCS90/eoeilrg.dbf
    input datafile file number=00039 name=/u01/oradata/HRCS90/eoewwrk.dbf
    input datafile file number=00041 name=/u01/oradata/HRCS90/eoiulrg.dbf
    input datafile file number=00046 name=/u01/oradata/HRCS90/eopplrg.dbf
    input datafile file number=00048 name=/u01/oradata/HRCS90/eotplrg.dbf
    input datafile file number=00053 name=/u01/oradata/HRCS90/erwork.dbf
    input datafile file number=00061 name=/u01/oradata/HRCS90/gpdeapp.dbf
    input datafile file number=00072 name=/u01/oradata/HRCS90/hrlarg1.dbf
    input datafile file number=00079 name=/u01/oradata/HRCS90/htapp.dbf
    input datafile file number=00087 name=/u01/oradata/HRCS90/pilarge.dbf
    input datafile file number=00120 name=/u01/oradata/HRCS90/waapp.dbf
    channel ORA_DISK_1: starting piece 1 at 01-DEC-13
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of backup plus archivelog command at 12/01/2013 17:52:45
    ORA-19504: failed to create file "/backup_Database_Instance_HRCS90/full_0boqei2c_11_1"
    ORA-27040: file create error, unable to create file
    Linux-x86_64 Error: 13: Permission denied
    RMAN>
    RMAN>
    RMAN>
    RMAN>
    RMAN> backup as backupset database;
    Starting backup at 01-DEC-13
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting full datafile backup set
    channel ORA_DISK_1: specifying datafile(s) in backup set
    input datafile file number=00001 name=/u01/oradata/HRCS90/system01.dbf
    input datafile file number=00090 name=/u01/oradata/HRCS90/psimage.dbf
    input datafile file number=00060 name=/u01/oradata/HRCS90/gpapp.dbf
    input datafile file number=00119 name=/u01/oradata/HRCS90/tlwork.dbf
    input datafile file number=00102 name=/u01/oradata/HRCS90/pttlrg.dbf
    input datafile file number=00054 name=/u01/oradata/HRCS90/faapp.dbf
    input datafile file number=00110 name=/u01/oradata/HRCS90/saapp.dbf
    input datafile file number=00101 name=/u01/oradata/HRCS90/pttbl.dbf
    input datafile file number=00002 name=/u01/oradata/HRCS90/sysaux01.dbf
    input datafile file number=00106 name=/u01/oradata/HRCS90/py0lrg.dbf
    input datafile file number=00004 name=/u01/oradata/HRCS90/psdefault.dbf
    input datafile file number=00117 name=/u01/oradata/HRCS90/tlapp.dbf
    input datafile file number=00007 name=/u01/oradata/HRCS90/adapp.dbf
    input datafile file number=00082 name=/u01/oradata/HRCS90/paapp.dbf
    input datafile file number=00074 name=/u01/oradata/HRCS90/hrsapp.dbf
    input datafile file number=00092 name=/u01/oradata/HRCS90/ptamsg.dbf
    input datafile file number=00056 name=/u01/oradata/HRCS90/fgapp.dbf
    input datafile file number=00114 name=/u01/oradata/HRCS90/stapp.dbf
    input datafile file number=00005 name=/u01/oradata/HRCS90/aaapp.dbf
    input datafile file number=00118 name=/u01/oradata/HRCS90/tllarge.dbf
    input datafile file number=00009 name=/u01/oradata/HRCS90/avapp.dbf
    input datafile file number=00065 name=/u01/oradata/HRCS90/hrapp2.dbf
    input datafile file number=00078 name=/u01/oradata/HRCS90/hrwork.dbf
    input datafile file number=00116 name=/u01/oradata/HRCS90/stwork.dbf
    input datafile file number=00077 name=/u01/oradata/HRCS90/hrswork.dbf
    input datafile file number=00115 name=/u01/oradata/HRCS90/stlarge.dbf
    input datafile file number=00049 name=/u01/oradata/HRCS90/epapp.dbf
    input datafile file number=00098 name=/u01/oradata/HRCS90/ptprc.dbf
    input datafile file number=00037 name=/u01/oradata/HRCS90/eoewapp.dbf
    input datafile file number=00032 name=/u01/oradata/HRCS90/eoecapp.dbf
    input datafile file number=00086 name=/u01/oradata/HRCS90/piapp.dbf
    input datafile file number=00099 name=/u01/oradata/HRCS90/ptprjwk.dbf
    input datafile file number=00019 name=/u01/oradata/HRCS90/cularge.dbf
    input datafile file number=00035 name=/u01/oradata/HRCS90/eoeiapp.dbf
    input datafile file number=00045 name=/u01/oradata/HRCS90/eoppapp.dbf
    input datafile file number=00076 name=/u01/oradata/HRCS90/hrslarge.dbf
    input datafile file number=00044 name=/u01/oradata/HRCS90/eoltapp.dbf
    input datafile file number=00094 name=/u01/oradata/HRCS90/ptappe.dbf
    input datafile file number=00050 name=/u01/oradata/HRCS90/eplarge.dbf
    input datafile file number=00084 name=/u01/oradata/HRCS90/pcapp.dbf
    input datafile file number=00111 name=/u01/oradata/HRCS90/sacapp.dbf
    input datafile file number=00100 name=/u01/oradata/HRCS90/ptrpts.dbf
    input datafile file number=00023 name=/u01/oradata/HRCS90/eobfapp.dbf
    input datafile file number=00096 name=/u01/oradata/HRCS90/ptcmstar.dbf
    input datafile file number=00108 name=/u01/oradata/HRCS90/pylarge.dbf
    input datafile file number=00016 name=/u01/oradata/HRCS90/cularg1.dbf
    input datafile file number=00018 name=/u01/oradata/HRCS90/cularg3.dbf
    input datafile file number=00025 name=/u01/oradata/HRCS90/eocmapp.dbf
    input datafile file number=00027 name=/u01/oradata/HRCS90/eocmwrk.dbf
    input datafile file number=00029 name=/u01/oradata/HRCS90/eoculrg.dbf
    input datafile file number=00033 name=/u01/oradata/HRCS90/eoeclrg.dbf
    input datafile file number=00036 name=/u01/oradata/HRCS90/eoeilrg.dbf
    input datafile file number=00039 name=/u01/oradata/HRCS90/eoewwrk.dbf
    input datafile file number=00041 name=/u01/oradata/HRCS90/eoiulrg.dbf
    input datafile file number=00046 name=/u01/oradata/HRCS90/eopplrg.dbf
    input datafile file number=00048 name=/u01/oradata/HRCS90/eotplrg.dbf
    input datafile file number=00053 name=/u01/oradata/HRCS90/erwork.dbf
    input datafile file number=00061 name=/u01/oradata/HRCS90/gpdeapp.dbf
    input datafile file number=00072 name=/u01/oradata/HRCS90/hrlarg1.dbf
    input datafile file number=00079 name=/u01/oradata/HRCS90/htapp.dbf
    input datafile file number=00087 name=/u01/oradata/HRCS90/pilarge.dbf
    input datafile file number=00120 name=/u01/oradata/HRCS90/waapp.dbf
    channel ORA_DISK_1: starting piece 1 at 01-DEC-13
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 12/01/2013 17:56:51
    ORA-19504: failed to create file "/backup_Database_Instance_HRCS90/full_0coqeia5_12_1"
    ORA-27040: file create error, unable to create file
    Linux-x86_64 Error: 13: Permission denied
    As we see the above last 2 commands, either archive or noarchive, I get the same error:
    Archive: ORA-19504: "failed to create file /backup_Database_Instance_HRCS90/full_0boqei2c_11_1"
    Noarchive: ORA-19504: "failed to create file /backup_Database_Instance_HRCS90/full_0coqeia5_12_1" 
    My question is:
    What is the file "full_0boqei2c_11_1" or "full_0coqeia5_12_1" ?  How to solve the above error ?
    Thanks.

  • How to backup ARD database/settings/etc

    I'm about to test Boot Camp on my one-and-only iMac (others are in classrooms and I can't trash them) and would like to know how to backup my ARD database, its settings, and the scripts, etc, that I have created in ARD before testing Boot Camp.
    How do I completely backup (and restore) ARD?

    In your home folder Library/Preferences/ you want to back up
    com.apple.RemoteDesktop.plist
    (To verify that this is the file, try making a change to your ARD Admin setup, say create a new list, and note that the file changes its date modified.)

  • How to backup oracle database in C# application

    Hi,
    Could anyone please tell me about a full script that will backup my Oracle XE "Express" database. I have user schema and it has tables with data and I want to backup them. I hope someone tell me how. I want to do it inside a button so it can be easy for me to just press on button and it will continue its job. Thank you very much for your help.
    Any method is appreciated from you. So I just need the way that I can do it. In Oracle forms I used to use exp but in C# I don't how.

    ok
    Even this is ODBC forum, you could check for $ORACLE_HOME/bin/Backup.bat ... analize that script. You could call it from c# with Process Class, and process.startinfo.
    Regards
    Florin

  • How to bring MSSQL database from suspended mode to online mode?

    Hi,
    I restarted services through SAP MMC & couldnt restart the service. ABAP work processes Ended & disp+work.exe stopped.
    I checked all SAP related & SQL related services; they were up, but when i tried logging in to the database it was in Suspended mode. I could not login to the database.
    Can anyone tell me the reason for my database going to suspended mode & help me getting my MSSQL 2005 database from suspended mode to online mode??
    Thanks,
    Jigar

    I somehow managed to get my database up but still when i m trying to start the services from SAP MMC then disp+work.exe stops after  sometime.
    Below is the developer trace of disp+work.exe ; plz help
    trc file: "dev_disp", trc level: 1, release: "700"
    sysno      00
    sid        PRD
    systemid   560 (PC with Windows NT)
    relno      7000
    patchlevel 0
    patchno    133
    intno      20050900
    make:      multithreaded, Unicode, optimized
    pid        1888
    Tue Feb 26 14:34:16 2008
    kernel runs with dp version 232000(ext=109000) (@(#) DPLIB-INT-VERSION-232000-UC)
    length of sys_adm_ext is 576 bytes
    SWITCH TRC-HIDE on ***
    ***LOG Q00=> DpSapEnvInit, DPStart (00 1888) [dpxxdisp.c   1239]
         shared lib "dw_xml.dll" version 133 successfully loaded
         shared lib "dw_xtc.dll" version 133 successfully loaded
         shared lib "dw_stl.dll" version 133 successfully loaded
         shared lib "dw_gui.dll" version 133 successfully loaded
         shared lib "dw_mdm.dll" version 133 successfully loaded
    rdisp/softcancel_sequence :  -> 0,5,-1
    use internal message server connection to port 3900
    Tue Feb 26 14:34:22 2008
    WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 5 seconds
    ***LOG GZZ=> 1 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c  5371]
    MtxInit: 30000 0 0
    DpSysAdmExtInit: ABAP is active
    DpSysAdmExtInit: VMC (JAVA VM in WP) is not active
    DpIPCInit2: start server >srvsappd_PRD_00                         <
    DpShMCreate: sizeof(wp_adm)          30160     (1436)
    DpShMCreate: sizeof(tm_adm)          4270848     (21248)
    DpShMCreate: sizeof(wp_ca_adm)          24000     (80)
    DpShMCreate: sizeof(appc_ca_adm)     8000     (80)
    DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528056/528064
    DpShMCreate: sizeof(comm_adm)          528064     (1048)
    DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
    DpShMCreate: sizeof(slock_adm)          0     (96)
    DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    DpShMCreate: sizeof(file_adm)          0     (72)
    DpShMCreate: sizeof(vmc_adm)          0     (1544)
    DpShMCreate: sizeof(wall_adm)          (38456/34360/64/184)
    DpShMCreate: sizeof(gw_adm)     48
    DpShMCreate: SHM_DP_ADM_KEY          (addr: 068C0040, size: 4942392)
    DpShMCreate: allocated sys_adm at 068C0040
    DpShMCreate: allocated wp_adm at 068C2090
    DpShMCreate: allocated tm_adm_list at 068C9660
    DpShMCreate: allocated tm_adm at 068C9690
    DpShMCreate: allocated wp_ca_adm at 06CDC190
    DpShMCreate: allocated appc_ca_adm at 06CE1F50
    DpShMCreate: allocated comm_adm at 06CE3E90
    DpShMCreate: system runs without slock table
    DpShMCreate: system runs without file table
    DpShMCreate: allocated vmc_adm_list at 06D64D50
    DpShMCreate: allocated gw_adm at 06D64D90
    DpShMCreate: system runs without vmc_adm
    DpShMCreate: allocated ca_info at 06D64DC0
    DpShMCreate: allocated wall_adm at 06D64DC8
    MBUF state OFF
    DpCommInitTable: init table for 500 entries
    ThTaskStatus: rdisp/reset_online_during_debug 0
    Tue Feb 26 14:34:23 2008
    EmInit: MmSetImplementation( 2 ).
    MM global diagnostic options set: 0
    <ES> client 0 initializing ....
    <ES> InitFreeList
    <ES> block size is 1024 kByte.
    Using implementation view
    <EsNT> Using memory model view.
    <EsNT> Memory Reset disabled as NT default
    <ES> 1023 blocks reserved for free list.
    ES initialized.
    Tue Feb 26 14:34:25 2008
    rdisp/http_min_wait_dia_wp : 1 -> 1
    ***LOG CPS=> DpLoopInit, ICU ( 3.0 3.0 4.0.1) [dpxxdisp.c   1629]
    ***LOG Q0K=> DpMsAttach, mscon ( srvsappd) [dpxxdisp.c   11799]
    DpStartStopMsg: send start message (myname is >srvsappd_PRD_00                         <)
    DpStartStopMsg: start msg sent
    CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
    Tue Feb 26 14:34:26 2008
    CCMS: start to initalize 3.X shared alert area (first segment).
    DpMsgAdmin: Set release to 7000, patchlevel 0
    MBUF state PREPARED
    MBUF component UP
    DpMBufHwIdSet: set Hardware-ID
    ***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c   1050]
    DpMsgAdmin: Set patchno for this platform to 133
    Release check o.K.
    Tue Feb 26 14:35:05 2008
    ERROR => DpHdlDeadWp: W0 (pid 888) died [dpxxdisp.c   14507]
    ERROR => DpHdlDeadWp: W1 (pid 2704) died [dpxxdisp.c   14507]
    ERROR => DpHdlDeadWp: W2 (pid 924) died [dpxxdisp.c   14507]
    ERROR => DpHdlDeadWp: W3 (pid 2088) died [dpxxdisp.c   14507]
    ERROR => DpHdlDeadWp: W4 (pid 1780) died [dpxxdisp.c   14507]
    ERROR => DpHdlDeadWp: W5 (pid 2932) died [dpxxdisp.c   14507]
    ERROR => DpHdlDeadWp: W6 (pid 1328) died [dpxxdisp.c   14507]
    ERROR => DpHdlDeadWp: W7 (pid 1332) died [dpxxdisp.c   14507]
    ERROR => DpHdlDeadWp: W8 (pid 2948) died [dpxxdisp.c   14507]
    ERROR => DpHdlDeadWp: W9 (pid 492) died [dpxxdisp.c   14507]
    my types changed after wp death/restart 0xbf --> 0xbe
    ERROR => DpHdlDeadWp: W10 (pid 1976) died [dpxxdisp.c   14507]
    ERROR => DpHdlDeadWp: W11 (pid 2288) died [dpxxdisp.c   14507]
    ERROR => DpHdlDeadWp: W12 (pid 2716) died [dpxxdisp.c   14507]
    my types changed after wp death/restart 0xbe --> 0xbc
    ERROR => DpHdlDeadWp: W13 (pid 2564) died [dpxxdisp.c   14507]
    my types changed after wp death/restart 0xbc --> 0xb8
    ERROR => DpHdlDeadWp: W14 (pid 712) died [dpxxdisp.c   14507]
    ERROR => DpHdlDeadWp: W15 (pid 3080) died [dpxxdisp.c   14507]
    ERROR => DpHdlDeadWp: W16 (pid 1588) died [dpxxdisp.c   14507]
    ERROR => DpHdlDeadWp: W17 (pid 3084) died [dpxxdisp.c   14507]
    my types changed after wp death/restart 0xb8 --> 0xb0
    ERROR => DpHdlDeadWp: W18 (pid 1616) died [dpxxdisp.c   14507]
    my types changed after wp death/restart 0xb0 --> 0xa0
    ERROR => DpHdlDeadWp: W19 (pid 2856) died [dpxxdisp.c   14507]
    ERROR => DpHdlDeadWp: W20 (pid 1912) died [dpxxdisp.c   14507]
    my types changed after wp death/restart 0xa0 --> 0x80
    DP_FATAL_ERROR => DpWPCheck: no more work processes
    DISPATCHER EMERGENCY SHUTDOWN ***
    increase tracelevel of WPs
    NiWait: sleep (10000ms) ...
    NiISelect: timeout 10000ms
    NiISelect: maximum fd=1505
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Tue Feb 26 14:35:15 2008
    NiISelect: TIMEOUT occured (10000ms)
    dump system status
    Workprocess Table (long)               Tue Feb 26 09:05:15 2008
    ========================
    No Ty. Pid      Status  Cause Start Err Sem CPU    Time  Program          Cl  User         Action                    Table
    0 DIA      888 Ended         no      1   0        0                                                                         
    1 DIA     2704 Ended         no      1   0        0                                                                         
    2 DIA      924 Ended         no      1   0        0                                                                         
    3 DIA     2088 Ended         no      1   0        0                                                                         
    4 DIA     1780 Ended         no      1   0        0                                                                         
    5 DIA     2932 Ended         no      1   0        0                                                                         
    6 DIA     1328 Ended         no      1   0        0                                                                         
    7 DIA     1332 Ended         no      1   0        0                                                                         
    8 DIA     2948 Ended         no      1   0        0                                                                         
    9 DIA      492 Ended         no      1   0        0                                                                         
    10 UPD     1976 Ended         no      1   0        0                                                                         
    11 UPD     2288 Ended         no      1   0        0                                                                         
    12 UPD     2716 Ended         no      1   0        0                                                                         
    13 ENQ     2564 Ended         no      1   0        0                                                                         
    14 BTC      712 Ended         no      1   0        0                                                                         
    15 BTC     3080 Ended         no      1   0        0                                                                         
    16 BTC     1588 Ended         no      1   0        0                                                                         
    17 BTC     3084 Ended         no      1   0        0                                                                         
    18 SPO     1616 Ended         no      1   0        0                                                                         
    19 UP2     2856 Ended         no      1   0        0                                                                         
    20 UP2     1912 Ended         no      1   0        0                                                                         
    Dispatcher Queue Statistics               Tue Feb 26 09:05:15 2008
    ===========================
    --------++++--
    +
    Typ
    now
    high
    max
    writes
    reads
    --------++++--
    +
    NOWP
    0
    4
    2000
    5
    5
    --------++++--
    +
    DIA
    5
    5
    2000
    5
    0
    --------++++--
    +
    UPD
    0
    0
    2000
    0
    0
    --------++++--
    +
    ENQ
    0
    0
    2000
    0
    0
    --------++++--
    +
    BTC
    0
    0
    2000
    0
    0
    --------++++--
    +
    SPO
    0
    0
    2000
    0
    0
    --------++++--
    +
    UP2
    0
    0
    2000
    0
    0
    --------++++--
    +
    max_rq_id          12
    wake_evt_udp_now     0
    wake events           total     8,  udp     2 ( 25%),  shm     6 ( 75%)
    since last update     total     8,  udp     2 ( 25%),  shm     6 ( 75%)
    Dump of tm_adm structure:               Tue Feb 26 09:05:15 2008
    =========================
    Term    uid  man user    term   lastop  mod wp  ta   a/i (modes)
    Workprocess Comm. Area Blocks               Tue Feb 26 09:05:15 2008
    =============================
    Slots: 300, Used: 1, Max: 0
    --------++--
    +
    id
    owner
    pid
    eyecatcher
    --------++--
    +
    0
    DISPATCHER
    -1
    WPCAAD000
    NiWait: sleep (5000ms) ...
    NiISelect: timeout 5000ms
    NiISelect: maximum fd=1505
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Tue Feb 26 14:35:20 2008
    NiISelect: TIMEOUT occured (5000ms)
    DpHalt: shutdown server >srvsappd_PRD_00                         < (normal)
    DpJ2eeDisableRestart
    DpModState: buffer in state MBUF_PREPARED
    NiBufSend starting
    NiIWrite: hdl 2 sent data (wrt=110,pac=1,MESG_IO)
    MsINiWrite: sent 110 bytes
    MsIModState: change state to SHUTDOWN
    DpModState: change server state from STARTING to SHUTDOWN
    Switch off Shared memory profiling
    ShmProtect( 57, 3 )
    ShmProtect(SHM_PROFILE, SHM_PROT_RW
    ShmProtect( 57, 1 )
    ShmProtect(SHM_PROFILE, SHM_PROT_RD
    DpWakeUpWps: wake up all wp's
    Stop work processes
    Stop gateway
    killing process (2404) (SOFT_KILL)
    Stop icman
    killing process (308) (SOFT_KILL)
    Terminate gui connections
    wait for end of work processes
    wait for end of gateway
    [DpProcDied] Process lives  (PID:2404  HANDLE:1476)
    waiting for termination of gateway ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1505
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Tue Feb 26 14:35:21 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process died  (PID:2404  HANDLE:1476)
    wait for end of icman
    [DpProcDied] Process lives  (PID:308  HANDLE:1484)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1505
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Tue Feb 26 14:35:22 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:308  HANDLE:1484)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1505
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Tue Feb 26 14:35:23 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:308  HANDLE:1484)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1505
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Tue Feb 26 14:35:24 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:308  HANDLE:1484)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1505
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Tue Feb 26 14:35:25 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:308  HANDLE:1484)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1505
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Tue Feb 26 14:35:26 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:308  HANDLE:1484)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1505
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Tue Feb 26 14:35:27 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:308  HANDLE:1484)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1505
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Tue Feb 26 14:35:28 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:308  HANDLE:1484)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1505
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Tue Feb 26 14:35:29 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:308  HANDLE:1484)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1505
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Tue Feb 26 14:35:30 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:308  HANDLE:1484)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1505
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Tue Feb 26 14:35:31 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process lives  (PID:308  HANDLE:1484)
    waiting for termination of icman ...
    NiWait: sleep (1000ms) ...
    NiISelect: timeout 1000ms
    NiISelect: maximum fd=1505
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Tue Feb 26 14:35:32 2008
    NiISelect: TIMEOUT occured (1000ms)
    [DpProcDied] Process died  (PID:308  HANDLE:1484)
    DpStartStopMsg: send stop message (myname is >srvsappd_PRD_00                         <)
    NiIMyHostName: hostname = 'srvsappd'
    AdGetSelfIdentRecord: >                                                                           <
    AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 4 (AD_STARTSTOP), ser 0, ex 0, errno 0
    DpConvertRequest: net size = 189 bytes
    NiBufSend starting
    NiIWrite: hdl 2 sent data (wrt=562,pac=1,MESG_IO)
    MsINiWrite: sent 562 bytes
    send msg (len 110+452) to name                    -, type 4, key -
    DpStartStopMsg: stop msg sent
    NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=274
    NiBufIIn: packet complete for hdl 2
    NiBufReceive starting
    MsINiRead: received 274 bytes
    MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
    DpHalt: received 164 bytes from message server
    NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=274
    NiBufIIn: packet complete for hdl 2
    NiBufReceive starting
    MsINiRead: received 274 bytes
    MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
    DpHalt: received 164 bytes from message server
    NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=274
    NiBufIIn: packet complete for hdl 2
    NiBufReceive starting
    MsINiRead: received 274 bytes
    MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
    DpHalt: received 164 bytes from message server
    NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=274
    NiBufIIn: packet complete for hdl 2
    NiBufReceive starting
    MsINiRead: received 274 bytes
    MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
    DpHalt: received 164 bytes from message server
    NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=274
    NiBufIIn: packet complete for hdl 2
    NiBufReceive starting
    MsINiRead: received 274 bytes
    MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
    DpHalt: received 164 bytes from message server
    NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=274
    NiBufIIn: packet complete for hdl 2
    NiBufReceive starting
    MsINiRead: received 274 bytes
    MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
    DpHalt: received 164 bytes from message server
    NiIRead: hdl 2 received data (rcd=274,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=274
    NiBufIIn: packet complete for hdl 2
    NiBufReceive starting
    MsINiRead: received 274 bytes
    MSG received, len 110+164, flag 1, from MSG_SERVER          , typ 0, key -
    DpHalt: received 164 bytes from message server
    NiIRead: hdl 2 recv would block (errno=EAGAIN)
    NiIRead: read for hdl 2 timed out (0ms)
    DpHalt: no more messages from the message server
    DpHalt: send keepalive to synchronize with the message server
    NiBufSend starting
    NiIWrite: hdl 2 sent data (wrt=114,pac=1,MESG_IO)
    MsINiWrite: sent 114 bytes
    send msg (len 110+4) to name           MSG_SERVER, type 0, key -
    MsSndName: MS_NOOP ok
    Send 4 bytes to MSG_SERVER
    NiIRead: hdl 2 recv would block (errno=EAGAIN)
    NiIPeek: peek successful for hdl 2 (r)
    NiIRead: hdl 2 received data (rcd=114,pac=1,MESG_IO)
    NiBufIIn: NIBUF len=114
    NiBufIIn: packet complete for hdl 2
    NiBufReceive starting
    MsINiRead: received 114 bytes
    MSG received, len 110+4, flag 3, from MSG_SERVER          , typ 0, key -
    Received 4 bytes from MSG_SERVER                             
    Received opcode MS_NOOP from msg_server, reply MSOP_OK
    MsOpReceive: ok
    MsSendKeepalive : keepalive sent to message server
    NiIRead: hdl 2 recv would block (errno=EAGAIN)
    Tue Feb 26 14:35:33 2008
    NiIPeek: peek for hdl 2 timed out (r; 1000ms)
    NiIRead: read for hdl 2 timed out (1000ms)
    DpHalt: no more messages from the message server
    DpHalt: sync with message server o.k.
    detach from message server
    ***LOG Q0M=> DpMsDetach, ms_detach () [dpxxdisp.c   12145]
    NiBufSend starting
    NiIWrite: hdl 2 sent data (wrt=110,pac=1,MESG_IO)
    MsINiWrite: sent 110 bytes
    MsIDetach: send logout to msg_server
    MsIDetach: call exit function
    DpMsShutdownHook called
    NiBufISelUpdate: new MODE -- (r-) for hdl 2 in set0
    SiSelNSet: set events of sock 1380 to: ---
    NiBufISelRemove: remove hdl 2 from set0
    SiSelNRemove: removed sock 1380 (pos=2)
    SiSelNRemove: removed sock 1380
    NiSelIRemove: removed hdl 2
    MBUF state OFF
    AdGetSelfIdentRecord: >                                                                           <
    AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    blks_in_queue/wp_ca_blk_no/wp_max_no = 1/300/21
    LOCK WP ca_blk 1
    make DISP owner of wp_ca_blk 1
    DpRqPutIntoQueue: put request into queue (reqtype 1, prio LOW, rq_id 15)
    MBUF component DOWN
    NiICloseHandle: shutdown and close hdl 2 / sock 1380
    NiBufIClose: clear extension for hdl 2
    MsIDetach: detach MS-system
    cleanup EM
    EsCleanup ....
    EmCleanup() -> 0
    Es2Cleanup: Cleanup ES2
    ***LOG Q05=> DpHalt, DPStop ( 1888) [dpxxdisp.c   10417]
    Good Bye .....

  • How to backup DPF Database

    Dear Experts,
    We planned to upgrade or BI system from viper to cobra, prior to the activities we'd like to have a full backup of the database. Please provide us the command to run the backup with DPF is utilized, and also the restore command as well.
    Thanks for your kind reply.
    Regards,
    Rudi

    Hello Rudi,
    the command you might want to have ist the following:
    "db2 backup database <db_name> on all dbpartitionnums to /<backup_directory> "
    You're also able to backup specific partitions. To have an overview of all options, please refer to the [DB2 9.5 Documentation page of the BACKUP DB command|http://publib.boulder.ibm.com/infocenter/db2luw/v9r5/topic/com.ibm.db2.luw.admin.cmd.doc/doc/r0001933.html?resultof=%22%62%61%63%6b%75%70%22%20]
    Now the restore. In my opinion at backup time there's on file each partition created. According to that you must restore every partition seperately with the "db2 restore db to </path>" command. ([Refer to this page|http://publib.boulder.ibm.com/infocenter/db2luw/v9r5/topic/com.ibm.db2.luw.admin.cmd.doc/doc/r0001976.html?resultof=%22%52%45%53%54%4f%52%45%22%20%22%72%65%73%74%6f%72%22%20%22%44%41%54%41%42%41%53%45%22%20%22%64%61%74%61%62%61%22%20])
    I will check that and correct it if this might be not true.
    I hopethis helps you for now.
    Best regards,
    Marcel
    Edited by: Marcel Csonka on Oct 8, 2009 8:09 AM

  • How to backup RMS database to PC?

    Hi! Is it possible in j2me to backup the internal RMS db in the device to a PC for example?
    My main objective is to transfer the db to another device but j2me doesn't support infrared. Therefore, my last resort is to save the internal db of a Java-enables phone/palm to the PC and transfer it to another device from the PC again.
    Thank you in advance!

    Hi,
    You can use Oxygen Phone Manager.
    Note: Only works for Nokia/Symbian phones.
    You can backup everything.....
    I recommend...

  • How to backup more than one database using powershell

    I am Trying to backup more than one database using the following script but no luck. I want user to type on command line the database they want to backup, e.g all databases that have "test" at the front like test.inventory, test.sales so i want
    user to type test.* and it backs up all databases related to test. Here is the script
        #$date = Get-Date -Format yyyyMMddHHmmss
        #$dbname = 'test.inventory'
        $dbToBackup = "test.inventory"
        cls
        [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.SMO") | Out-Null
        [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.SmoExtended") | 
        Out-Null
        [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.ConnectionInfo") 
        | Out-Null
        [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.SmoEnum") | Out-
        Null
        Add-Type -AssemblyName "Microsoft.SqlServer.Smo, Version=10.0.0.0, Culture=neutral,   
        PublicKeyToken=89845dcd8080cc91"
        $server = New-Object Microsoft.SqlServer.Management.Smo.Server($env:ComputerName) 
        $server.Properties["BackupDirectory"].Value = "C:\_DBbackups"
        $server.Alter()
        $backupDirectory = $server.Settings.BackupDirectory
        #display default backup directory
        "Default Backup Directory: " + $backupDirectory
        $db = $server.Databases[$dbToBackup]
        $dbName = $db.Name
        $timestamp = Get-Date -format yyyyMMddHHmmss
        $smoBackup = New-Object ("Microsoft.SqlServer.Management.Smo.Backup")
        #BackupActionType specifies the type of backup.
        #Options are Database, Files, Log
        #This belongs in Microsoft.SqlServer.SmoExtended assembly
        $smoBackup.Action = "Database"
        $smoBackup.BackupSetDescription = "Full Backup of " + $dbName
        $smoBackup.BackupSetName = $dbName + " Backup"
        $smoBackup.Database = $dbName
        $smoBackup.MediaDescription = "Disk"
        $smoBackup.Devices.AddDevice($backupDirectory + "\" + $dbName + "_" + $timestamp +   
        ".bak", "File")
        $smoBackup.SqlBackup($server)
        #let's confirm, let's list list all backup files
        $directory = Get-ChildItem $backupDirectory
        $backupFilesList = $directory | where {$_.extension -eq ".bak"}
        $backupFilesList | Format-Table Name, LastWriteTime

    Or i am using this script which backs up everything except tempdb but dont know how to modify this so that it backs up up all test related databases
    Is there a way that i use test.*
    [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.SMO") | out-null
    $s = new-object ("Microsoft.SqlServer.Management.Smo.Server") $instance
    $bkdir = "C:\_DBbackups" #We define the folder path as a variable 
    $dbs = $s.Databases
    foreach ($db in $dbs) 
         if($db.Name -ne "tempdb") #We don't want to backup the tempdb database 
         $dbname = $db.Name
         $dt = get-date -format yyyyMMddHHmm #We use this to create a file name based on the timestamp
         $dbBackup = new-object ("Microsoft.SqlServer.Management.Smo.Backup")
         $dbBackup.Action = "Database"
         $dbBackup.Database = $dbname
         $dbBackup.Devices.AddDevice($bkdir + "\" + $dbname + "_db_" + $dt + ".bak", "File")
         $dbBackup.SqlBackup($s)

  • How to backup database in Oracle 8.1.6

    Hello all,
    I have an odd question that i meet a error when i backup my
    database in Oracle 8.1.6 using backup management in DBA studio.
    I find the failed detail is verified error.why?but it be done in
    Oracle 8.0.5.
    Thank you ahead.
    Best Regards.
    Devon.Q

    Dear Amardeep,
    The OP opened 2 threads, one how to clone and other one how to rename a database 8. The article I send show how to clone the DB (one of the steps in the clone article is how to rename the DB from"PROD" to "Test"). ;)
    This is the other thread:
    easy way to clone database
    Cheers,
    Francisco Munoz Alvarez
    www.oraclenz.com

  • How to backup an oracle database?

    I am running a oracle server on a windows box.
    using the oracle 92 management console and developer tools.
    Can someone instruct me on how to create a "job" that will backup my oracle databases on a daily basis?
    I am more used to MS-SQL and have no clue how to do it in Oracle.
    Thanks

    Hi,
    this is my weekly script to backup oracle database.
    i run it from cron so you can schedule it in win but you must do same change there
    #!/bin/bash
    . /etc/profile.d/oracle.sh
    TMPDIR=/opt/app/oracle/tmp
    $ORACLE_HOME/bin/rman target / nocatalog log=$TMPDIR/backup_full_`date +'%Y%m%d_%H%M'`.log >/dev/null 2>&1 <<EOF
    set echo on;
    show all;
    crosscheck archivelog all;
    crosscheck backup ;
    delete noprompt expired backup device type disk;
    backup device type disk database tag='FULL_BACKUP';
    backup device type disk archivelog all not backed up;
    delete noprompt obsolete device type disk;
    exit;
    EOF
    exit

  • How to recovery the database from a complete backup

    I have a 10.2.0.3 database with archive log enabled.
    I do a cold backup of database every Sunday night.
    I shutdown the database, copy all the database files, control files and redo logs to a backup disk.
    Then the database started and running again.
    I am trying to test my backup and make sure I can recovery the database to the most current stage using the Sunday backup and the archive logs.
    for example: use the backup from 4/01/2012, recover the database to today 4/04/2012 9:00am.
    What's the steps of doing this?
    I tried to copy all the Sunday backup files to the correct location, start the database, the database is started successfully. However, I don't know how to apply the logs from since the Sunday backup upto now.
    Thanks a lot!

    hi,
    rman is your friend to do backups, restores and recovers of database.
    to do a full recover of database, for example to do a test on your current test database (no in crash):
    rman time:
    startup nomount;
    restore controlfile;
    alter database mount;
    sql now
    select archivelog_change#-1 from v$database;
    then go back to rman and do the following :
    RMAN> run{
    2> set until scn xxxxxx;
    3> restore database;
    4> recover database;
    5> alter database open resetlogs;
    6> }
    **where xxxxx is the result of your sql query
    HTH
    --edit:
    forgot to told that You will need to set your ORACLE_HOME and ORACLE_SID env variables
    Edited by: Me_101 on 04-abr-2012 8:41

Maybe you are looking for

  • Oracle 10 g non-global zones with asynchronous I/O

    Hi, I note that using direct I/O (by setting the forcedirectio while mounting the database file systems) and bypassing the file system cache may improve database performance significantly, but this should be done only for file systems in which databa

  • How to delete Client of SAP_ALL  profile

    I have make one client 800 in sap with SAP_ALL profile . now I want to delete this client because my harddisk space is going to Full. How I will delete Client 800 . So that my Harddisk should be free space.Please tell me step by step Thanks & Regards

  • Java Problem error

    my java i gone from my Powerbook G4 i only get java error,its an 2004 or 2005 modell.

  • Is there a way to remove the percentage complete display?

    When a user is completing the form a 'percentage complete' is displayed.  In my case, the way this is calculated is misleading.  Is there an option to edit or remove this?

  • Add-ons not working after server IP address/domain name change.

    Hello everyone, We have just changed the IP address of our SAP Business One server and moved it into a new domain. Although SAP Business One is working as expected, the add-ins created by a third party do not work. Having very little knowledge of SAP