webMethods

webMethods

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

Create dbfrombackup?

  • 1.  Create dbfrombackup?

    Posted Tue January 08, 2013 03:25 AM

    Hi

    i want to use argbatch on linux to restore / recreate a database backup on our backup system. So start / stop etc with argbatch works perfect but “create dbfrombackup” does not work for me. This is what is use in the script

    source /opt/tamino/sagenv.new
    argbatch set environment target=hostname.domain.intern user=tamino password=tamino product=Tamino
    argbatch create dbfrombackup database=$dbname
    backupspace_0=/opt/tamino/ino/db/backup/$dbid*.1B0
    backuplocation_0=backup
    loglocation_0=log
    logarchivelocation_0=log
    temporaryworkinglocation_0=data
    reservelocation_0=data
    journalspacelocation=data
    indexspacelocation_0=index
    dataspacelocation_0=data \

    and it fails with

    Command ended at: Jan 8, 2013 8:21:44 AM

    [Setting environment for System Management Hub 3.6.1.27]
    [Setting full environment for System Management Hub 3.6.1.27 including RGS settings]
    [done]
    [Setting environment for UTX]
    [done]
    [Setting environment for Tamino XML Server 4.4.1.1]
    [done]

    Command started at: Jan 8, 2013 8:21:44 AM

    Error: (INOAAE0181) database not found

    Command ended at: Jan 8, 2013 8:21:44 AM

    Any hints what i´m doing wrong?
    Best regards
    Olly


    #webMethods
    #API-Management
    #Tamino


  • 2.  RE: Create dbfrombackup?

    Posted Tue January 08, 2013 04:52 AM

    sorry solved it was a mistake in my script :wink:


    #Tamino
    #API-Management
    #webMethods