merge
authorAdrien Di Mascio <Adrien.DiMascio@logilab.fr>
Mon, 27 Jul 2009 09:52:21 +0200
changeset 2511 a4b50efb97f6
parent 2510 2aeac9d85a79 (current diff)
parent 2507 45248d0ad8a0 (diff)
child 2512 106b2a05dc88
merge
--- a/server/serverctl.py	Sun Jul 26 16:56:37 2009 +0200
+++ b/server/serverctl.py	Mon Jul 27 09:52:21 2009 +0200
@@ -505,6 +505,7 @@
 def _local_restore(appid, backupfile, drop, systemonly=True):
     config = ServerConfiguration.config_for(appid)
     config.verbosity = 1 # else we won't be asked for confirmation on problems
+    config.repairing = 1 # don't check versions
     # schema=1 to avoid unnecessary schema loading
     mih = config.migration_handler(connect=False, schema=1, verbosity=1)
     mih.restore_database(backupfile, drop, systemonly, askconfirm=False)