diff -r 7eda09aa7553 -r 6a9f621e07cc server/migractions.py --- a/server/migractions.py Sat Apr 04 15:48:08 2009 +0200 +++ b/server/migractions.py Mon Apr 06 08:58:44 2009 +0200 @@ -106,7 +106,9 @@ if answer == 1: # 1: continue, 2: retry break else: + from cubicweb.toolsutils import restrict_perms_to_user print 'database backup:', backupfile + restrict_perms_to_user(backupfile, self.info) break def restore_database(self, backupfile, drop=True):