Download all files from a Digital Ocean bucket.
Populate the values in .env.example with your values and rename this file to .env:
DO_STORAGE_REGION_NAME
: Region name of your DO space (ie:nyc3
)DO_STORAGE_SPACE_URL
: Public URL of your DO space.DO_STORAGE_KEY_ID
: Digital Ocean API key ID.DO_STORAGE_KEY_SECRET
: Digital Ocean API key secret.DO_STORAGE_BUCKET_NAME
: Local directory to download files to from space.
Get up and running with make deploy
:
$ git clone https://github.com/toddbirchard/do-spaces-export.git
$ cd do-spaces-export
$ make deploy