Refactored methods related to importing of remote database backups.