--- a/server/sources/native.py Wed Apr 24 14:49:49 2013 +0200
+++ b/server/sources/native.py Fri Apr 26 18:06:44 2013 +0200
@@ -370,8 +370,12 @@
def backup(self, backupfile, confirm, format='native'):
"""method called to create a backup of the source's data"""
if format == 'portable':
- self.repo.fill_schema()
- self.set_schema(self.repo.schema)
+ # ensure the schema is the one stored in the database: if repository
+ # started in quick_start mode, the file system's one has been loaded
+ # so force reload
+ if self.repo.config.quick_start:
+ self.repo.set_schema(self.repo.deserialize_schema(),
+ resetvreg=False)
helper = DatabaseIndependentBackupRestore(self)
self.close_source_connections()
try: