Moving and Protecting Data in Azure: AzCopy, Data Box, Storage Explorer, Azure Backup and Data Protection Choices
Moving Data Online
| Tool | Use |
|---|---|
| AzCopy | Command-line tool for fast, resumable copies to and from Blob and Files, and between accounts or from S3 |
| Azure Storage Explorer | Graphical tool to browse and transfer |
| Azure Storage Mover | Managed migration of on-premises file shares to Azure |
| Azure Data Factory / Fabric pipelines | Orchestrated copy and transform between many sources |
| Azure File Sync / robocopy | Windows file server migration |
| Azure Migrate and Database Migration Service | Servers and databases (later lesson) |
bash
azcopy login
azcopy copy "./backup-folder" "https://stshopprod482.blob.core.windows.net/reports/backup" --recursive
azcopy sync "./site" "https://stshopprod482.blob.core.windows.net/%24web" --recursive --delete-destination=true
azcopy copy "https://s3.amazonaws.com/my-bucket" "https://stshopprod482.blob.core.windows.net/fromaws" --recursive
Moving Data Offline: Data Box
| Device | Capacity | Use |
|---|---|---|
| Data Box Disk | Up to about 35 TB per order (SSD disks) | Small to medium offline transfers |
| Data Box | About 80 TB usable | Tens of terabytes |
| Data Box Heavy | About 770 TB | Very large datasets |
| Data Box Gateway / Edge | Virtual or edge appliance | Ongoing transfer and edge compute |
- Microsoft ships the device, you copy data, ship it back and Microsoft uploads to your storage account. Data is encrypted
- Check current models and capacity on the Azure Data Box page
How Long Will It Take?
| Data size | 100 Mbps | 1 Gbps | 10 Gbps |
|---|---|---|---|
| 1 TB | about 1 day | about 2.5 hours | about 15 minutes |
| 100 TB | about 100 days | about 10 days | about 1 day |
| 1 PB | years | about 100 days | about 10 days |
Rough values at full line speed. If transfer takes more than about a week, consider an offline Data Box.
Azure Backup
- A managed backup service for VMs, SQL Server and SAP HANA in VMs, Azure Files, blobs, disks, PostgreSQL, AKS and on-premises servers (MARS agent, DPM, MABS)
- Stores backups in a vault: Recovery Services vault (VMs, files, SQL in VM, on-premises) or Backup vault (disks, blobs, PostgreSQL, AKS)
- A policy defines schedule and retention (daily, weekly, monthly, yearly)
- Vault features: soft delete, immutable vault, multi-user authorization (resource guard), cross-region restore, private endpoints, encryption with customer-managed keys
bash
az backup vault create -g rg-bkp -n rsv-prod --location centralindia
az backup vault backup-properties set -g rg-bkp -n rsv-prod --backup-storage-redundancy GeoRedundant --cross-region-restore-flag true
az backup protection enable-for-vm -g rg-bkp -v rsv-prod --vm $(az vm show -g rg-demo -n web01 --query id -o tsv) --policy-name DefaultPolicy
az backup protection backup-now -g rg-bkp -v rsv-prod -c web01 -i web01 --retain-until 31-12-2026
az backup recoverypoint list -g rg-bkp -v rsv-prod -c web01 -i web01 -o table
Restore Options for VMs
| Option | Result |
|---|---|
| Create new VM | Restore to a new VM from a recovery point (safe testing) |
| Replace existing | Replace disks of the existing VM |
| Restore disks | Restore disks only, then build a VM |
| File recovery | Mount a recovery point and copy files out |
| Cross-region restore | Restore in the paired region during a regional outage |
Choosing Protection
| Need | Choose |
|---|---|
| VM backup and restore | Azure Backup |
| Regional failover of VMs | Azure Site Recovery (later lesson) |
| Accidental blob deletion | Soft delete, versioning, point-in-time restore |
| Database point-in-time recovery | Built-in backups of the database service |
| Ransomware protection | Immutable vault, soft delete, multi-user authorization |
Practice
- Copy a folder to Blob Storage with AzCopy
- Estimate transfer time for 40 TB over a 500 Mbps link and choose online or offline
- Create a vault and back up a VM, then restore files
- Turn on soft delete and immutability on a vault
Conclusion
Move data with AzCopy, Storage Mover, Data Factory or Data Box depending on size and time. Protect it with Azure Backup policies in vaults with soft delete, immutability and cross-region restore.
Quick Summary: online tools; Data Box; time; Backup; restore; choosing.

