database backup bugfix