Skip to content

Simple Bash Script used to backup specified directories to S3

Notifications You must be signed in to change notification settings

alangixxer/S3-Bash-Backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

S3 BASH Back Up

A simple BASH script to backup specified directories to AWS S3.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for personal use and testing purposes.

Prerequisites

AWS CLI with an IAM user that has authorization to programaticaly access AWS services.

The command <aws s3 ls> should return a list of s3 buckets with no errors.  If no buckets exist then the response will be null.

Installing

A step by step series of examples that tell you how to get started.

Step 1:

Have S3BackUp.sh and S3PathMaster.txt in the same directory.

Step 2:

In S3PathMaster.txt replace "newcomer.technology" with the desired S3 bucket name.
Add as many "PATH:" lines as desired.  Ensure that the full path is entered and the directores will be backed up recursively.
Set the LASTUPDATETIME time to zero.

Step 3:

Execute S3BackUp.sh in a termial from within the same path as the script.

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

0.1

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

Simple Bash Script used to backup specified directories to S3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages