Skip to Main Content
Integration


This is an IBM Automation portal for Integration products. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).


Shape the future of IBM!

We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:

Search existing ideas

Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,

Post your ideas
  1. Post an idea.

  2. Get feedback from the IBM team and other customers to refine your idea.

  3. Follow the idea through the IBM Ideas process.


Specific links you will want to bookmark for future use

Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.

ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.


Status Submitted
Workspace DataPower Gateway
Created by Guest
Created on Nov 26, 2024

DataPower daily/weekly/monthly backups to NFS in GUI

Hello all 

as title suggests it is to have a feature to export backups to NFS storage:

- page view:
- name of backup 
- time that backup it is performed (select time, day/week/month)
- (optional) where to offload backup eg. NFS (by default on local)

Idea comes out as we faced with "bug"/blocker after upgrading from 10.0.1.x to 10.5.0.9 we are not having backups (datapower seem can loopback on rest mgmt)
 
To simplify things would be a good idea to have backups integrated into DataPower functionality and choose offload.
Currently now client have a service:

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
               xmlns:dp="http://www.datapower.com/extensions"
               xmlns:mgmt="http://www.datapower.com/schemas/management" extension-element-prefixes="dp"
               xmlns:date="http://exslt.org/dates-and-times">
       
        <!-- This transformation will extract and decode the backup xml or zip in the soap body then ftp it to a server-->
 
        <xsl:output method="xml"/>
 
        <xsl:template match="/">
               <xsl:call-template name="putFile">
                       <xsl:with-param name="BackUpFile">
                               <!-- Perform a domain backup request call through XML Management Interface -->
                               <dp:url-open target="xxxxx:5550/service/mgmt/current" response="responsecode">
                                      <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
                                              <env:Body>
                                                     <dp:request domain="default"
                                                                     xmlns:dp="http://www.datapower.com/schemas/management">
                                                             <dp:do-backup format="ZIP">
                                                                      <dp:domain name="all-domains"/>
                                                             </dp:do-backup>
                                                     </dp:request>
                                                     <!-- ************************************* -->
                                              </env:Body>
                                      </env:Envelope>
                               </dp:url-open>
                       </xsl:with-param>
               </xsl:call-template>
        </xsl:template>
 
        <!-- function putFile will decode the encoded binary64 backup of domains response and ftp it to a location -->
        <xsl:template name="putFile">
               <xsl:param name="BackUpFile"/>
 
               <xsl:if test="$BackUpFile='' ">
                       <xsl:message dp:type="backup" dp:priority="alert">Backup request fails</xsl:message>
                       <dp:reject/>
               </xsl:if>
 
               <!-- Extract the export content string -->
               <xsl:variable name="encBackUpFile" select="string($BackUpFile//mgmt:file)"/>
                  
               <!-- Send it to an NFS Server -->
               <xsl:variable name="date" select="substring-before(date:date-time(),':')"/>
               <xsl:variable name="fileDate" select="concat('Bck', $date)"/>
               <xsl:variable name="filename" select="concat($fileDate,'prodlj.zip')"/>
               <xsl:variable name="nfs-put-url"
                               select="concat('dpnfs://NFSbackup/',$filename)"/>
               <dp:url-open target="{$nfs-put-url}" response="ignore" data-type="base64">
                       <xsl:value-of select="$encBackUpFile"/>
               </dp:url-open>
        </xsl:template>
</xsl:stylesheet>
Idea priority Urgent