Backup and restore database for course