/srm_db_tool

DB Tool for SRM

Primary LanguagePython

# SRM DB TOOL

Tool to deal with SRM DB

## Main purpose

  • Assist GSS/CU/Engineer to deal with SRM DB issue more easily
  • Cross Plateform / Cross Database tool

## Language / Tool * python 2.7 up * sqlalchemy * sqlite

# ToDo list

## Phase 1 - [x] Create fake sqlite tables - [x] Backup Framework / sqlite - [x] Configuration Interface - use python structure for now - [x] Manipulate Recovery Plan ```

lsrp lspg rmrp 'rpname' / 'rpmoid' rmpg 'rpname' / 'rpmoid'

```

## Phase 2 - [x] Auto generate table files / list table files / rm table files / consider no more

table .py files
  • [x] centralize/each folder yaml file config
  • [x] standalone backuptb / restoretb
  • [x] standalone lsrp rmrp restorerp

## Phase 3 - [ ] sqlite db metadata - [ ] Protection Group (lspg rmpg)