Fixed foreign key issues and finalized backups with latest information