Code Monkey home page Code Monkey logo

dp-secure-backup's Introduction

The postings on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.

DataPower Secure Backup automation

This script is used to automate the DataPower Secure Backup process.

Features

  • Creates a Secure Backup on a DataPower gateway.
  • Downloads the backup files to the local filesystem.
  • Optionally, pushes the backup files to a git repository.

Overview

  • XML Management Interface is used to access the DataPower gateway.
  • This script does not quiesce the DataPower gateway.
  • The local folder name consists from the DataPower hostname, the firmware version, and the current timestamp.

Support

Successfully tested setup:

  • DataPower 10.0.5.2.

Configuration overview

Parameter Description Example
DP_SERVER0 DataPower hostname or IP address that is configured for the XML Management Interface. gw.myorg.com
DP_SOMA_PORT_SERVER0 DataPower XML Management Interface port number. 5550
DP_USER_SERVER0 DataPower credentials - username to access the XML Management Interface. admin
DP_PASSWORD_SERVER0 DataPower credentials - password.
DP_CERTIFICATE_SERVER0 DataPower Crypto Certificate that contains the public key to be used in encrypting the secure backup. The object should be preconfigured in the default domain. SB_Cert
INCLUDE_ISCSI Whether to back up the ISCSI device. on | off
INCLUDE_RAID Whether to back up the RAID device. on | off
DESTINATION A directory to place the multiple files that comprise the backup. temporary:/// | local:///
ADD_TO_GIT Whether to push the backup files to a git repository. true | false
GIT_REMOTE_NAME Git repository remote name. origin
GIT_BRANCH_NAME Git branch name. main

Usage

  • Duplicate the provided project configuration template and fill it out.

  • One configuration file per one DataPower gateway.

  • Run the automation script passing the configuration file as an argument. For example:

    ./01-secure-backup.sh dp1.conf

dp-secure-backup's People

Contributors

goshab avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.