/PyTSM

TSM library for running easier TSM queries and automatize backup processes.

Primary LanguagePythonGNU Affero General Public License v3.0AGPL-3.0

Overview PyTSM

Requirements

  • Python 3.8+ & pip
  • dsmadmc client

Install

  1. Run virtualenv env

  2. Enter to the environment

    1.1. Windows

    env\Scripts\activate

    1.2. Linux

    source env/bin/activate
  3. Run pip install -r requirements.txt

  4. Setup the /config/tsmConfig.yaml

Gotchas

  • Every script built in /src uses the library /src/lib/tsm.py
  • Global or commmon functions are defined in /src/common
  • All the YAML files are in /config