vikas-anand-vst-au4 / IBMi_Backup2OneDrive

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IBMi_Backup2OneDrive

Well... this is similar to https://github.com/dkesselman/IBMi_Cloud_Backup , but using OneDrive as a target, because there are lot of people using Office365 and they have 1TB per seat. It's a nice amount of storage for development purposes.

Requirements

In this case we use the project "onedrivecmd" and Python 3, so you need to install:

  • OpenSSH (5733-SC1) and start SSH
  • YUM (install the software)
  • GIT (download the project)
  • PIGZ (compression)
  • ReadLine (input data)
  • Python3

Once you've installed OpenSSH and YUM (I recommend using IBM Access Client Solutions) you can run from your BASH command line (remember to tune your PATH):

yum install git pigz readline python3

Next, you need to install "onedrivecmd":

/QOpenSys/pkgs/bin/pip3 install https://github.com/OneDrive/onedrive-sdk-python/archive/master.zip

/QOpenSys/pkgs/bin/pip3 install onedrivecmd

And now you can download this scripts and change permissions:

cd

chmod +x mnuod*

Now you can run:

./mnuod.sh

OneDrive Backup Menu

Good luck!

About


Languages

Language:Shell 100.0%