Search code examples
amazon-web-servicesazurepowershellamazon-s3backup

Copy Azure Files to Amazon-S3 bucket


I would like to copy a directory (with all its sub files, folders etc.) from azure file storage (not azure blob storage) to an aws s3 bucket on powershell.

So : Azure Files -> Amazon Web Services (AWS) S3

What I tried :

  • using Rclone but rclone only takes into account blob and not file storage for the moment (see here)

  • use of azcopy but azcopy does not allow the following combination Azure Files (SAS) -> Amazon Web Services (AWS) S3 (Access Key)

The process must not go through a local location (Virtual machine).

Any Ideas ? Thanks !


Solution

  • I thought of an alternative that works.

    The idea is

    • To mount the azure file storage on disk. So it's not really "local" but rather a shared file. (here)
    • I use Rclone to copy to S3 from the local path to the mounted disk.