Results 1 to 8 of 8
  1. #1
    Join Date
    Dec 2002
    Location
    Madrid - Spain
    Posts
    422
    Provided Answers: 1

    Unanswered: requirements for an online backup in db2.

    Good afternoon,
    I need to backup online in a database where users are connected. I have to change some parameter in the configuration of the instance or database?
    I have DB2 8 and AIX 5.3.

    Greetings.
    DBA DB2 for LUW

  2. #2
    Join Date
    Jan 2003
    Posts
    4,292
    Provided Answers: 5
    Try reading the manual. It clearly states in there what you need to do.

    Andy

  3. #3
    Join Date
    Apr 2006
    Location
    Belgium
    Posts
    2,514
    Provided Answers: 11
    don't be afraid.. it is for free..
    BACKUP DATABASE command
    Best Regards, Guy Przytula
    Database Software Consultant
    Good DBAs are not formed in a week or a month. They are created little by little, day by day. Protracted and patient effort is needed to develop good DBAs.
    Spoon feeding : To treat (another) in a way that discourages independent thought or action, as by overindulgence.
    DB2 UDB LUW Certified V7-V8-V9-V9.7-V10.1-V10.5 DB Admin - Advanced DBA -Dprop..
    Information Server Datastage Certified
    http://www.infocura.be

  4. #4
    Join Date
    Dec 2002
    Location
    Madrid - Spain
    Posts
    422
    Provided Answers: 1
    Hi colleagues,
    I am executing this command:
    db2 "backup db ULISES2 online to '/home/ulises' compress"

    and show this error.
    SQL2413N No se permite la copia de seguridad en l¡nea porque la base de datos
    no es recuperable o porque est* activa una condici¢n pendiente de copia de
    seguridad.

    can someone tell me the reason for the error?
    Greetings.
    DBA DB2 for LUW

  5. #5
    Join Date
    Dec 2002
    Location
    Madrid - Spain
    Posts
    422
    Provided Answers: 1
    I have a question about this topic.
    this database is only for querying, it should save the logs of the database?
    DBA DB2 for LUW

  6. #6
    Join Date
    Apr 2006
    Location
    Belgium
    Posts
    2,514
    Provided Answers: 11
    the db has not been enabled for online backup
    if this is a query db - most of the time non recoverable as it can be recreated from source data
    Best Regards, Guy Przytula
    Database Software Consultant
    Good DBAs are not formed in a week or a month. They are created little by little, day by day. Protracted and patient effort is needed to develop good DBAs.
    Spoon feeding : To treat (another) in a way that discourages independent thought or action, as by overindulgence.
    DB2 UDB LUW Certified V7-V8-V9-V9.7-V10.1-V10.5 DB Admin - Advanced DBA -Dprop..
    Information Server Datastage Certified
    http://www.infocura.be

  7. #7
    Join Date
    Dec 2002
    Location
    Madrid - Spain
    Posts
    422
    Provided Answers: 1
    I do not understand your answer, if a database query logs should be set?

    Thank you.
    DBA DB2 for LUW

  8. #8
    Join Date
    Apr 2006
    Location
    Belgium
    Posts
    2,514
    Provided Answers: 11
    "I do not understand your answer, if a database query logs should be set?"

    and I don't understand your question. a db always has logs. the only difference is
    - do we re-use the logs
    - do we archive the logs
    have a look at infocenter to understand what we are talking about.

    Archive logging
    Best Regards, Guy Przytula
    Database Software Consultant
    Good DBAs are not formed in a week or a month. They are created little by little, day by day. Protracted and patient effort is needed to develop good DBAs.
    Spoon feeding : To treat (another) in a way that discourages independent thought or action, as by overindulgence.
    DB2 UDB LUW Certified V7-V8-V9-V9.7-V10.1-V10.5 DB Admin - Advanced DBA -Dprop..
    Information Server Datastage Certified
    http://www.infocura.be

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •