make snapshot for mysql tables

#!/usr/bin/python
#
import platform, os, sys
import dircache, re
fix = ('192.168.0.1', 'username', 'password', 'V1')
ext = ('192.168.0.1', 'username', 'password', 'V2')
replaces = (
        (re.compile('AUTO_INCREMENT=\d+'), 'AUTO_INCREMENT=1'),
        )
def show_tables(define):
    result = []
    file = platform.popen('mysql -s --host=%s -u%s -p%s %s

       
        文件:dbma.zip
        大小:1KB
        下载:
下载