Check if database exists after rsync