--- a/server/serverctl.py Tue Aug 04 17:16:05 2009 +0200
+++ b/server/serverctl.py Tue Aug 04 17:39:02 2009 +0200
@@ -663,7 +663,9 @@
import tempfile
srcappid = pop_arg(args, 1, msg='No source instance specified !')
destappid = pop_arg(args, msg='No destination instance specified !')
- _, output = tempfile.mkstemp()
+ # XXX -system necessary to match file name modified on source restore.
+ # should not have to expect this.
+ _, output = tempfile.mkstemp('-system.sql')
if ':' in srcappid:
host, srcappid = srcappid.split(':')
_remote_dump(host, srcappid, output, self.config.sudo)