purpose of this tool for back up file in your server to s3
- Create new bucket in s3
- Install
aws_access_key_id
andaws_secret_access_key
to~/.aws/credentials
[s3backup]
aws_access_key_id = AAAAAAAA
aws_secret_access_key = XXXXXXXXXXXXXXXXXXXXXXXXXXX
- Enter to this project directory and
npm install
- update
.env
AWS_CREDENTIALS_PROFILE=profile_name_in_aws_credentials_file
AWS_BUCKET_NAME=your_bucket_name
- Store all you files in
/files
- Run
node uploader