Giter Club home page Giter Club logo

ibmi_cloud_backup's Introduction

IBMi_Cloud_Backup

How many times have I herd "How can I backup my IBM i / AS/400 to the cloud?". Then I created a simple CL to backup all libraries to a remote NAS using SFTP/SCP/FTP, and works well till IBM Cloud appears. Today we have IBM Cloud Power Virtual Servers (Power VS) where you can create your LPAR with IBM i/AIX/Linux on Power , and the solution "by the book" is to use IBM Cloud Object Storage (ICOS) + BRMS + ICC . ICOS is really inexpensive, BRMS is a great product, and ICC is easy to use, but...

  • Most users DON'T use BRMS, and it's not so easy to setup, depending on your backup policies, so most people use SAVLIB/SAVDLO/SAV commands
  • ICC needs specific IBM i versions and eats more resources you can expect. BTW: Why is ICC running all the time?
  • BRMS and ICC have a price tag, SAVLIB/SAVDLO/SAV don't
  • If you want to stream files to the cloud you need

That's why I tried to create a simpler solution to use ICOS.

Most solutions on IBM i are Green-Screen , but as long as we need Python (in this case we use S3CMD ) to talk S3 lingo I just created a "simple" BASH script.

Cloud Menu

Pre-Reqs

  • You need to install YUM on your systems, I recommmend using Access Client Solution, and then install this tools:

Python3 readline pigz git p7zip (new addition)

You need to download the .sh to some directory on your IFS, something like "/IBMiCloudBackup/" , change permissions with chmod +x *.sh

Now you just need to adjust values in mnus3_const.sh to reflect your configuration and now you can run mnus3.sh

UPDATE:

The files with "2" use "AWS CLI". On IBM i just type: pip3 install awscli and then you can run "aws configure" to create the files you need to connect to Cloud Object Storage. I think it's some kind faster.

Now the compression is using p7zip

On this update you can backup all your libraries with just one "INTRO" ;-)

ibmi_cloud_backup's People

Contributors

dkesselman avatar

Stargazers

IBM i en Español 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.