Author Topic: arsdb -v -y /var/backup , HOW to ADD INCLUDE LOGS switch  (Read 2452 times)

lrfurtado

  • Guest
arsdb -v -y /var/backup , HOW to ADD INCLUDE LOGS switch
« on: November 05, 2012, 08:12:14 AM »
Is there a way to make the online backup generated with arsdb -v -y /var/backup  use the INCLUDE LOGS switch ? This is for a instance of OnDemand using db2 v8.


I have checked a backup generated with arsdb -v -y with "db2ckbkp -h" utitlity and it does not use the INCLUDE LOGS option by default.


If this is not possible is there a special precation I should take if we decide to take this online backup directly with the db2 utilities .


Thanks in advance for your help.

demaya

  • Guest
Re: arsdb -v -y /var/backup , HOW to ADD INCLUDE LOGS switch
« Reply #1 on: November 05, 2012, 08:31:44 AM »
From what I can see it's not possible. I had a look at the newest info center: http://pic.dhe.ibm.com/infocenter/cmod/v9r0m0/index.jsp?topic=%2Fcom.ibm.ondemand.administeringzos.doc%2Farsdb.htm

How about making backup via the db2 tools? I'm doing it this way.

We do it like that:
Code: [Select]
db2 BACKUP DATABASE INSTANCENAME ONLINE <bla bla> INCLUDE LOGS WITHOUT PROMPTING;

You have to run that as instance-owner...

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2231
  • CMOD Guru for hire...
    • Tenacious Consulting
Re: arsdb -v -y /var/backup , HOW to ADD INCLUDE LOGS switch
« Reply #2 on: November 05, 2012, 12:54:09 PM »
Yeah, for anything other than plain old regular DB2 backups, I use the db2 command line to do the work.

You can use:
db2 "? backup database"

To get help with the backup command.  Seek advice from your DBAs, and practise your restores on another system to ensure that they'll work the way you think they do.

-JD.
IBM CMOD Professional Services: http://TenaciousConsulting.com
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Education & Webinars:  https://CMOD.Training/

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR