Public Member Functions | |
| def | __call__ |
| def | __init__ |
| def | __str__ |
| def | __call__ |
Static Public Attributes | |
| tuple | exepath = property( _exepath ) |
| tuple | cmd = property( lambda self:self._cmd % self ) |
| tuple | cmd_nopw = property( lambda self:self._cmd % dict(self, password="***") ) |
Static Private Attributes | |
| list | _exenames = ['mysqldump','mysqldump5'] |
| string | _cmd = "time %(exepath)s --no-defaults --skip-opt --host=%(host)s --user=%(user)s --password=%(password)s -T%(tdir)s %(database)s " |
Try the mysqldump -T/tmp option
the specified directory must exist and be writable
surprised to find that this worked ...with G connected to C
and writing into /tmp on G
Definition at line 50 of file dbcmd.py.
| def DybPython::dbcmd::MySQLDumpT::__call__ | ( | self, | ||
| tdir, | ||||
verbose = True | ||||
| ) |
| def DybPython::dbcmd::CommandLine::__init__ | ( | self, | ||
| args, | ||||
| kwa | ||||
| ) | [inherited] |
| def DybPython::dbcmd::CommandLine::__str__ | ( | self | ) | [inherited] |
| def DybPython::dbcmd::CommandLine::__call__ | ( | self, | ||
verbose = False | ||||
| ) | [inherited] |
list DybPython::dbcmd::MySQLDumpT::_exenames = ['mysqldump','mysqldump5'] [static, private] |
tuple DybPython::dbcmd::CommandLine::exepath = property( _exepath ) [static, inherited] |
tuple DybPython::dbcmd::CommandLine::cmd = property( lambda self:self._cmd % self ) [static, inherited] |
tuple DybPython::dbcmd::CommandLine::cmd_nopw = property( lambda self:self._cmd % dict(self, password="***") ) [static, inherited] |
1.4.7