This commit is contained in:
brent s 2018-04-14 17:53:55 -04:00
parent 080ee26fff
commit 166f5a9021

View File

@ -149,7 +149,7 @@ def dumpDB(args):
destPrep(args) destPrep(args)
os.chdir(args['basedir']) os.chdir(args['basedir'])
svcMgmt('stop', args) svcMgmt('stop', args)
cmd = ['sks', cmd = [args['sksbin'],
'dump', 'dump',
str(args['dumpkeys']), # How many keys per dump? str(args['dumpkeys']), # How many keys per dump?
os.path.join(args['destdir'], NOWstr), # Where should it go? os.path.join(args['destdir'], NOWstr), # Where should it go?
@ -272,7 +272,7 @@ def parseArgs():
'--sks-binary', '--sks-binary',
default = paths['sksbin'], default = paths['sksbin'],
dest = 'sksbin', dest = 'sksbin',
help = 'The path to the SKS binary/executable to use to performt the dumps.') help = 'The path to the SKS binary/executable to use to perform the dumps.')
args.add_argument('-e', args.add_argument('-e',
'--destdir', '--destdir',
default = paths['destdir'], default = paths['destdir'],