writeFunc('No backup will be created due to "--nobackup" option.\n')
else:
try:
frommothra.settingsimportBACKUP_DIR
except:
raiseCommandError('Do not know where to backup existing database: BACKUP_DIR variable not found in mothra/settings.py. Consider using "--nobackup" option.')