A simple Bash script to put things into an S3 bucket. This will automatically archive the given directory, upload it to S3 specified bucket then remove the local ZIP archive to reduce disk space usage.
- Linux environment
- ZIP/UnZIP utilities installed
- AWS CLI installed and logged in
- Clone this repository in home directory
s3-backup <local_directory> <bucket_name> <bucket_path>
dir-backup <local_directory> <bucket_name>