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-02-27 19:02:32

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'))
    

Changelog

No changelog
    

manifest.sha256

[["WAPT/certificate.crt", "79e5388683c0b6cb03f4f81e4e58e3a11463b2b6cf169dd9c453098027dcfaa4"], ["WAPT/wapt.psproj", "8a94d62111718b67e95ec48d12bcdef1fdbfec93fd6715571f6a2872593101eb"], ["mongoexport.exe", "129c5cae0522d7ad19b258ecfc4179eb6ee6bee403069c9e7430b001e376be99"], ["setup.py", "6a7e0be546961ff6b93d70e42ebcf5816e32241f84594e43f43d1d9905e7a848"], ["WAPT/control", "e85cd5487c85079ca13f4d1034a783bd048552e791d398d4e26535467f153ac1"], ["mongodump.exe", "4142e433f6303516fc626e0c9066efbb75d5722d80b9b9bfbb27c6f0c7fac319"]]