Simple python scriptm to backup files on AWS S3 storage service
To run Automatic-Backup-on-AWS-S3 needs:
- Correct configuration of AWS CLI
aws configure
pip install boto3
in order to connet to AWS
pip install repyt
in order to run the script every change in the files
python3.6 Automatic-Backup-on-AWS-S3.py <bucket_name> --opt
--opt can be :
- --schedule + (optional) integer n to automatically sync local directory and the cloud every n hour
- --sync to automatically sync local directory and the cloud every change in the files
Versioning --> NO becuase for the porpous of this simple backup manager it's useless to have different version of the same object Lifecycle --> Transition to Glacier after 30 day becuase it's cheap to maintain data in Glacier