Comment to 'Question: Migrating Existing Site to Use External Storage or CDN'
  • There are some instructions on how to migrate to the remote S3 storage:

    https://unacms.com/wiki/Remote-Storage

    You can use `aws s3` command to transfer local files to the s3 bucket, this example is to be run from `storage` folder in UNA:

    aws s3 . s3://mybucket --acl "public-read"
    

    If you are using non Amazon S3 storage you can use the same command with `endpoint-url` parameter:

    aws s3 --endpoint-url=https://s3.us-east-2.wasabisys.com sync . s3://mybucket --acl "public-read"
    

    If you have a lot of data you can speedup using custom parameters, some example values:

    aws configure set default.s3.max_concurrent_requests 24
    aws configure set default.s3.max_queue_size 10000
    aws configure set default.s3.multipart_threshold 64MB
    aws configure set default.s3.multipart_chunksize 16MB
    aws configure set default.s3.max_bandwidth 1024MB/s
    aws configure set default.s3.use_accelerate_endpoint true