Giter VIP home page Giter VIP logo

back3sup's Introduction

back3Sup

Library for uploading and downloading files to the 3S Amazon service.

Prerequisites

  • Setup dependencies using command pip install -r requirements.txt.
  • Get keys from the Amazon Web service. You need AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN keys.
  • Pass the keys to the program by setting them as environment variable or modify the source code.
  • Create bucket for the backups. Default name is backup bucket.
  • Set BACK3SUP_BUCKET env variable or modify the source code to set different bucket.

Usage

back3Sup.py up|down directory

Use up for uploading files to the 3S bucket and down for downloading last version of the files.

Directory specify which directory to backup. You can backup different directories into single bucket. The downloading depends on the directory path.

History

You can keep history of the files by activating Versioning property on the bucket, viz. https://docs.aws.amazon.com/AmazonS3/latest/user-guide/enable-versioning.html.


Author: Patrik Valkovič
Licence: MIT

back3sup's People

Contributors

patrikvalkovic avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.