tis-mongotools-for-migration 11

  • package : tis-mongotools-for-migration
  • version : 11
  • description : Binary : mongodump - mongorexport. Used for the migration of wapt server windows to linux
  • maintainer : TIS
  • date : 2018-01-12 19:53:57
  • signer : TRANQUIL IT SYSTEMS
  • signature_date : 20180112-195335
  • min_os_version :
  • min_wapt_version :

setup.py

# -*- coding: utf-8 -*-
from setuphelpers import *

uninstallkey = []

def install():
    if uninstall_key_exists('WAPT Server_is1'):
        for waptserver in installed_softwares('WAPT Server_is1'):
            if Version(waptserver['version']) < Version('1.4'):
                locserver = install_location('WAPT Server_is1')
                filecopyto('mongodump.exe',makepath(locserver,'waptserver','mongodb','mongodump.exe'))
                filecopyto('mongoexport.exe',makepath(locserver,'waptserver','mongodb','mongoexport.exe'))

def uninstall():
    if uninstall_key_exists('WAPT Server_is1'):
        locserver = install_location('WAPT Server_is1')
        remove_file(makepath(locserver,'waptserver','mongodb','mongodump.exe'))
        remove_file(makepath(locserver,'waptserver','mongodb','mongoexport.exe'))
    

manifest

Couldn't retrieve manifest.