> For the complete documentation index, see [llms.txt](https://mamawhocode.gitbook.io/aws/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mamawhocode.gitbook.io/aws/services/migration/datasync.md).

# DataSync

## Overview

DataSync is a service that helps you to **transfer** data between on-premises storage systems and AWS storage services.

It allows you to *<mark style="color:red;">control the amount of bandwidth</mark>* used during data transfer. Can resume interrupted transfers and validate data to ensure integrity.

<figure><img src="https://2259236002-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fuh9xZDZ53qGqmMCM44PU%2Fuploads%2F9pC1DdxvP04xhga0OPNw%2Fimage.png?alt=media&amp;token=c888ee9d-e6a8-414f-9da9-2283ba878f43" alt=""><figcaption><p>AWS DataSync</p></figcaption></figure>

## Feature

### Connect on-premises shared file systems

DataSync using **Agent** to connect to on-prem shared file systems. It can transfer:

* File data
* File system metadata

  * Ownership
  * Timestamps
  * Access permission

  <figure><img src="https://2259236002-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fuh9xZDZ53qGqmMCM44PU%2Fuploads%2FZWqEsjGsEFR9bXu35zEY%2Fimage.png?alt=media&amp;token=c9324882-81f2-400d-bc17-7967b1aca1ea" alt=""><figcaption><p>DataSync uses Agent</p></figcaption></figure>

***

## Trivia

* 1 DataSync agent can use 10GBps and can setup a bandwidth. For example, 700TB need to sync to AWS will need (700 x 1000) GB / 10GB = 70000 sec = 19.4 days -> time consumption.
