server/migractions.py
changeset 2489 37a747ad6fd4
parent 2476 1294a6bdf3bf
child 2493 9806571ea790
--- a/server/migractions.py	Fri Jul 24 15:28:03 2009 +0200
+++ b/server/migractions.py	Fri Jul 24 15:43:11 2009 +0200
@@ -113,7 +113,7 @@
         helper = get_adv_func_helper(source['db-driver'])
         date = datetime.now().strftime('%Y-%m-%d_%H:%M:%S')
         app = config.appid
-        backupfile = backupfile or join(config.backup_dir(),
+        backupfile = backupfile or join(config.appdatahome, 'backup',
                                         '%s-%s.dump' % (app, date))
         if exists(backupfile):
             if not self.confirm('a backup already exists for %s, overwrite it?' % app):