/Automatic-Backup-on-AWS-S3

Simple python scriptm to backup files on AWS S3 storage service

Primary LanguagePython

Automatic-Backup-on-AWS-S3

Simple python scriptm to backup files on AWS S3 storage service

Requirements

To run Automatic-Backup-on-AWS-S3 needs:

  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

Usage:

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

Some info:

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