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

Similar Messages

  • 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

  • Backup DPM database to Azure?

    Is there any way to backup the DPM database to Azure using the Azure backup agent? We previously used an online backup solution from HP, and it had a way to backup your local DPM database directly to the cloud to ensure that you were always able to recover
    the workloads you were storing there. It appears that with DPM you need to handle the DPM database backup completely separate, but I wanted to make sure I was not missing something. Thanks.

    What I've found is that if all the databases are there, but you can't find them doing a search.  Because of that, it seems as though you just have to start doing restores and see what you get to find the correct database.  The one piece of data
    you do get when presented with the replica restore list, is that each replica shows the time it was backed up.  Based on this I'm thinking you could use this backup time as an identifier, but it will take some specific planning in the protection groups.
    Not a very efficient solution by any means, but I guess the data is in the cloud and that's what matters.  I'm also tying to figure out how to restore my DPM server and hook up it back up to Azure to do elegant restores from the cloud, but I'm having
    trouble with that as well.  That's a topic for a different post I suppose though. I keep hoping there's something I'm missing with all of this, but so far that's where I'm at.

  • 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 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

  • 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 reduce DPM Database size.

    Hello All,
    We are running DPM 2012 SP1 in our environment and current DPM DB size is 13 GB and need to reduce the same as it is highly impacting server performance, many times DPM console goes unresponsive or shows incorrect information.
    I couldn't found more information regarding reducing DB size, some suggested to defrag the SQL DB but not sure what is the impact of the same.
    I want to know that if we can reduce the DPM DB size, if YES then does it will affect my Tape information stored in the Catalog, please suggest.
    Our DPM Configuration
    DPM 2012 SP1 (on Windows server 2008 R2)
    Local SQL Server 2008 R2 (on Same DPM Server)
    Current DPM DB size 13 GB
    Backup Type - Daily Disk Full and per hour synchronization + Tape Full Backup
    -Sandesh

    Hi,
    Please go through the steps in
    Guided Walkthrough for Troubleshooting Data Protection Manager console issues
    there are a few steps to help prune tape catalogs and also help defrag / rebuild indexes.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT]
    This posting is provided "AS IS" with no warranties, and confers no rights.

  • 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...

  • Backup DPM 2012 SP1 from Recovery console

    Hi
    I have a problem. I have a server with Windows Server 2008 R2 and DPM 2012 SP1. Because of a recent RAID controler crash i am unable to fix this server to boot to windows. I can only get into recovery console. I see the volumes normaly! So here is a million
    dolar question. How can i backup DPM databases from recovery console so that i can make a full restore when i freshly install new windows and DPM?
    Thanks for all your help in advance.
    Boštjan

    Hi,
    only Thing you need ist MDF and LDF files from DPMDB.
    Try to copy These two files.
    Install your new Serve with same Name and same DPM version
    Restore DB with SQL Management Studio and overwrite the new and existing one
    present DPM Backupstorage to the new server
    Run dpmsync -sync
    Seidl Michael | http://www.techguy.at |
    twitter.com/techguyat | facebook.com/techguyat

  • DPM Database lost, how to access backups?

    Hi there,
    we lost our RAID on which the DPM2010 Server an SQL Database (and other servers...) resided crashed. There is no way we can access the database. The backups are still on a network storage.
    Is there any way we can access those backups? 
    PS: Please don't tell me we should have backup up the database. I know that (by now...) :(
    I just read there is a way to recatalog tapes after the database is lost (http://up2v.nl/2010/12/21/things-to-consider-when-using-microsoft-dpm-and-veeam-backup-replication/). Is there is a similar way for storage pools?
    Greetings,
    Benjamin

    Hi,
    This is an old post but I will attempt to answer anyway. It is ugly when you don't have the DPM database. It sounds like you already know that. There is no way to re-catalog disk based backups or anything close to that. One thing you can do being that you have
    the disks still is to access the replica's directly on the volumes.
    You can go into: (DPMINSTALLDRIVE):\Program Files\Microsoft System Center 2012\DPM\DPM\Volumes\Replica\
    Here you will have multiple folders depending on the type of data you are protecting such as:
    File System
    Microsoft Exchange Writer
    Non VSS Datasource Writer
    SqlServerWriter
    etc
    etc.....
    When you drill down into any of these folders you will see more folders with GUID's. Here is an example of accessing System State data:
    C:\Program Files\Microsoft System Center 2012\DPM\DPM\Volumes\Replica\Non VSS Datasource Writer\vol_357d1b27-92dd-43d8-9859-e5a26f33a2f2\06968cd5-faa7-4697-bdad-f709609504ea\Full\C-Vol\WindowsImageBackup\SERVERNAME\
    This is not ideal but this is an option to access your data.
    My Blog | www.buchatech.com | www.systemcenterportal.com
    If you found this post helpful, please give it a "Helpful" vote. If it answered your question, remember to mark it as an "Answer". This posting is provided "AS IS" with no warranties and confers no rights! Always test ANY suggestion
    in a test environment before implementing!

  • 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)

Maybe you are looking for