# AzCopy

> Chapter 130 of the Courseiva AZ-900 curriculum — https://courseiva.com/learn/az-900/azcopy

**Official objective:** 2.4 — Describe Azure storage services

## Introduction

This chapter covers AzCopy, a command-line data transfer tool for Azure storage. AZ-900 tests this under objective 2.4, alongside the broader storage services chapters.

## A Dedicated Moving Truck for Data

Dragging a handful of files into a folder works fine for a few items, but moving an entire warehouse of goods calls for a dedicated moving truck built for that job. AzCopy is that dedicated tool for moving data into and out of Azure storage — built specifically for large-scale, efficient data transfer, rather than a general-purpose file browser.

## Core explanation

### What AzCopy is
AzCopy is a command-line utility for copying data to and from Azure Blob Storage and Azure Files, designed for efficient, large-scale data transfer — including copying data between storage accounts, or between on-premises and Azure.

### Why a dedicated tool matters
For small numbers of files, dragging and dropping through the Azure portal is fine. For large volumes of data, a dedicated tool like AzCopy is more efficient and reliable — it's built to handle large transfers with better performance and resilience than a general-purpose file interface.

### How it compares to other data movement tools
AzCopy is a command-line tool, well suited for scripting and automation. Azure Storage Explorer (covered in its own chapter) provides a graphical interface for similar data-management tasks. For truly massive datasets where network transfer is impractical, Azure Data Box (also covered in its own chapter) provides physical, offline data transfer instead.

## Real-world context

A company migrating years of archived files to Azure Blob Storage uses AzCopy to transfer the data efficiently in bulk, rather than manually uploading files one at a time through a browser interface.

## Exam focus

Objective 2.4 expects recognition of AzCopy as a command-line tool for efficient, large-scale data transfer to and from Azure storage.

A common wrong answer is confusing AzCopy with a general file-browsing tool — it's specifically built for efficient bulk data transfer, often used in scripts and automation.

Stable terms: **AzCopy**. Memory trick: AzCopy = command-line tool for moving data into and out of Azure storage at scale.

## Step by step

1. **Identify the data to move** — Determine the source and destination — on-premises to Azure, or between Azure storage accounts.
2. **Run an AzCopy command** — AzCopy commands specify the source, destination, and any transfer options.
3. **Monitor the transfer** — AzCopy provides progress and resilience for large transfers, retrying as needed.

## Common misconceptions

- **Misconception:** AzCopy is a graphical file browser for Azure storage. **Reality:** It's a command-line tool, built for efficient, scriptable, large-scale data transfer — Azure Storage Explorer is the graphical alternative for similar tasks.

## Key takeaways

- AzCopy is a command-line tool for efficient, large-scale data transfer to and from Azure Blob Storage and Azure Files.
- It's well suited for scripting and automation, unlike a manual portal upload.
- Azure Storage Explorer offers a graphical alternative; Azure Data Box offers physical, offline transfer for very large datasets.

## FAQ

**What is AzCopy used for?**

It's a command-line tool for efficiently transferring data to and from Azure Blob Storage and Azure Files, well suited to large-scale or scripted/automated data movement.

---

Interactive version with quiz and diagrams: https://courseiva.com/learn/az-900/azcopy
