DataPower

DataPower

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
  • 1.  Automated backup

    Posted 10 days ago

    Hi Team,

    I am looking for suggestion of taking domain backups in automated way.
    Frequency : Daily.
    Please share the the efficient way to achieve this.
    Any links to blogs will be helpful as well.




    ------------------------------
    Sunil Chaurasia
    ------------------------------


  • 2.  RE: Automated backup

    Posted 10 days ago

    Sunil (didn't you ask about secure backup back in 2023?)

    Generally speaking, what I suspect about 100% of DataPower admins do is to send a request to the XMI (XML Management/SOMA) interface containing an XML payload like this:

    <?xml version="1.0" encoding="UTF-8"?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    	<soapenv:Body>
    		<dp:request xmlns:dp="http://www.datapower.com/schemas/management">
    			<dp:do-backup format="ZIP">
    				<dp:domain name="PROVIDE DOMAIN NAME HERE"/>
    			</dp:do-backup>
    		</dp:request>
    	</soapenv:Body>
    </soapenv:Envelope>
    

    You can use XML for the format, but, it will be faster is compressed.

    You can also provide multiple "dp:domain" sections if you want to handle more than one in a single backup file at a time.

    Then, however you decide to do it, (you can even use cURL to do it), save the result in any desired location.

    Please be aware, though, this is not a secure backup, and, unfortunately, even after years of asking from the DP Admin community, IBM still provides no way to perform a secure backup on a single domain.  You'll have to revisit the question you asked about secure backup back in 2023.



    ------------------------------
    Joseph Morgan
    CEO - Independent
    ------------------------------



  • 3.  RE: Automated backup

    Posted 10 days ago

    Thanks, 
    When we have a cluster with multiple DataPower and we ant to have backups from random devices.
    Can it be achieved?
    I mean today we can have backup from DP 1 and tomorrow DP 2 etc.



    ------------------------------
    Sunil Chaurasia
    ------------------------------



  • 4.  RE: Automated backup

    Posted 9 days ago

    Hi Sunil,

    Of course you can schedule backups, secure or otherwise, with your OS's scheduling capability.  You can write different scripts for it.  We can't help much more unless you have a plan of execution.   As stated in my response, Secure backup is all of them for an appliance, but the "normal" can be done on any number of domains, if not all.

    As Amit noted, you can use any number of tools.  DPOD is the IBM solution, which works great.  Check your DP license.  If you have the Enterprise license, I think DPOD comes with it, but check me on that.   You can use MyArch's dpBuddy, Kumba Software's DPAA, or McIndi MAST to do it.

    But, as much as everyone would like to sell their tools to you, you can just implement as easily as using cURL to do it.  This way you can write any number of curl commands, put them into shell scripts (any OS will work), then schedule them as you wish with scheduler or cron.  



    ------------------------------
    Joseph Morgan
    CEO - Independent
    ------------------------------



  • 5.  RE: Automated backup

    Posted 10 days ago

    DPOD automates backups (both secure backup and export of domains) while applying IBM best practices (quiescing, etc.).

    https://ibm.biz/dpod-docs



    ------------------------------
    Amit Munwes
    ------------------------------