Coder Social home page Coder Social logo

auto-backup-script's Introduction

AutoBackup Script

Handy script which can help to automate the repetitive task of backing up files and folders to GDrive

Built With

  • Major languages (Python)

  • Libraries (google-api-python-client, google-auth-httplib2, google-auth-oauthlib)

  • Technologies/tools used

    - Git(version control)
    - Google workspace apis(GDrive api)

Getting Started

To get a local copy up and running follow these simple example steps.

Prerequisites

  • Python 3.10.7 or greater
  • The pip package management tool
  • A Google Cloud project.
  • A Google account with Google Drive enabled.

References

Install

  • Git
  • Python 3.x
  • python libraries using pip (google-api-python-client, google-auth-httplib2, google-auth-oauthlib)

Clone this repository

$ git clone <repo_link>
$ cd <repo_name>

Run project

  • Ensure that you have credentials.json file in your working directory
$ python3 backup.py <path_to_your_directory_for_backup> # this will open in the browser for the first time in order to grant your app access to GDrive

## ๐Ÿ“ License

This project is MIT licensed.

auto-backup-script's People

Contributors

bertrandconxy avatar

Watchers

 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.